| Summary: | www-client/firefox-84.0.2 clang error: failed to run custom build command for `webrender v0.61.0 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | deim <deim> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED TEST-REQUEST | ||
| Severity: | normal | CC: | ionen, jstein |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
build log
emerge --info clang environment for firefox |
||
Created attachment 683275 [details]
emerge --info
Created attachment 683278 [details]
clang environment for firefox
(signal: 4, SIGILL: illegal instruction) I see you have some imposing C(XX)FLAGS that enable/disable many instructions, do you really need to set all this (e.g. cross-compiling/distcc)? If not try something simpler (-march=native -O2), and let's hope nothing else is broken. If they're really needed, may want to verify/simplify with app-misc/resolve-march-native. (In reply to deim from comment #2) > Created attachment 683278 [details] > clang environment for firefox And oh, you are setting clang yourself. The firefox ebuild already does this with USE=clang, you should let it handle it. please test the suggestions and reopen, if the problem remains with standard settings. |
Created attachment 683272 [details] build log Getting this with clang and lto enabled also with 84.0.1-r1: 8312:56.44 Running `/var/tmp/portage/www-client/firefox-84.0.2/work/firefox_build/release/build/webrender-22e8348aef6d6cf4/build-script-build` 8312:56.76 error: failed to run custom build command for `webrender v0.61.0 (/var/tmp/portage/www-client/firefox-84.0.2/work/firefox-84.0.2/gfx/wr/webrender)` 8312:56.76 Caused by: 8312:56.76 process didn't exit successfully: `/var/tmp/portage/www-client/firefox-84.0.2/work/firefox_build/release/build/webrender-22e8348aef6d6cf4/build-script-build` (signal: 4, SIGILL: illegal instruction) 8312:56.81 gmake[4]: *** [/var/tmp/portage/www-client/firefox-84.0.2/work/firefox-84.0.2/config/makefiles/rust.mk:319: force-cargo-library-build] Error 101 8312:56.81 gmake[4]: Leaving directory '/var/tmp/portage/www-client/firefox-84.0.2/work/firefox_build/toolkit/library/rust' 8312:56.81 gmake[3]: *** [/var/tmp/portage/www-client/firefox-84.0.2/work/firefox-84.0.2/config/recurse.mk:72: toolkit/library/rust/target] Error 2 8312:56.81 gmake[3]: *** Waiting for unfinished jobs....