> From: Ard Biesheuvel [mailto:ard.biesheu...@linaro.org] > Sent: Monday, September 14, 2015 7:01 PM > On 14 September 2015 at 12:52, Sharma Bhupesh > <bhupesh.sha...@freescale.com> wrote: > > Hi Experts, > > > > I am trying to build the latest ShellPkg using the edk2/master, but > keep getting the following relocation related errors: > > > > Are you using the latest BaseTools?
Same issue with latest Basetools/master: http://sourceforge.net/p/tianocore/edk2-BaseTools/ci/master/tree/ > > > 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/UefiShellLevel2CommandsL > ib.inf > > > NULL|ShellPkg/Library/UefiShellLevel1CommandsLib/UefiShellLevel1CommandsL > ib.inf > > > NULL|ShellPkg/Library/UefiShellLevel3CommandsLib/UefiShellLevel3CommandsL > ib.inf > > > NULL|ShellPkg/Library/UefiShellDriver1CommandsLib/UefiShellDriver1Command > sLib.inf > > > NULL|ShellPkg/Library/UefiShellDebug1CommandsLib/UefiShellDebug1CommandsL > ib.inf > > > NULL|ShellPkg/Library/UefiShellInstall1CommandsLib/UefiShellInstall1Comma > ndsLib.inf > > > NULL|ShellPkg/Library/UefiShellNetwork1CommandsLib/UefiShellNetwork1Comma > ndsLib.inf > > > HandleParsingLib|ShellPkg/Library/UefiHandleParsingLib/UefiHandleParsingL > ib.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 > > edk2-devel@lists.01.org > > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel