Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Feb 2023 16:51:43 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Dima Panov <fluffy@freebsd.org>
Cc:        "src-committers@freebsd.org" <src-committers@FreeBSD.org>, "dev-commits-src-all@freebsd.org" <dev-commits-src-all@FreeBSD.org>, "dev-commits-src-main@freebsd.org" <dev-commits-src-main@FreeBSD.org>
Subject:   Re: git: 4378cc5cfb5c - main - Reapply: <type_traits>: Avoid instantiating a pointer type in std::decay<>
Message-ID:  <BCB22D83-8B07-4D55-A9AF-83ED7B2694DC@FreeBSD.org>
In-Reply-To: <f790ba35-2fec-8aa2-c4eb-2ec8d35738ff@FreeBSD.org>
References:  <202302091628.319GSpbg024064@gitrepo.freebsd.org> <f790ba35-2fec-8aa2-c4eb-2ec8d35738ff@FreeBSD.org>

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

--Apple-Mail=_FA9DCD53-BA1B-4038-9EE0-B42A0122BCE8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 11 Feb 2023, at 16:44, Dima Panov <fluffy@freebsd.org> wrote:
>=20
> This fixes build of devel/boost-libs on amd64/i386 but not on aarch64.
>=20
> Just for note -- your own (from github) test branch with llvm15 =
imported is able to build boost on aarch64 too; so it looks like missed =
something else on import to main tree.
>=20
> On 09.02.2023 19:28, Dimitry Andric wrote:
>> The branch main has been updated by dim:
>> URL: =
https://cgit.FreeBSD.org/src/commit/?id=3D4378cc5cfb5cf928e287c0143efb120d=
5558c4a0
>> commit 4378cc5cfb5cf928e287c0143efb120d5558c4a0
>> Author:     Dimitry Andric <dim@FreeBSD.org>
>> AuthorDate: 2023-02-09 09:33:42 +0000
>> Commit:     Dimitry Andric <dim@FreeBSD.org>
>> CommitDate: 2023-02-09 16:28:32 +0000
>>     Reapply: <type_traits>: Avoid instantiating a pointer type in =
std::decay<>
>>            GCC expands the pointer type in this conditional =
expression even for
>>       template types _Up that are not arrays.  This raises an error =
when
>>       std::decay<> is used with reference types (as is done in LLVM's
>>       sources).  Using add_pointer<> causes GCC to only instantiate a
>>       pointer type for array types.
>>            A similar change to this commit (albeit reworked due to =
upstream
>>       changes) has been merged to libc++ in commit
>>       26068c6e60324ed866a1ca2afb5cb5eb0aaf015b.

Can you point me to a bug report that lists the error(s)?

-Dimitry


--Apple-Mail=_FA9DCD53-BA1B-4038-9EE0-B42A0122BCE8
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

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCY+e5jwAKCRCwXqMKLiCW
o9n1AJ0aP6d5N55d5H/w85T1sxNmiIWTsgCfVIXHeHswKXazHKxKEJ1QKrFe/4U=
=Q4Ut
-----END PGP SIGNATURE-----

--Apple-Mail=_FA9DCD53-BA1B-4038-9EE0-B42A0122BCE8--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BCB22D83-8B07-4D55-A9AF-83ED7B2694DC>