Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942332 - www-client/firefox-131.0.3 fails to compile with USE="clang"
Summary: www-client/firefox-131.0.3 fails to compile with USE="clang"
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-27 10:05 UTC by Attila Tóth
Modified: 2024-10-29 05:31 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2024-10-27 10:05:07 UTC
24:59.79 ld.lld: error: ../../../../../x86_64-unknown-linux-gnu/release/libbuiltins_static.a(builtins_static-446ac020593e99f6.builtins_static.badaedcd76fe810c-cgu.0.rcgu.o): Invalid attribute group entry (Producer: 'LLVM19.1.2' Reader: 'LLVM 18.1.8')
24:59.80 x86_64-pc-linux-gnu-clang++-18: error: linker command failed with exit code 1 (use -v to see invocation)

Reproducible: Always




Constant struggles with clang-llvm version vs rust vs firefox is _exhausting_.
I know it is a topic, that upstream uses clang, but in the mean time the stuff compiles just fine with USE="-clang" without all the hassles.
Comment 1 Joonas Niilola gentoo-dev 2024-10-29 05:31:18 UTC
I guess you have two rusts installed? If it's constant struggle, you should package.mask the rust you're not using locally (source or -bin).

But maybe this helps for now bug 941878 until someone slots rust properly.