Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/index.php/Reporting_Bug_Guidelines

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40277 - [ovmf] build fails

Attached to Project: Arch Linux
Opened by Joel Teichroeb (klusark) - Friday, 09 May 2014, 00:34 GMT
Last edited by Thomas Bächler (brain0) - Sunday, 26 October 2014, 23:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

"echo" Symbol renaming not needed for /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/./CustomizedDisplayLibInternal.obj
Symbol renaming not needed for /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/./CustomizedDisplayLibInternal.obj
"/usr/bin/gcc" -g -fshort-wchar -fno-stack-protector -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -Wno-array-bounds -ffunction-sections -fdata-sections -c -include AutoGen.h -DSTRING_ARRAY_NAME=CustomizedDisplayLibStrings -m64 "-DEFIAPI=__attribute__((ms_abi))" -DNO_BUILTIN_VA_FUNCS -mno-red-zone -Wno-address -mcmodel=large -Wno-address -Wno-unused-but-set-variable -DMDEPKG_NDEBUG -mno-mmx -mno-sse -o /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/./AutoGen.obj -I/build/ovmf/src/edk2/MdeModulePkg/Library/CustomizedDisplayLib -I/build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/DEBUG -I/build/ovmf/src/edk2/MdePkg -I/build/ovmf/src/edk2/MdePkg/Include -I/build/ovmf/src/edk2/MdePkg/Include/X64 -I/build/ovmf/src/edk2/MdeModulePkg -I/build/ovmf/src/edk2/MdeModulePkg/Include /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/DEBUG/AutoGen.c
"/usr/bin/ld" -o /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.dll -nostdlib -n -q --gc-sections --script=/build/ovmf/src/edk2/BaseTools/Scripts/gcc4.4-ld-script --entry ReferenceAcpiTable -u ReferenceAcpiTable -m elf_x86_64 /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.obj
"echo" Symbol renaming not needed for /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/./AutoGen.obj
"GenFw" -o /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.acpi -c /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/./Facs.dll
Symbol renaming not needed for /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/./AutoGen.obj
"/usr/bin/ar" -cr /build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/CustomizedDisplayLib.lib @/build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/MdeModulePkg/Library/CustomizedDisplayLib/CustomizedDisplayLib/OUTPUT/object_files.lst
Building ... /build/ovmf/src/edk2/MdeModulePkg/Library/DxeNetLib/DxeNetLib.inf [X64]
GenFw: ERROR 3000: Invalid
Unsupported section alignment.
make: *** [/build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/Facs.acpi] Error 2
GNUmakefile:296: recipe for target '/build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/OvmfPkg/AcpiTables/AcpiTables/OUTPUT/Facs.acpi' failed


build.py...
: error 7000: Failed to execute command
make tbuild [/build/ovmf/src/edk2/Build/OvmfX64/RELEASE_GCC48/X64/OvmfPkg/AcpiTables/AcpiTables]


build.py...
: error F002: Failed to build module
/build/ovmf/src/edk2/OvmfPkg/AcpiTables/AcpiTables.inf [X64, GCC48, RELEASE]

- Failed -
Build end time: 17:33:51, May.08 2014
Build total time: 00:00:25

==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Thomas Bächler (brain0)
Sunday, 26 October 2014, 23:09 GMT
Reason for closing:  Fixed
Comment by Joel Teichroeb (klusark) - Friday, 09 May 2014, 00:38 GMT
refind-efi looks to have the same issue as well.

/build/refind-efi/src/tianocore-udk-2010-svn_build/BaseTools/Source/C/bin/GenFw -e UEFI_DRIVER -o reiserfs_x64.efi reiserfs_x64.dll
GenFw: ERROR 3000: Invalid
Unsupported section alignment.
Make.tiano:95: recipe for target 'reiserfs_x64.efi' failed
Comment by Thomas Bächler (brain0) - Friday, 09 May 2014, 14:03 GMT
This is an issue with the new toolchain. I couldn't find the problem yet.
Comment by Thomas Bächler (brain0) - Sunday, 26 October 2014, 13:27 GMT
This thread details the problem but does not offer a solution: http://sourceforge.net/p/edk2/mailman/message/32624417/

The refind-efi PKGBUILD claims to have a solution, but it does not help.

Loading...