Summary: | www-client/firefox-91.4.0: firefox_build/dist/system_wrappers/new:3:15: fatal error: 'new' file not found | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Felix Janda <felix.janda> |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | musl |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge --info
build.log |
Description
Felix Janda
2021-12-13 02:45:22 UTC
Created attachment 758731 [details]
emerge --info
Created attachment 758732 [details]
build.log
Doing some more digging, the problem in the failing clang command seems to be the "--target=x86_64-unknown-linux-musl", which should be "--target=x86_64-gentoo-linux-musl". clang++ --target=x86_64-unknown-linux-musl test.cpp for test.cpp containing only "#include_next <new>" reproduces the error (for both clang-13.0.0 and clang-12.0.1). enable default_libcxx will workaround your issue at the moment, we have diagnosed this several times on #gentoo-hardened. Enabling default-libcxx for sys-devel/clang allowed firefox to compile, thanks. |