Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 19:48:44 -0400
From:      Glen Barber <gjb@FreeBSD.org>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        freebsd-current Current <freebsd-current@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>, Brooks Davis <brooks@freebsd.org>, Warner Losh <imp@bsdimp.com>, "Simon J. Gerraty" <sjg@juniper.net>
Subject:   Re: Problems building FreeBSD 9.2 on FreeBSD 10
Message-ID:  <20140617234844.GM1248@hub.FreeBSD.org>
In-Reply-To: <CAG=rPVd4evnkJoz1rVeMjP7YNKOW0BWF0MvSrFQ3u2xCiVEtmw@mail.gmail.com>
References:  <CAG=rPVct-HzOksM2KQvPuOdf4zgZo__=Oannh0x%2B_JVHEzQyyw@mail.gmail.com> <CAG=rPVfkGa7=n-TSqcnP574ry0Au2THbqvAZJfKD5OK9a1FBNw@mail.gmail.com> <20140617200551.07542580A1@chaos.localdomain> <CAG=rPVeBgWS=vMGxSmX8O4QWW77XC2mqDgaiNrFsGrzg47UQYQ@mail.gmail.com> <20140617211436.GI1248@hub.FreeBSD.org> <CAG=rPVezMsPCP%2BB1ePw_Mh=Cv6qx07ordsWQ3cF4a_ytLWeCEQ@mail.gmail.com> <CAG=rPVd4evnkJoz1rVeMjP7YNKOW0BWF0MvSrFQ3u2xCiVEtmw@mail.gmail.com>

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

--hmAoQ2KfXDe4pzCq
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jun 17, 2014 at 04:33:11PM -0700, Craig Rodrigues wrote:
> On Tue, Jun 17, 2014 at 2:54 PM, Craig Rodrigues <rodrigc@freebsd.org> wr=
ote:
> > On Tue, Jun 17, 2014 at 2:14 PM, Glen Barber <gjb@freebsd.org> wrote:
> >>
> >> For what it is worth, I'm working around this problem by running:
> >>
> >>     # make make buildworld -jN [...]
> >>
> >> Note the extra 'make', which rather than relying on the bootstrap-tools
> >> to determine which make to build, I am specifically telling it to build
> >> fmake.
> >
> >
> > Nice!  That works!
> > Thanks.
> >
> > --
> > Craig
>=20
>=20
> Oops, that got me a bit farther, but further along, things failed for me =
with:
>=20
> --------------------------------------------------------------
> >>> stage 1.2: bootstrap tools
> --------------------------------------------------------------
> [...]

> >> .depend
> echo gperf: /usr/lib/libstdc++.a >> .depend
> =3D=3D=3D> gnu/usr.bin/gperf/doc (depend)
> make: don't know how to make /usr/lib/libstdc++.a. Stop
> *** [bootstrap-tools] Error code 2
> 1 error
> *** [_bootstrap-tools] Error code 2
> 1 error
> *** [buildworld] Error code 2
> 1 error
>=20
>=20
>=20
> Oh well.

This is because the build is (wrongly) using the host libstdc++ instead
of creating one within the build environment.

I thought this was fixed a while back, but the snapshot builder tracks
head/, not stable/10 now.

A "fix" would be to build the builder userland with WITH_GNUCXX (and
other WITH_FOOs needed for gcc to be a usable compiler again),
coexisting with clang.

Unfortunately...

Glen


--hmAoQ2KfXDe4pzCq
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJToNPcAAoJELls3eqvi17Q5SIP/jU21gOFmqsSxJpKDDy8h+5h
tTIzEhpJ32fwX62WtUXUio18yUifxbTDpKVoUZB0OTh3Ki+dT7iwxmCjgbJjbw9H
4eRwePN98aLz3AAfdwFbkqrB59ypNeQvyQoG2voUxc8N0cJkJTTb3pXviITAwLbJ
kYjT1HYDdxsIMuG3/QFYyNGO1IcU8/vjJc8PsrguwmNz76OfMjk6wOhoqPMwmlZP
QuQcR6Z2KMUbvCX1Chp3GNZRX/EGpg/QWwGpRvGxGiptykTob4A/UAruP+gzCfEX
RN5QbJG43+a0eVYq0iMjRsw0UcJYyRN8ZPEEQcoWBHGYg2ybRWNO5SCwqrgsFRsZ
dXWxrVrST5h3WHjgccEH+NNYhBHn9wmK78sfimgCQgK+W2/XlDx4RZJpYnENtHqo
5czbCpqcmalBWLFDexJXMCOW+AR+j5su1z57x/6wDE4Z0DmM6uIfxdT/lZjrpt/Y
SrQMNH+NLVWvUqPRLrRLCOXRrHilUoydj4oj+sdiQqMRwlCubhakhzApgUL5gAzn
TdCCDo1ylg8C9mtGFQO1LYV8NnmL6mKeL/nTARkacLo/3iaIMoVn208Kp50KsJn/
hhKnLT5BgqzV6kNbsDh14fBpOZ0ZHI6goHoEDkOXsapYb7uQIl6a+Raq3l2GKGt/
TmVhngpMkehWi2ER4fGx
=G1iF
-----END PGP SIGNATURE-----

--hmAoQ2KfXDe4pzCq--



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