I experimented some more and found something even more funny: A sysctl binary copied over from a FreeBSD 5.5 machine works (the FreeBSD 6 box with the segfaulting sysctl has the 5.x compat libraries installed).
So I tried recompiling libc with debug cflags ("-g3 -O -pipe"), but this only makes the backtrace in gdb much longer, but still without any function names. -- ,_, | Michael Nottebrock | [EMAIL PROTECTED] (/^ ^\) | FreeBSD - The Power to Serve | http://www.freebsd.org \u/ | K Desktop Environment on FreeBSD | http://freebsd.kde.org
pgp5J1t6Ustx3.pgp
Description: PGP signature