Running 8 building 10 part2: ctfmerge hangs
Ian Lepore
ian at FreeBSD.org
Wed Nov 19 23:47:32 UTC 2014
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
More information about the freebsd-hackers
mailing list