Skip site navigation (1)Skip section navigation (2)
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/>
References:  <bug-255359-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255359

--- 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+=3Dllvm=3D11 to /etc/make.conf or www/firefox/Makefile.loc=
al.
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255359-21738-c2dqkHX6wP>