Created attachment 868507 [details] compressed build log the target on rpi3 shows: llvm-config --host-target aarch64-unknown-linux-gnu so I unmasked and installed crossdev-99999999 , executed as: crossdev -S -L aarch64-unknown-linux-gnu --ov-output /var/db/repos/local/ * Using LLVM/Clang as cross compiler, experimental! * crossdev version: bc2c2acbc92f2119db9633fd186978265eed8f03 * Host Portage ARCH: amd64 * Host Portage System: x86_64-pc-linux-gnu (i686-pc-linux-gnu x86_64-pc-linux-gnu) * Target Portage ARCH: arm64 * Target System: aarch64-unknown-linux-gnu * Stage: 4 (C/C++ compiler) * USE=multilib: no * Target ABIs: arm64 * compiler-rt: compiler-rt-[latest] * headers: linux-headers-[stable] * libc: glibc-[stable] * CROSSDEV_OVERLAY: /var/db/repos/local/ * PORT_LOGDIR: /var/log/portage * PORTAGE_CONFIGROOT: / * Portage flags: _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ - ~ - _ * Log: /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-clang-crossdev-wrappers.log * Emerging cross_llvm-clang-crossdev-wrappers ... [ ok ] * Log: /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-linux-headers-quick.log * Emerging cross_llvm-linux-headers-quick ... [ ok ] * Log: /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-glibc-headers.log * Emerging cross_llvm-glibc-headers ... * error: glibc failed :( * * If you file a bug, please attach the following logfiles: * /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-info.log * /var/log/portage/cross_llvm-aarch64-unknown-linux-gnu-glibc-headers.log.xz * /var/tmp/portage/cross_llvm-aarch64-unknown-linux-gnu/glibc*/temp/glibc-config.logs.tar.xz full build log is attached
Created attachment 868508 [details] output from emerge --info
It is currently not possible to build glibc with LLVM, so the ebuild is not updated to check for LLVM Crossdev (cross_llvm-*). Should probably add a check to avoid this, will also go into the documentation.
which libc should be used then? musl doesn't work either. can you maybe give me the correct triple for aarch64? will test and report back
musl should work - please file that as a new bug.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac3e1265008b02455c9714b356d36fbbff2c019f commit ac3e1265008b02455c9714b356d36fbbff2c019f Author: Sam James <sam@gentoo.org> AuthorDate: 2023-08-31 01:34:13 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-08-31 01:34:39 +0000 sys-devel/crossdev: add 20230831 Bug: https://bugs.gentoo.org/680652 Closes: https://bugs.gentoo.org/912849 Signed-off-by: Sam James <sam@gentoo.org> sys-devel/crossdev/Manifest | 1 + sys-devel/crossdev/crossdev-20230831.ebuild | 40 +++++++++++++++++++++++++++++ sys-devel/crossdev/crossdev-99999999.ebuild | 3 +-- 3 files changed, 42 insertions(+), 2 deletions(-)