There appears to be a problem with the newly-added VS2022 toolchain. I
only just installed Windows after not using it for quite a while so I
don't know if it's user error, but I get the following failure with
"build -p OvmfPkg\OvmfPkgX64.dsc -a X64 -b RELEASE -t VS2022". Building
with VS2019 works.
I have VS2022 version 17.10.5 installed.
Generating PEIFV FV
##### ['GenFv', '-a',
'd:\\src\\tiano\\edk2\\Build\\OvmfX64\\RELEASE_VS2022\\FV\\Ffs\\PEIFV.inf',
'-o',
'd:\\src\\tiano\\edk2\\Build\\OvmfX64\\RELEASE_VS2022\\FV\\PEIFV.Fv',
'-i', 'd:\\src\\tiano\\edk2\\Build\\OvmfX64\\RELEASE_VS2022\\FV\\PEIFV.inf']
Return Value = 2
GenFv: ERROR 3000: Invalid
PE image Section-Alignment and File-Alignment do not match :
d:\src\tiano\edk2\Build\OvmfX64\RELEASE_VS2022\FV\Ffs\52C05B14-0B98-496c-BC3B-04B50211D680PeiCore\52C05B14-0B98-496c-BC3B-04B50211D680.ffs.
GenFv: ERROR 3000: Invalid
Could not rebase
d:\src\tiano\edk2\Build\OvmfX64\RELEASE_VS2022\FV\Ffs\52C05B14-0B98-496c-BC3B-04B50211D680PeiCore\52C05B14-0B98-496c-BC3B-04B50211D680.ffs.
Not sure if it matters, but since I guess it might be fairly uncommon,
I'm building on a ReFS volume on Windows Server 2022.
--
Rebecca Cran
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#120134): https://edk2.groups.io/g/devel/message/120134
Mute This Topic: https://groups.io/mt/107641140/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-