Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886449 - crossdev target aarch64-unknown-linux-gnu fails to build stage on bare clang
Summary: crossdev target aarch64-unknown-linux-gnu fails to build stage on bare clang
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Cross compilation support
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-17 02:26 UTC by acertig04
Modified: 2022-12-23 22:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
clang crossdev aarch64-unknown-linux-gnu stage1 build log (clang.log.xz,330.11 KB, application/x-xz)
2022-12-17 02:34 UTC, acertig04
Details
emerge info (emerge,6.31 KB, text/plain)
2022-12-17 02:45 UTC, acertig04
Details

Note You need to log in before you can comment on or make changes to this bug.
Description acertig04 2022-12-17 02:26:03 UTC
After playtesting with clang building some targets with crossdev, I found none of them went past stage1. Specifically on aarch64-unknown-linux-gnu, which eventually worked with gcc. Seems like it libcc on /lib but then looks for it in /lib64, which doesnt exist. Attachment contains the stage1 log from crossdev --stable -s4 -t aarch64-unknown-linux-gnu.
Comment 1 acertig04 2022-12-17 02:34:25 UTC
Created attachment 843179 [details]
clang crossdev aarch64-unknown-linux-gnu stage1 build log
Comment 2 immolo 2022-12-17 02:43:00 UTC
After discussing this on IRC there is a possibility this might due to the fix in  https://bugs.gentoo.org/652724#c18 only detecting GCC and not clang as I've run into a similar issue with Musl on MIPS.


I'll highlight the code below:

https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/glibc/glibc-2.36-r5.ebuild#n1406
Comment 3 acertig04 2022-12-17 02:45:52 UTC
Created attachment 843180 [details]
emerge info