From owner-freebsd-current@FreeBSD.ORG Tue Jun 17 23:48:48 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from hub.FreeBSD.org (hub.freebsd.org [IPv6:2001:1900:2254:206c::16:88]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 759E3984; Tue, 17 Jun 2014 23:48:47 +0000 (UTC) Date: Tue, 17 Jun 2014 19:48:44 -0400 From: Glen Barber To: Craig Rodrigues Subject: Re: Problems building FreeBSD 9.2 on FreeBSD 10 Message-ID: <20140617234844.GM1248@hub.FreeBSD.org> References: <20140617200551.07542580A1@chaos.localdomain> <20140617211436.GI1248@hub.FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="hmAoQ2KfXDe4pzCq" Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.0-CURRENT amd64 X-SCUD-Definition: Sudden Completely Unexpected Dataloss X-SULE-Definition: Sudden Unexpected Learning Event User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current Current , Marcel Moolenaar , Brooks Davis , Warner Losh , "Simon J. Gerraty" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 23:48:48 -0000 --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 wr= ote: > > On Tue, Jun 17, 2014 at 2:14 PM, Glen Barber 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--