Re: firefox LTO compile fails
- In reply to: Nuno Teixeira : "firefox LTO compile fails"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 13 Feb 2024 18:18:40 UTC
On 13 Feb 2024, at 15:23, Nuno Teixeira <eduardo@freebsd.org> wrote: > > While I've noticed this happening in 122, I'm re-testing with 123.0_1 > on 14-RELEASE: > > Default options + LTO: > > ld.lld: error: /wrkdirs/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/libbuiltins_static.a(builtins_static-251923731896d9f8.builtins_static.38c192b2a53b4c5e-cgu.0.rcgu.o): > Unknown attribute kin > d (86) (Producer: 'LLVM17.0.6-rust-1.75.0-stable' Reader: 'LLVM 15.0.7') > clang-15: error: linker command failed with exit code 1 (use -v to see > invocation) You can't mix LTO objects from LLVM 15 and 17. Since rust seems to be based on 17 now, the port should switch to building with devel/llvm17 instead of devel/llvm15. But that may be tricky, I am unsure. :) -Dimitry