Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2014 17:23:02 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        Brooks Davis <brooks@freebsd.org>, Dimitry Andric <dim@freebsd.org>, "Simon J. Gerraty" <sjg@juniper.net>, Glen Barber <gjb@freebsd.org>, freebsd-current Current <freebsd-current@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>
Subject:   Re: Problems building FreeBSD 9.2 on FreeBSD 10
Message-ID:  <8CD24B0A-DF45-4437-BEBE-8C67B241DE93@bsdimp.com>
In-Reply-To: <CAG=rPVeP32=y3VZgn0MXFPrr8tevL=jOsCow=rvpxRevmvoLqA@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> <690CE378-D7D9-49A6-BC20-13FD540E63A2@FreeBSD.org> <CAG=rPVfanU=FVWPd768_G5NjXRHnUH5o05%2BKwFeLaTQqU3Ux8w@mail.gmail.com> <FC1B2983-4B49-4480-855E-6BD09B148F31@bsdimp.com> <CAG=rPVd5XGz8hfuBtcOuuZp8ND1ssWoTkVNn0Hg6Li_2-NrgcA@mail.gmail.com> <1ED3AC7E-0F74-46A7-BAAA-E30600DC23BB@bsdimp.com> <CAG=rPVeP32=y3VZgn0MXFPrr8tevL=jOsCow=rvpxRevmvoLqA@mail.gmail.com>

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

--Apple-Mail=_F0BC3BDA-EFCA-4C54-A916-813B2D56B280
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=windows-1252


On Jun 23, 2014, at 5:19 PM, Craig Rodrigues <rodrigc@FreeBSD.org> =
wrote:

