Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 15:11:58 -0800
From:      Dieter BSD <dieterbsd@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Running 8 building 10 part2: ctfmerge hangs
Message-ID:  <CAA3ZYrDaC_61oFpqvg7z980m5RP17n4i7pDF7OmmaPd9FtCWsw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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.



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