Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Jul 2014 11:16:32 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        sbruno@freebsd.org
Cc:        freebsd-arch <freebsd-arch@freebsd.org>
Subject:   Re: Total confusion over toolchain/xdev behavior
Message-ID:  <B96EB5EC-A078-4CDE-AB30-CF7FD05D1287@bsdimp.com>
In-Reply-To: <1404835471.1662.13.camel@bruno>
References:  <1404688077.1059.115.camel@bruno> <1404766292.65432.43.camel@revolution.hippie.lan> <20B72004-1499-4F99-A7C7-13173C50C7C6@bsdimp.com> <1404831829.1662.7.camel@bruno> <1404835471.1662.13.camel@bruno>

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

--Apple-Mail=_8329BE43-0487-4FB3-93BD-6CADD4FFA9A7
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-7


On Jul 8, 2014, at 10:04 AM, Sean Bruno <sbruno@ignoranthack.me> wrote:

> On Tue, 2014-07-08 at 08:03 -0700, Sean Bruno wrote:
>>> Sean, can you see if this works for you now? And sorry about the
>> cumbersome options. Those are in line to get fixed, but I wanna fix
>> the build-in-tree issues first (which, alas, are harder than you=A2d
>> think). I suspect that bapt=A2s src.opts.mk diffs are likely good
>> candidates to be used committed too, but the above works w/o it. =
Also,
>> I just built the binaries, I didn=A2t see if they worked.
>>>=20
>>> Warner=20
>=20
> Ok, it seems like we've come full circle.  :-)  I'm once again back at
> include failures, for libstdc++:
>=20
> make -s xdev MAKEOBJDIRPREFIX=3D/var/tmp XDDESTDIR=3D/var/tmp/mips_cc
> XDEV=3Dmips XDEV_ARCH=3Dmips WITHOUT_CLANG=3Dt =
WITHOUT_CLANG_BOOTSTRAP=3Dt
> WITH_GCC=3Dt WITH_GCC_BOOTSTRAP=3Dt WITH_GNUCXX=3Dt
> ...
> =3D=3D=3D> secure/lib/libssl (obj,depend,all,install)
> =3D=3D=3D> gnu/lib/libstdc++ (obj,depend,all,install)
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/bitmap_allocator.h:37:54: error: cstddef: No such file =
or
> directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:38,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/bits/functexcept.h:41:28: error: bits/c++config.h: No such
> file or directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/bitmap_allocator.h:39:37: error: utility: No such file =
or
> directory
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/bitmap_allocator.h:40:60: error: functional: No such =
file
> or directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:43,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/concurrence.h:39:19: error: cstdlib: No such file or
> directory
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/ext/concurrence.h:41:24: error: bits/gthr.h: No such file =
or
> directory
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:38,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/include/bits/functexcept.h:44: error: expected constructor,
> destructor, or type conversion before '(' token
> In file included from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/libsupc++/new:45,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/include/ext/bitmap_allocator.h:41,
>                 from /home/sbruno/fbsd_head/gnu/lib/libstdc
> ++/../../../contrib/libstdc++/src/bitmap_allocator.cc:30:
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/libsupc++/exception:40: error: '#pragma' is not allowed here
> /home/sbruno/fbsd_head/gnu/lib/libstdc++/../../../contrib/libstdc
> ++/libsupc++/exception:133: error: expected declaration before end of
> line
> *** Error code 1
>=20
> Stop.
> make[4]: stopped in /home/sbruno/fbsd_head/gnu/lib/libstdc++
> *** Error code 1

Does it work if you add WITHOUT_CXX=3Dt to the mix?

Warner


--Apple-Mail=_8329BE43-0487-4FB3-93BD-6CADD4FFA9A7
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-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJTvCdwAAoJEGwc0Sh9sBEAJGwP/j+Fy15MxmOQl6rJXFvtFm0m
TYmwu5DaaHRqGbWyzjSwDKmcur1BiXtF1VUS9xZoCrnB/7qHAQuB8LNDtRvyuo2T
V5jb5eYxyYUMuKkiV9JnWNbILOrytq9RZ/9ISyQlDNkTaAUZyA+BLZE8BHrLBBYP
VjGspFKYOOlFQZI6SBwlq+0iO7utuYpJTaJTDwz0y03GyYiZMpYhDHN1AkZHIgTN
tNYxOr6jD16w+JM5jH0FGqU2vF5s9VgWN+KVtJqzTfJuQJ/blNnexZ0QB1EXQH/o
J7CtZBwpsBTZILPEw77za1krv9ag4h8namlE3n4VthtH3jcLnko2QcIH43YiwJlH
PlLAXhJlc17Zu6euokP/6pLx1YUJ73EzTlN9/66g86J4m9bd6H/kJf9wuF81JG7P
7OPK9z05Lds0QrXTQFqxkH6JcehscsIR2qoeRp2E9fE66gQhh8svrBOyvzR6RlmB
zLNfb/6Wtdfje0akwkp2nfyP8EToCm8O4G5n9BzCBp6c8H7be+pEXl65wmV0WsqZ
U/ROfOxsQrja2mQOpCD5isZPLO+dUr6Vl8zJ/imveoysEXIiCEW4QwyzWV1MN3rg
EcHQpFJBLxZ10a/zLEFXlasS8DlUi5QS5wRRf6O5Za8OQGw6mQCz5m3DSqwxL6hY
U1K8TqlmAVVXn/ifc3P7
=dgmW
-----END PGP SIGNATURE-----

--Apple-Mail=_8329BE43-0487-4FB3-93BD-6CADD4FFA9A7--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B96EB5EC-A078-4CDE-AB30-CF7FD05D1287>