Hi,
Can you try to reproduce this:
Checkout 9-stable's src/sbin/sysctl only.
cd /usr/9-stable/src/sbin/sysctl
env CC=clang make clean all
./sysctl -n hw.ncpu
Then:
env CC=gcc make clean all
./sysctl -n hw.ncpu
clang --version
FreeBSD clang version 3.2 (tags/RELEASE_32/final 170710) 20121221
Target: x86_64-unknown-freebsd9.1
Thread model: posix
gcc --version
gcc (GCC) 4.2.1 20070831 patched [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
....
When compiling the code with clang, no output is happening. When
compiling with gcc, the FreeBSD 9-stable sysctl operates correctly. How
do we proceed?
Can more people check this and reproduce?
When compiling the -10 and -11 version of sysctl with clang and gcc,
everything is fine!
Thank you!
--HPS
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"