Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Mar 2023 16:14:08 +0100
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Jan Beich <jbeich@FreeBSD.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: f2488f960dc8 - main - games/openttd: fix build with LLVM 15 on powerpc*
Message-ID:  <ZBh4QKjfOcPfKl2L@talos>
In-Reply-To: <wn3d-8657-wny@FreeBSD.org>
References:  <202303182058.32IKween067997@gitrepo.freebsd.org> <wn3d-8657-wny@FreeBSD.org>

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

--GojXnrX17ugGaPuF
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Ah, thanks. I will look at more closely.

On 23-03-19 10:03:32, Jan Beich wrote:
> Piotr Kubaj <pkubaj@FreeBSD.org> writes:
>=20
> > The branch main has been updated by pkubaj:
> >
> > URL: https://cgit.FreeBSD.org/ports/commit/?id=3Df2488f960dc89761a6bd51=
a036168f737bb99988
> >
> > commit f2488f960dc89761a6bd51a036168f737bb99988
> > Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
> > AuthorDate: 2023-03-18 20:56:23 +0000
> > Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
> > CommitDate: 2023-03-18 20:58:13 +0000
> >
> >     games/openttd: fix build with LLVM 15 on powerpc*
> >    =20
> >     Use LLVM 16 instead:
> >     Assertion failed: (!KnownValid && "Explicit template arguments?"), =
function AddOverloadedCallCandidate, file /usr/local/poudriere/jails/main-p=
owerpc64le/usr/src/contrib/llvm-project/clang/lib/Sema/SemaOverload.cpp, li=
ne 12672.
> [...]
> > +.if ${ARCH:Mpowerpc*} && ${OSVERSION} > 1400078
> > +USES+=3D		llvm:min=3D16
> > +CC=3D		clang${LLVM_VERSION}
> > +CXX=3D		clang++${LLVM_VERSION}
>=20
> How did you test Clang 16? Clang assertions are only enabled on -CURRENT
> thus don't affect -STABLE, -RELEASE and all devel/llvm* ports. /stable/14
> is scheduled[1] on 2023-05-12 while -CURRENT will switch to Clang 16 in
> a few months.
>=20
> [1] https://www.freebsd.org/releases/14.0R/schedule/
>=20
> diff --git a/games/openttd/Makefile b/games/openttd/Makefile
> index 48a7d231120e..f891e9bf63ba 100644
> --- a/games/openttd/Makefile
> +++ b/games/openttd/Makefile
> @@ -41,8 +41,8 @@ SERVER_VARS=3D		USE_RC_SUBR=3D${PORTNAME}
> =20
>  .include <bsd.port.options.mk>
> =20
> -.if ${ARCH:Mpowerpc*} && ${OSVERSION} > 1400078
> -USES+=3D		llvm:min=3D16
> +.if ${ARCH:Mpowerpc*} && ${_OSRELEASE:M*-CURRENT}
> +USES+=3D		llvm
>  CC=3D		clang${LLVM_VERSION}
>  CXX=3D		clang++${LLVM_VERSION}
>  .else

--GojXnrX17ugGaPuF
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmQYeEAACgkQelmbhSCD
nJ3LlxAAuAkmNgV0HK8hdM3PG2Z6GDPG4zsJd1fLbS7YWz2NNcQcTkKmxD0ilg3u
YjbUiAOHjS306+qhr9XEnQ+0HnLln2qcHG/ku92bs15IbCPrNpceP4k2H7//SIAO
7mhva9X6gV9Sf38kKXtL+YPFnU6tjSWLAFi57ASjAu0IqAPDd3oIPBK4HzMzaRp3
M0Jw6PlJdlEOswPqBw9GlPQYgBr4Z46QgtGuehryQ/3o1t77j/CNqs8vUcoObmre
5c2A37dG+/ZwKUrLmDh2aujvfA5B/ZrwLokhNMYjedBcdQbvmtI7k5BAM1aSltqj
RaLyh8CBdjRYn8aV8vzuwfDgA4FJgOfYuj1KP5ZhRTq8jm21V5why3QU2kzklxVp
b8ZDKZpubtW0LQOsnO8ItiLiazW++cUG5E/M+tdyLib8TSfjGT1HjijmEdbMpXx1
fODJgVd4iqr9UkKksFxJICkRfyhlLdZdkVvpq2lrdHaHulN5ZZHt6A5k/u8GOzxd
DG4unW51GCPtPNN2eroDPzZXPkR2mBtD6AesF6zvACUYFq7tgO9/wKqqlMJvhEzG
FR234xhbadB+/DJ2qHM5fPqG2YlNbf0aAPLsj2WIvXMji2ir6OcKs6TCtCNbIIA3
g3HgqDbHR10PAKhYw+ypliKUEC9lZC9sUQSK0ME3czuvEzkuUoU=
=ZA/P
-----END PGP SIGNATURE-----

--GojXnrX17ugGaPuF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ZBh4QKjfOcPfKl2L>