[Bug 255359] www/firefox: Fails to build with LTO enabled after recent update: LLVM ERROR: Broken module found

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Apr 25 00:51:14 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255359

--- Comment #3 from Jan Beich <jbeich at FreeBSD.org> ---
Cross-language LTO likely requires Clang and rustc to use the same LLVM
version. lang/rust at 1.51.0 bundles LLVM 11.0.1, so to use LTO add
DEFAULT_VERSIONS+=llvm=11 to /etc/make.conf or www/firefox/Makefile.local.
However, the next lang/rust update to 1.52.0 (scheduled on 2021-05-06) will
have LLVM 12.0.0.

If LTO is important it needs to be enabled by default to avoid regressions due
to changes in framework, dependencies or Firefox updates.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gecko mailing list