From owner-freebsd-stable@FreeBSD.ORG Wed Apr 17 20:18:04 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9578D793; Wed, 17 Apr 2013 20:18:04 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 5CAC1344; Wed, 17 Apr 2013 20:18:03 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id r3HKI8M3030841; Wed, 17 Apr 2013 15:18:08 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id r3HKI8LM030840; Wed, 17 Apr 2013 15:18:08 -0500 (CDT) (envelope-from brooks) Date: Wed, 17 Apr 2013 15:18:08 -0500 From: Brooks Davis To: Olav Gr?n?s Gjerde Subject: Re: make buildkernel for GENERIC 9-STABLE just hangs, no error Message-ID: <20130417201808.GA30819@lor.one-eyed-alien.net> References: <20130417181631.GA29166@lor.one-eyed-alien.net> <20130417191812.GA30231@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Brooks Davis , FreeBSD Stable Mailing List X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Apr 2013 20:18:04 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Thank you. You might try with this patch applied. It's not the right patch but only in that it's too agressive about building ctfconvert as a cross tool. Index: Makefile.inc1 =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 --- Makefile.inc1 (revision 249590) +++ Makefile.inc1 (working copy) @@ -1114,9 +1114,7 @@ usr.bin/clang/clang-tblgen .endif =20 -.if ${MK_CDDL} !=3D "no" && \ - ${BOOTSTRAPPING} < 800038 && \ - !(${BOOTSTRAPPING} >=3D 700112 && ${BOOTSTRAPPING} < 799999) +.if ${MK_CDDL} !=3D "no" _dtrace_tools=3D cddl/usr.bin/sgsmsg cddl/lib/libctf lib/libelf \ lib/libdwarf cddl/usr.bin/ctfconvert cddl/usr.bin/ctfmerge .endif On Wed, Apr 17, 2013 at 10:09:42PM +0200, Olav Gr?n?s Gjerde wrote: > I will try to upgrade from both of those releases and come back to you wi= th > my results. >=20 > Kind regards, > Olav >=20 >=20 > On Wed, Apr 17, 2013 at 9:18 PM, Brooks Davis wrote: >=20 > > On Wed, Apr 17, 2013 at 08:57:22PM +0200, Olav Gr?n?s Gjerde wrote: > > > It was(sorry) from around 12th June 2012. > > > But I have another system with 8.2-RELEASE that I can upgrade to a co= mmit > > > around 12th June 2012 and then try directly to 9-STABLE(or 8.3 first?= ) if > > > that would be helpful? > > > > It would be helpful if you could first try an upgrade from 8.2-RELEASE. > > It would also be good to know if 8.3-RELEASE builds. If we've got a > > transient issue in the 8.2-STABLE line, we can document it and move on. > > If it persisted through 8.3-STABLE that's more of an issue. > > > > Thanks, > > Brooks > > > > > > > > > > > On Wed, Apr 17, 2013 at 8:16 PM, Brooks Davis > > wrote: > > > > > > > On Wed, Apr 17, 2013 at 09:10:59AM +0200, Olav Gr?n?s Gjerde wrote: > > > > > I have a weird problem while building the GENERIC 9-STABLE kernel. > > After > > > > > around 5 minutes of compile time, the process just hangs on same > > place. > > > > No > > > > > error. I've tried compiling different commits from this week with= the > > > > same > > > > > result. > > > > > > > > > > The part in the buildkernel process that hangs is this: > > > > > MAKE=3Dmake sh /usr/src/sys/conf/newvers.sh GENERIC > > > > > /usr/local/bin/svnversion > > > > > cc -c -O2 -frename-registers -pipe -fno-strict-aliasing -std=3Dc= 99 -g > > > > -Wall > > > > > -Wredundant-decls -Wnested-externs -Wstrict-prototypes > > > > > -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef > > > > > -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs > > > > > -fdiagnostics-show-option -nostdinc -I. -I/usr/src/sys > > > > > -I/usr/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS > > > > -include > > > > > opt_global.h -fno-common -finline-limit=3D8000 --param > > > > inline-unit-growth=3D100 > > > > > --param large-function-growth=3D1000 -fno-omit-frame-pointer > > > > -mcmodel=3Dkernel > > > > > -mno-red-zone -mno-mmx -mno-sse -msoft-float > > > > > -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector > > -Werror > > > > > vers.c > > > > > ctfconvert -L VERSION -g vers.o > > > > > linking kernel.debug > > > > > ctfmerge -L VERSION -g -o kernel.debug ............+ alot of *.o > > > > > > > > > > Any suggestions? > > > > > > > > In the DTrace commit message thread, you mentioned that you were > > > > upgrading from an old 8-STABLE to 9 when you got the hang. Could y= ou > > > > quantify how old that 8-STABLE was/is? If it's pre-8.3 it would be > > > > really helpful if you could upgrade to 8.3 and test that. If that > > works > > > > then I think a note in UPDATING would be sufficient as our historic= al > > > > policy has been to support upgrading to release X.Y from > > > > (X-1).. If it turns out that we need to upgrade to 8.4 we = may > > > > need to consider backing this out for a bit. > > > > > > > > -- Brooks > > > > > > --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFRbwN/XY6L6fI4GtQRAn5bAJ4rASddgUfoSVg141zM4jjriUHbRQCfW+kp Gsr/mjILa4IVlQU+HgysprA= =MR/E -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--