>=20
>=20
>=20
> On Mon, Jun 23, 2014 at 4:13 PM, Warner Losh <imp@bsdimp.com> wrote:
>=20
> Which bombing out are you seeing (two or three have been sighted in =
this thread)? And is this a nanobsd build, or a straight buildworld?
>=20
> When building FreeNAS, with a hacked the nanobsd=20
> script to does "make make buildworld", and the make.conf which I =
posted, I
> am seeing this:
>=20
> --------------------------------------------------------------
> >>> stage 1.2: bootstrap tools
> --------------------------------------------------------------
> cd /zroot/build/r/freenas2/FreeBSD/src; =
MAKEOBJDIRPREFIX=3D/zroot/build/r/freenas2/os-base/amd64/zroot/build/r/fre=
enas2/FreeBSD/src/tmp  INSTALL=3D"sh =
/zroot/build/r/freenas2/FreeBSD/src/tools/install.sh"  =
PATH=3D/zroot/build/r/freenas2/os-base/amd64/zroot/build/r/freenas2/FreeBS=
D/src/tmp/legacy/usr/sbin:/zroot/build/r/freenas2/os-base/amd64/zroot/buil=
d/r/freenas2/FreeBSD/src/tmp/legacy/usr/bin:/zroot/build/r/freenas2/os-bas=
e/amd64/zroot/build/r/freenas2/FreeBSD/src/tmp/legacy/usr/games:/zroot/bui=
ld/r/freenas2/os-base/amd64/zroot/build/r/freenas2/FreeBSD/src/tmp/legacy/=
bin:/sbin:/bin:/usr/sbin:/usr/bin  =
WORLDTMP=3D/zroot/build/r/freenas2/os-base/amd64/zroot/build/r/freenas2/Fr=
eeBSD/src/tmp  VERSION=3D"9.3-ALPHA"  MAKEFLAGS=3D"-m =
/zroot/build/r/freenas2/FreeBSD/src/tools/build/mk  -j 9 =
.MAKE.LEVEL.ENV=3DMAKELEVEL NO_CLEAN=3D1 SRCCONF=3D/dev/null =
__MAKE_CONF=3D/zroot/build/r/freenas2/os-base/amd64/make.conf.build -m =
/zroot/build/r/freenas2/FreeBSD/src/share/mk TARGET=3Damd64 =
TARGET_ARCH=3Damd64"  COMPILER_TYPE=3Dclang =
/zroot/build/r/freenas2/os-base/amd64/zroot/build/r/freenas2/FreeBSD/src/m=
ake.amd64/make  -f Makefile.inc1  DESTDIR=3D  BOOTSTRAPPING=3D1100022  =
SSP_CFLAGS=3D  -DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT -DWITHOUT_MAN  =
-DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED  -DNO_CPU_CFLAGS -DNO_WARNS =
-DNO_CTF -DEARLY_BUILD bootstrap-tools
> =3D=3D=3D> gnu/usr.bin/gperf (obj,depend,all,install)
> =3D=3D=3D> gnu/usr.bin/gperf/doc (obj)
> =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
>=20
> make[1]: stopped in /zroot/build/r/freenas2/FreeBSD/src
> 1 error
>=20
> make[1]: stopped in /zroot/build/r/freenas2/FreeBSD/src
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
> ERROR: build FAILED; see above or log file here: =
/zroot/build/r/freenas2/os-base/amd64/_.bw
> *** Error code 2
>=20
> Stop.
> make: stopped in /zroot/build/r/freenas2
>=20
>=20
>=20
> =20
>=20
> And I specifically was doing my testing on -current, not 10.x. I =
haven=92t back ported much of anything I=92ve done to the build system, =
and if anybody else has, then it is on them to make it work in the 10.x =
environment. While it has usually worked, 9 on 10 isn=92t in the =
supported matrix we=92ve traditionally had in this project.
>=20
> I reproduced the same problem using a CURRENT build host ( =
11.0-CURRENT FreeBSD 11.0-CURRENT #1 r267305 ).
>=20

I wonder how this could possibly happen on stable-10, since EARLY_BUILD =
is still there to preclude the line being added.

I=92ll have to re-run my test WITHOUT_CLANG. I just used the defaults.

Any chance you can narrow the number of options required to trigger =
this?

Warner


--Apple-Mail=_F0BC3BDA-EFCA-4C54-A916-813B2D56B280
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

iQIcBAEBCgAGBQJTqLbXAAoJEGwc0Sh9sBEA7lMQAJ9HshybIxg07MNoVM/Ybv2C
lcfH8tJuw9rJbk+PA6Yde9glJ9mShr9lZ9dNCFtM7E2xRvFsr7UhYnHsR8tqODrU
vVtVwoI4Kozfi4RJJDD3Y5cMAL/FMwTxreMkNeHU+kfkwHifHHG79v7gW/IH8YGO
N+SbpUyyPFVg9PQkoZPYvwukiuKuchB8WsT46EuLOmB4okLz5hP9DhYG+UUvESDr
DB99LrP9aZSSZyjM94P5bMbb6h77l+4EWgSWIm5fdrR6E/YLgin04mlhcuv0a79+
JDf4dByNnriI/fT9aupUcaZqJqfFBfAi6jbcspwMcX22MaIi8SYz5Tq4UvMH7/8V
bUXfNY4Rjm1pDe8Vxn+7zp3lWXeQW7v0LEd4Qvj5csGRIlzA4JTzox6YNi7dLegU
anu3M51gH6W+1wSMMdhrYej9XN8Zm1paPlFVZNh96DVp6NEY98KT83/nB8SJSREU
vSvFYCbN64IEWACPxgJ/LMAxCXIGPWwSRlkso8GbE5o5zfPM8zQsk3W1lUHQ9Fci
B7t1ggV1kP2z5QbyybqTs56uFxR4xZDhuBVuP7TIFep6lgVU/+oRVsuZISZZiaKX
yenPGx3RHkJ60Tervq51nf1kfrZbdKHqLA9EXo3vEw+alN6cdZPuQboTrypAbiy/
UiI2c6ipDKV0HuRj7kB1
=8VgF
-----END PGP SIGNATURE-----

--Apple-Mail=_F0BC3BDA-EFCA-4C54-A916-813B2D56B280--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8CD24B0A-DF45-4437-BEBE-8C67B241DE93>