Running 8 building 10 part2: ctfmerge hangs
Dieter BSD
dieterbsd at gmail.com
Wed Nov 19 23:11:59 UTC 2014
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.
More information about the freebsd-hackers
mailing list