Hi Experts,
I am trying to build the latest ShellPkg using the edk2/master, but keep
getting the following relocation related errors:
Build Environment Details:
--------------------------
Build environment: Linux-3.8.0-29-generic-i686-with-Ubuntu-12.04-precise
Architecture(s) = AARCH64
Build target = DEBUG
Toolchain = GCC48
Toolchain used:
---------------
gcc-linaro-aarch64-linux-gnu-4.8-2014.04_linux
Error Logs:
-----------
WriteRelocations64():
/../DEBUG_GCC48/AARCH64/ShellPkg/Application/Shell/Shell/DEBUG/Shell.dll
unsupported ELF EM_AARCH64 relocation R_AARCH64_ADD_ABS_LO12_NC.
GenFw: ERROR 3000: Invalid
WriteRelocations64():
/../DEBUG_GCC48/AARCH64/ShellPkg/Application/Shell/Shell/DEBUG/Shell.dll
unsupported ELF EM_AARCH64 relocation R_AARCH64_ADR_PREL_PG_HI21.
GenFw: ERROR 3000: Invalid
build.py...
: error 7000: Failed to execute command
make tbuild [/../DEBUG_GCC48/AARCH64/ShellPkg/Application/Shell/Shell]
build.py...
: error F002: Failed to build module
/../ShellPkg/Application/Shell/Shell.inf [AARCH64, GCC48, DEBUG]
Shell.inf invocation in .dsc file:
----------------------------------
ShellPkg/Application/Shell/Shell.inf {
<LibraryClasses>
ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf
NULL|ShellPkg/Library/UefiShellLevel2CommandsLib/UefiShellLevel2CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsLib.inf
NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1CommandsLib.inf
NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1CommandsLib.inf
HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingLib.inf
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
ShellLib|ShellPkg/Library/UefiShellLib/UefiShellLib.inf
SortLib|MdeModulePkg/Library/UefiSortLib/UefiSortLib.inf
PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf
}
Any other platform (like OVMF) hitting the same issue?
Regards,
Bhupesh
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel