Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 May 2016 22:50:03 +0200
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Mark Millard <markmi@dsl-only.net>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>, FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: 11.0-CURRENT -r300770 libc++ update vs. lang/powerpc64-xtoolchain-gcc: no go [self hosted powerpc64 context]
Message-ID:  <8FAD594D-4349-4EA7-A712-D3792537FB1D@FreeBSD.org>
In-Reply-To: <95E2A9D6-8E1A-46FB-84FF-60927A6F1CE4@dsl-only.net>
References:  <95E2A9D6-8E1A-46FB-84FF-60927A6F1CE4@dsl-only.net>

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

--Apple-Mail=_F2ECBE1C-F72C-46A2-BFB2-EBAC9E31F8D9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

On 27 May 2016, at 01:53, Mark Millard <markmi@dsl-only.net> wrote:
>=20
> I do buildworld/buildkernel on a powerpc64 targeting itself via =
lang/powerpc64-xtoolchain-gcc (a.k.a. lang/powerpc64-gcc for the most =
part). [Getting that lang/powerpc64-gcc installed for self-hosted use =
does take some work-around activity.] I have buildworld build clang (but =
not use it). [I've been doing this with 11.0-CURRENT for a long time.]
>=20
> Actually I use lang/gcc49 as the "system compiler" and =
lang/powerpc64-gcc as the self-hosting so-called "cross compiler". (I =
later list the src.conf content.) gcc4.2.1 is not installed.
>=20
> Trying to go from:
>=20
>> # uname -apKU
>> FreeBSD FBSDG5C0 11.0-CURRENT FreeBSD 11.0-CURRENT #36 r300531M: Mon =
May 23 20:13:52 PDT 2016     =
root@FBSDG5C0:/usr/obj/xtoolchain/powerpc.powerpc64/usr/src/sys/GENERIC64v=
tsc-NODEBUG  powerpc powerpc64 1100111 1100111
>=20
> (for which -r300531 built and installed fine this way) to -r300777 now =
fails with errors such as:
>=20
>> --- lib/libc++__L ---
>> In file included from =
/usr/src/lib/libc++/../../contrib/libc++/include/iterator:346:0,
>>                 from =
/usr/src/lib/libc++/../../contrib/libc++/include/memory:606,
>>                 from =
/usr/src/lib/libc++/../../contrib/libc++/include/algorithm:628,
>>                 from =
/usr/src/lib/libc++/../../contrib/libc++/src/algorithm.cpp:10:
>> /usr/src/lib/libc++/../../contrib/libc++/include/iosfwd:176:14: =
error: 'mbstate_t' was not declared in this scope
>> typedef fpos<mbstate_t>    streampos;
>>              ^

This is hopefully fixed by r300873 now.  Can you please verify?

-Dimitry


--Apple-Mail=_F2ECBE1C-F72C-46A2-BFB2-EBAC9E31F8D9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

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

iEYEARECAAYFAldIswIACgkQsF6jCi4glqMN6QCeLcfevnjrK4xIuXQT7sZ//0gJ
c7YAoN2zu3s7+Us/rb14dOY5/0s5VkDH
=+Ksh
-----END PGP SIGNATURE-----

--Apple-Mail=_F2ECBE1C-F72C-46A2-BFB2-EBAC9E31F8D9--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8FAD594D-4349-4EA7-A712-D3792537FB1D>