Il 10/03/24 15:08, Peter Humphrey ha scritto:
On Sunday, 10 March 2024 07:17:27 GMT Walter Dnes wrote:

   So there are at least 2 people who've found out that Firefox can and
*MUST* be built with USE="-clang".
Ah. I'll change my USE flag straight away.

Thanks Walter.

This got me wondering, here I don't have clang in my make.config. The main packages using it are:

[I] www-client/firefox
     Installed versions:  123.0.1(rapid)(21:16:32 03/06/24)(X clang ...

[I] mail-client/thunderbird
     Installed versions:  115.8.1(21:14:19 03/07/24)(X clang ...

[I] app-office/libreoffice
     Installed versions:  7.6.5.2^t(21:42:53 03/06/24)(... -clang ...

libreoffice sees it unset because it is not present in the global uses. firefox and thunderbird instead set it in the ebuild:

$ grep clang /var/db/repos/gentoo/www-client/firefox/firefox-123.0.ebuild
IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"

$ grep clang /var/db/repos/gentoo/mail-client/thunderbird/thunderbird-115.8.1.ebuild
IUSE="+clang cpu_flags_arm_neon dbus debug eme-free hardened hwaccel"

Both packages have no issues here with +clang. Given the warning message reported by Peter ("Enable USE=clang unless you have a very good reason not to.") and the fact that gentoo developers decided to switch it on specifically for these packages it would probably be a better idea to file a bugzilla rather than forcing the use of GCC, which might fix the issue now but lead to problems later. As usual, YMMV.

raf


Reply via email to