Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 05 May 2021 13:40:04 +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-Eb7tHuKSkf@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 #9 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Evgeniy Khramtsov from comment #8)
I'm unsure if mesa can "just" compile with different LLVM versions than wha=
t it
was released for, as it may be that they depend on specific APIs.

The LLVM_DEFAULT=3D  10 in graphics/mesa-dri/Makefile.common was put there =
on
2020-10-12 here:
https://cgit.freebsd.org/ports/commit/?id=3D57ce68a0c0cab56c3d08120e6f55c11=
a8c248f06

Note that it says "=3D" not "?=3D" which must be for a reason. :)

In any case, I can at least confirm that LTO works fine for www/firefox, if=
 I
set DEFAULT_VERSIONS+=3Dllvm=3D11.

I think it would be handy if in general the LLVM versions for firefox and r=
ust
are kept the same?

--=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-Eb7tHuKSkf>