[Bug 268328] www/firefox fails to build with LTO enabled
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 268328] www/firefox fails to build with LTO enabled"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 01 Aug 2024 15:34:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268328 --- Comment #11 from Nuno Teixeira <eduardo@FreeBSD.org> --- (In reply to Charlie Li from comment #9) Hello Charlie, > You must use the same LLVM version (from ports) building the C/C++ bits as the > LLVM in Rust. Right now you are indicating a version mismatch: port LLVM 17 > and Rust LLVM 18. llvm default is 15 and gecko is defined as 17 minimum so that why most people get 17 (toguether with 15) when building firefox. Changing gecko llvm to 18 should fix issue or change llvm default to 18 as I'm doing here. Maybe LTO option should alert user about rust/llvm relation and /or depend on right llvm? Thanks -- You are receiving this mail because: You are the assignee for the bug.