Summary: | www-client/firefox-119.0.1 building on musl: x86_64-gentoo-linux-musl-ld.lld: error: unknown argument '--real-linker' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | topological-automata <safeguard_502> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log copied from the gist |
Description
topological-automata
2023-11-10 19:46:39 UTC
Created attachment 874488 [details]
emerge --info
here's the actual build.log: I had to use a github gist because it was too big and compression did not help https://gist.github.com/formula-spectre/dcccdf6a89aec88ef2d5c14d1526c689 This came from #gentoo. A bit extra info we collected. Shortly before the failing call `build/unix/elfhack/x86_64-gentoo-linux-musl-ld.lld` was build. The failing call contains: > -Wl,--real-linker,/usr/bin/x86_64-gentoo-linux-musl-ld.lld > -fuse-ld=lld Set in the configure phase is: > --with-toolchain-prefix=x86_64-gentoo-linux-musl- From this we had the user run > # /var/tmp/notmpfs/portage/www-client/firefox-119.0.1/work/firefox_build/build/unix/elfhack/x86_64-gentoo-linux-musl-ld.lld --real-linker,/usr/bin/x86_64-gentoo-linux-musl-ld.lld > could not determine output file > > # /usr/bin/x86_64-gentoo-linux-musl-ld.lld --real-linker,/usr/bin/x86_64-gentoo-linux-musl-ld.lld > /usr/bin says x86_64-gentoo-linux-musl-ld.lld: error: unknown argument '--real-linker,/usr/bin/x86_64-gentoo-linux-musl-ld.lld' Which suggests build/unix/elfhack/x86_64-gentoo-linux-musl-ld.lld is never called and instead the system ld.lld is used, maybe due to the toolchain-prefix. We are waiting on a call with LDFLAGS="-Wl,-O1 -Wl,--as-needed -v" to confirm. Created attachment 874492 [details]
build.log copied from the gist
hey sorry for the delayed response, but even though i've CCed me, and in my settings I have all kind of emails enabled, i do not get emails when someone comments. I invoke your mercy! https://gist.github.com/formula-spectre/2312507bbb6895408a8c4fd85faafae9 this is the build.log with `LDFLAGS="-Wl,-O1 -Wl,--as-needed -v"` what I did was: ``` export LDFLAGS="-Wl,-O1 -Wl,--as-needed -v" emerge firefox ``` hope I did the right thing! and again, sorry! i'll try to get the email thing fixed asap. OT but is there someone I can contact for this? |