Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2024 19:18:40 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: firefox LTO compile fails
Message-ID:  <D4F55A2B-6424-4A07-85B3-DFD64846B625@FreeBSD.org>
In-Reply-To: <CAFDf7ULam%2BjZBv9%2BTkE79=qiwKLK9Cs8SbM_8%2BJxQ4QTECxRKA@mail.gmail.com>
References:  <CAFDf7ULam%2BjZBv9%2BTkE79=qiwKLK9Cs8SbM_8%2BJxQ4QTECxRKA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13 Feb 2024, at 15:23, Nuno Teixeira <eduardo@freebsd.org> wrote:
>=20
> While I've noticed this happening in 122, I'm re-testing with 123.0_1
> on 14-RELEASE:
>=20
> Default options + LTO:
>=20
> ld.lld: error: =
/wrkdirs/usr/ports/www/firefox/work/.build/x86_64-unknown-freebsd/release/=
libbuiltins_static.a(builtins_static-251923731896d9f8.builtins_static.38c1=
92b2a53b4c5e-cgu.0.rcgu.o):
> Unknown attribute kin
> d (86) (Producer: 'LLVM17.0.6-rust-1.75.0-stable' Reader: 'LLVM =
15.0.7')
> clang-15: error: linker command failed with exit code 1 (use -v to see
> invocation)

You can't mix LTO objects from LLVM 15 and 17. Since rust seems to be =
based on 17 now, the port should switch to building with devel/llvm17 =
instead of devel/llvm15. But that may be tricky, I am unsure. :)

-Dimitry




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D4F55A2B-6424-4A07-85B3-DFD64846B625>