[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
Wed May 5 13:40:04 UTC 2021


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

--- Comment #9 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Evgeniy Khramtsov from comment #8)
I'm unsure if mesa can "just" compile with different LLVM versions than what it
was released for, as it may be that they depend on specific APIs.

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

Note that it says "=" not "?=" 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+=llvm=11.

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

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


More information about the freebsd-gecko mailing list