Running 8 building 10 part2: ctfmerge hangs

Dieter BSD dieterbsd at gmail.com
Thu Nov 20 07:22:47 UTC 2014


After thinking about this a bit, it looks like ctfmerge is broken.
8.2 ctfmerge running under 8.2 kernel.  Use a bogus argument and
it complains. (So it *is* running before it goes into a coma.)
But with normal arguments it quickly falls asleep.  Thus it is broken.

But... if I run it under gdb, it says program exited normally:

(gdb) run -v -L VERSION -o kernel.debug.verbose cam.o
Starting program: /new/freebsd/tmp/ctfmerge -v -L VERSION -o
 kernel.debug.verbose cam.o
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New LWP 100342]
(no debugging symbols found)...(no debugging symbols found)...
[New Thread 800e041c0 (LWP 100342)]
[New Thread 800e0ae40 (LWP 100405)]
[Thread 800e0ae40 (LWP 100405) exited]
GFun:     7 SFun:     1 GVar:     4 SVar:     9 T    73 SOU:    76

Program exited normally.
(gdb)

And the kernel file shrank from 117MB to 20MB, so it did something.


More information about the freebsd-hackers mailing list