Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2023 13:10:18 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: www/firefox{-esr} depends on llmv13 and not default 15
Message-ID:  <DF659A7A-801E-4EA6-AF17-4ABBC379D5B4@FreeBSD.org>
In-Reply-To: <CAFDf7ULaN0vL=T3hsxOvbX4jZ=o25s65qVnki3SPsXOuOGMKPQ@mail.gmail.com>
References:  <CAFDf7ULaN0vL=T3hsxOvbX4jZ=o25s65qVnki3SPsXOuOGMKPQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_3B315818-0CAC-42FC-A058-E6F11E9FDB40
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 30 Aug 2023, at 11:04, Nuno Teixeira <eduardo@freebsd.org> wrote:
>=20
> bsd.default-versions.mk LLVM is 15 and bsd.gecko.mk is also configured =
to use default version llvm.
>=20
> Can't understand why firefox build still depends on llvm13 or am I =
missing something?

I can't completely follow the twisty maze of Makefiles and included .mk
files, but the root cause seems to be that www/firefox depends on
several wasi ports, namely devel/wasi-libcxx, devel/wasi-libc, and in
particular devel/wasi-compiler-rt13:

BUILD_DEPENDS+=3D =
${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc++abi.a:devel/wasi-lib=
cxx \
                =
${LOCALBASE}/share/wasi-sysroot/lib/wasm32-wasi/libc.a:devel/wasi-libc \
                =
${LOCALBASE}/llvm${LLVM_DEFAULT}/lib/clang/${LLVM_VERSION}/lib/wasi/libcla=
ng_rt.builtins-wasm32.a:devel/wasi-compiler-rt${LLVM_DEFAULT}

The problem is that there *is* no devel/wasi-compiler-rt15 port,
although I heard rumours of it being worked on. But apparently it has
not yet materialized, and neither has corresponding port for llvm16 or
17. It's a pity these can't be included in the regular llvm ports.

As to how the Makefile maze magically changes LLVM_DEFAULT and
LLVM_VERSION, I have no clue, and I don't want to debug the whole ball
of mud. :)

-Dimitry


--Apple-Mail=_3B315818-0CAC-42FC-A058-E6F11E9FDB40
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCZO8jmgAKCRCwXqMKLiCW
o2/DAKChQ5Hkecmje9+VUz0IeWFMEPvFFgCfaoEdXztn4d+TJYNo3aPA0npcgtY=
=NJ/g
-----END PGP SIGNATURE-----

--Apple-Mail=_3B315818-0CAC-42FC-A058-E6F11E9FDB40--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DF659A7A-801E-4EA6-AF17-4ABBC379D5B4>