You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In #577 support was added for Linux aarch64, however, the GCC binary name used was aarch64-linux-gnu-gcc rather than the MUSL variant (in this case aarch64-linux-musl-gcc) used by all of the other target/host combinations:
edmorley
changed the title
libcnb-package: Incorrect GCC binary used for target aarch64_unknown_linux_musl
Cross-compilation assistence: Incorrect GCC binary used for target aarch64_unknown_linux_muslNov 9, 2023
Checking an ARM64 Ubuntu 22.04 image with musl-tools installed, I see that aarch64-linux-musl-gcc does exist, and that it does differ from aarch64-linux-gnu-gcc - which confirms my belief that we should be using the former instead.
The gnu variant is simply a symlink to standard GCC:
root@5d2e9841af3b:/# ls -al /usr/bin/aarch64-linux-gnu-gcc
lrwxrwxrwx 1 root root 6 Aug 5 2021 /usr/bin/aarch64-linux-gnu-gcc -> gcc-11
edmorley
changed the title
Cross-compilation assistence: Incorrect GCC binary used for target aarch64_unknown_linux_musl
Cross-compilation assistence: Incorrect GCC binary used on Linux for target aarch64_unknown_linux_muslNov 9, 2023
edmorley
changed the title
Cross-compilation assistence: Incorrect GCC binary used on Linux for target aarch64_unknown_linux_musl
Cross-compilation assistance: Incorrect GCC binary used on Linux for target aarch64_unknown_linux_muslNov 9, 2023
edmorley
changed the title
Cross-compilation assistance: Incorrect GCC binary used on Linux for target aarch64_unknown_linux_musl
Cross-compilation assistance: Some architecture/target combinations use the GNU GCC binary instead of the MUSL one
Feb 8, 2024
In #577 support was added for Linux aarch64, however, the GCC binary name used was
aarch64-linux-gnu-gcc
rather than the MUSL variant (in this caseaarch64-linux-musl-gcc
) used by all of the other target/host combinations:libcnb.rs/libcnb-package/src/cross_compile.rs
Line 64 in 4ec39b6
I believe this is an unintentional bug. (If instead there is a reason for it, it needs to have a comment added.)
The text was updated successfully, but these errors were encountered: