Date: Sun, 19 Feb 2023 19:01:07 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269664 --- Comment #5 from Oleg Sidorkin <firstname.lastname@example.org> --- (In reply to Soe Tun from comment #4) Does firefox builds fine with LTO disabled? Long story is: AFAIK, when LTO is enabled LLVM adds extra segment with bytecode to object files. This segments are collected by linker and then linker compiles the binary by looking at all bytecode. Rust compiler is built on top of LLVM that is part of rust package. Rust develpers update LLVM quite often. Current rust in ports is probably built on top of LLVM 15. In your case firefox was built with LLVM 13 (that's due to various wasm libraries dependencies). So Rust-compiled files have bytecode segments built by LLVM15, but linker is from LLVM13. And linker doesn't understand some specific instructions that were added after LLVM13 release. -- You are receiving this mail because: You are the assignee for the bug.