Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Apr 2013 15:18:08 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Olav Gr?n?s Gjerde <olavgg@gmail.com>
Cc:        Brooks Davis <brooks@freebsd.org>, FreeBSD Stable Mailing List <freebsd-stable@freebsd.org>
Subject:   Re: make buildkernel for GENERIC 9-STABLE just hangs, no error
Message-ID:  <20130417201808.GA30819@lor.one-eyed-alien.net>
In-Reply-To: <CALL7tK9vsx45jBw%2B9a3Uvj7Q_W2D3a8DVMEm-HGsD9D40acZ%2BQ@mail.gmail.com>
References:  <CALL7tK9H7%2Bu4oW=SPRLPuQPvUD32CQRG2RYmg%2BuoN0B6Lw2hEQ@mail.gmail.com> <20130417181631.GA29166@lor.one-eyed-alien.net> <CALL7tK-VUmfCHb_8RXJ0fUt642NsMkC6ESjqAY9u-hndzzv=qA@mail.gmail.com> <20130417191812.GA30231@lor.one-eyed-alien.net> <CALL7tK9vsx45jBw%2B9a3Uvj7Q_W2D3a8DVMEm-HGsD9D40acZ%2BQ@mail.gmail.com>

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

--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 <brooks@freebsd.org> 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 <brooks@freebsd.org>
> > 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).<newest>.  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--



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