-
Notifications
You must be signed in to change notification settings - Fork 4
Build error #5
Comments
Could you please provide more information? Build environment, toolchain, etc. |
Linux deploy debian arm64 chroot |
Hi I'm getting another error on Ubuntu 20.04. Any idea how to find where is the issue? (edk2-sdm845 building successfully) bash build.sh WORKSPACE = /home/adam/git/edk2-sm7150 Processing meta-data .Architecture(s) = AARCH64 Active Platform = /home/adam/git/edk2-sm7150/F11/F11.dsc
|
. |
Update: |
It's the same here. This edk2 was compiled successfully on an aarch64 server when I pushed those commits. However, on x86_64 platform it wouldn't compile, with no error messages. Haven't figured out what's wrong yet :P |
I did a new clone of your repo on Ubuntu x86_64 add aarch64-linux-gnu- to GCC5_AARCH64_PREFIX in build.sh and compiling stared, but fail on another error. At last there is an error message this time 😀
|
Maybe reverting the commit that enabled SimpleInit would help, I assume? |
Hi @MollySophia fixed compilation issues on x86_64 platform https://github.com/adamnickster/edk2-sm7150/commits/master |
@adamnickster Thanks a lot for your efforts, but it's still the same on my x86 machines (ubuntu 22.04 vm, ubuntu wsl2, archlinux x86_64) with no error messages unfortunately. |
@MollySophia Could you try with a clean state? Without submodules(let build script to retrieve and build them) and without existing edk2 folders one level up. Thanks |
Still the same. |
@MollySophia I created fresh install of Ubuntu 20.04 and 22.04 in VirtualBox install system updates and run these commands: everything is fine in both versions |
bash build.sh
EDK2 Path: /root/edk2-sm7150/edk2
EDK2_PLATFORMS Path: /root/edk2-sm7150/edk2-platforms
Loading previous configuration from /root/edk2-sm7150/edk2/Conf/BuildEnv.sh
Using EDK2 in-source Basetools
WORKSPACE: /root/edk2-sm7150
EDK_TOOLS_PATH: /root/edk2-sm7150/edk2/BaseTools
CONF_PATH: /root/edk2-sm7150/edk2/Conf
/usr/bin/ld: cannot find -lgcc_s
/usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x0): multiple definition of
_binary__usr_lib_gcc_aarch64_linux_gnu_8_libgcc_a_start'; /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x0): first defined here /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x2a038): multiple definition of
_binary__usr_lib_gcc_aarch64_linux_gnu_8_libgcc_a_end'; /usr/lib/gcc/aarch64-linux-gnu/8/libgcc.a:(.data+0x2a038): first defined here/usr/bin/ld: cannot find -lgcc_s
collect2: error: ld returned 1 exit status
The text was updated successfully, but these errors were encountered: