Running 8 building 10 part2: ctfmerge hangs

Julian Elischer julian at freebsd.org
Mon Nov 24 16:56:11 UTC 2014


On 11/20/14, 3:22 PM, Dieter BSD wrote:
> 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.
yes there was a period in history when ctfmerge was broken.
there was  afix but you cou;dn;t compile it because ctfmerge had
WITH_CTF=1 in its own build and failed :-)

I forget the fix unfortunately. but it hot me some time back.
there IS  a fix but I can't remember it


>
> 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.
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>
>



More information about the freebsd-hackers mailing list