Date: Wed, 19 Nov 2014 16:47:28 -0700 From: Ian Lepore <ian@FreeBSD.org> To: Dieter BSD <dieterbsd@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Running 8 building 10 part2: ctfmerge hangs Message-ID: <1416440848.1147.156.camel@revolution.hippie.lan> In-Reply-To: <CAA3ZYrDaC_61oFpqvg7z980m5RP17n4i7pDF7OmmaPd9FtCWsw@mail.gmail.com> References: <CAA3ZYrDaC_61oFpqvg7z980m5RP17n4i7pDF7OmmaPd9FtCWsw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2014-11-19 at 15:11 -0800, Dieter BSD wrote: > amd64 running 8.2 > Attempting to build 10.1 kernel in chroot > I copied 8.2's /bin/sh to the chroot to avoid F_DUPFD_CLOEXEC problem. > cd /usr/src [ in chroot ] > nice -20 make buildkernel KERNCONF=GENERIC >> $LOGFILE 2>&1 > > It grinds away awhile, then ctfmerge hangs. > > End of logfile: > ctfconvert -L VERSION -g vers.o > linking kernel.debug > ctfmerge -L VERSION -g -o kernel.debug locore.o [ ...] hack.So vers.o > > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > root 10007 0.0 0.1 23224 4580 10 IN+ 11:25AM 0:00.07 [ctfmerge] > > -rwxr-xr-x 1 root wheel 117461957 Nov 19 11:25 kernel.debug > > It is now 12:12pm. > > The machine is otherwise idle. > > Copied the 8.2 ctfmerge to the chroot, added -v and removed most of > the arguments, and it still hangs. > > cd /usr/obj/usr/src/sys/GENERIC > VERSION="FreeBSD 10.1-RELEASE amd64 1001000" > /tmp/ctfmerge -v -L VERSION -o kernel.debug.verbose cam.o > > Added a bunch of debugging printfs to ctfmerge.c, but trapped in > header file hell trying to get it to compile. There may be no path to success from 8.2. I have a vague memory that a colleague at work starting running into problems like this (ctfmerge was one of them I think), and we played with things for a few hours (WITHOUT_CTF in make.conf only got us on to a new problem). Eventually we gave up and updated his machine to 8.4. That was for building 11-current but it may apply to 10 as well. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1416440848.1147.156.camel>