cd test && ./regress2 ./../test/distance 000: 010 ./../test/nodemap 0: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 ./../test/checkaffinity ./../test/checktopology numactl --hardware cpus look bogus ./../test/checktopology FAILED!!!! make: *** [Makefile:1997: regress2] Error 1 The problem in all this is the expected output of the testcase. That one wants to count CPUs by calling "grep -c processor /proc/cpuinfo", which doesn't help on sparc as the layout of this file is different there: cpu : UltraSparc T2 (Niagara2) fpu : UltraSparc T2 integrated FPU pmu : niagara2 prom : OBP 4.33.6 2012/03/14 08:07 type : sun4v ncpus probed : 64 ncpus active : 64 D$ parity tl1 : 0 I$ parity tl1 : 0 cpucaps : flush,stbar,swap,muldiv,v9,blkinit,n2,mul32,div32,v8plus,popc,vis,vis2,ASIBlkInit Cpu0ClkTck : 000000005458c3a0 Cpu1ClkTck : 000000005458c3a0 Cpu2ClkTck : 000000005458c3a0 ... Cpu62ClkTck : 000000005458c3a0 Cpu63ClkTck : 000000005458c3a0 MMU Type : Hypervisor (sun4v) MMU PGSZs : 8K,64K,4MB,256MB State: CPU0: online CPU1: online CPU2: online
Can you report this to upstream please?