r268244 (stable/9) seems to break "sysctl hw.ncpu"

David Wolfskill david at catwhisker.org
Fri Jul 4 12:39:04 UTC 2014


After building & installing @r268208 (yesterday), "sysctl hw.ncpu"
reports a number (e.g., "2" for my laptop).

After building & installing @r268244 (today)...

freebeast(9.3-P)[5] sysctl hw.ncpu | hd
00000000  68 77 2e 6e 63 70 75 3a  20 0a                    |hw.ncpu: .|
0000000a
freebeast(9.3-P)[6] 

After reverting r268244, then "cd /usr/src/sbin/sysctl && make && make
install":

g1-252(9.3-P)[8] sysctl hw.ncpu | hd
00000000  68 77 2e 6e 63 70 75 3a  20 32 0a                 |hw.ncpu:
2.|
0000000b
g1-252(9.3-P)[9] 


I note that I also track stable/10 and head (on different slices;
daily) on the machine; haven't seen similar behavior in either
environment.

Note that it is not uncommon for certain ports builds to expect to get a
number from "sysctl -n hw.ncpu", and when that doesn't happen, the ports
builds tend to stop working.

Peace,
david
-- 
David H. Wolfskill				david at catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 949 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20140704/a8bf1182/attachment.sig>


More information about the freebsd-stable mailing list