Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 Aug 2024 15:34:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 268328] www/firefox fails to build with LTO enabled
Message-ID:  <bug-268328-21738-Bf1qEUPkAE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-268328-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-268328-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=3D268328

--- Comment #11 from Nuno Teixeira <eduardo@FreeBSD.org> ---
(In reply to Charlie Li from comment #9)

Hello Charlie,

> You must use the same LLVM version (from ports) building the C/C++ bits a=
s the
> LLVM in Rust. Right now you are indicating a version mismatch: port LLVM =
17
> and Rust LLVM 18.

llvm default is 15 and gecko is defined as 17 minimum so that why most peop=
le
get 17 (toguether with 15) when building firefox.

Changing gecko llvm to 18 should fix issue or change llvm default to 18 as =
I'm
doing here.

Maybe LTO option should alert user about rust/llvm relation and /or depend =
on
right llvm?

Thanks

--=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-268328-21738-Bf1qEUPkAE>