Date: Sun, 25 Apr 2021 00:51:13 +0000 From: bugzilla-noreply@freebsd.org To: gecko@FreeBSD.org Subject: [Bug 255359] www/firefox: Fails to build with LTO enabled after recent update: LLVM ERROR: Broken module found Message-ID: <bug-255359-21738-c2dqkHX6wP@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-255359-21738@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255359 --- Comment #3 from Jan Beich <jbeich@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.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255359-21738-c2dqkHX6wP>
