[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#677165: openblas: FTBFS[kfreebsd]: gemm.c:401:16: error: 'GEMM_MULTITHREAD_THRESHOLD' undeclared (first use in this function)



Sébastien Villemot <sebastien.villemot@ens.fr> writes:
> Christoph Egger <christoph@debian.org> writes:
>
>> Package: src:openblas
>> Version: 0.1.1-3
>> Severity: serious
>> Tags: sid wheezy
>> User: debian-bsd@lists.debian.org
>> Usertags: kfreebsd
>> X-Debbugs-Cc: debian-bsd@lists.debian.org
>> Justification: fails to build from source (but built successfully in the past)
>
>> Your package failed to build on the kfreebsd-* buildds:
>>
>> gcc -c -O2 -DEXPRECISION -m128bit-long-double -Wall -m64
>> -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_LAPACK -DNO_LAPACKE
>> -DSMP_SERVER -DMAX_CPU_NUMBER=2 -DASMNAME=sgemm -DASMFNAME=sgemm_
>> -DNAME=sgemm_ -DCNAME=sgemm -DCHAR_NAME=\"sgemm_\"
>> -DCHAR_CNAME=\"sgemm\" -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX
>> gemm.c -o sgemm.o
>> gemm.c: In function 'sgemm_':
>> gemm.c:401:16: error: 'GEMM_MULTITHREAD_THRESHOLD' undeclared (first use in this function)
>> gemm.c:401:16: note: each undeclared identifier is reported only once for each function it appears in
>> make[2]: *** [sgemm.o] Error 1
>>
>> Full build log at
>> https://buildd.debian.org/status/logs.php?pkg=openblas&ver=0.1.1-3&arch=kfreebsd-amd64
>
> The build fails because the CPU is not correctly detected on some
> kfreebsd buildds (finzi, fano). From the old logs, it looks that the CPU
> is correctly detected on some others kfreebsd buildds (field, fasch).
>
> The failure to detect the CPU is a bug in itself, but we need to know
> the exact CPU architecture of these buildds in order to report an
> upstream bug. Is this information available?

finzi/fano are virtual KVM instance

% cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 1
model name      : QEMU Virtual CPU version 0.12.5
stepping        : 3
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 15
model           : 1
model name      : QEMU Virtual CPU version 0.12.5
stepping        : 3
flags           : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr xmm sse2
cpu MHz         : 2666.71
bogomips        : 2666.71

fasch/field are "real" boxes

% cat /proc/cpuinfo 
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 16
model name      : Intel(R) Xeon(TM) CPU 3.80GHz
stepping        : 10
processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 16
model name      : Intel(R) Xeon(TM) CPU 3.80GHz
stepping        : 10
processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 16
model name      : Intel(R) Xeon(TM) CPU 3.80GHz
stepping        : 10
processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 16
model name      : Intel(R) Xeon(TM) CPU 3.80GHz
stepping        : 10
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 b19 b21 mmxext mmx fxsr xmm sse2 b27 b28 b29 3dnow
cpu MHz         : 3800.15
bogomips        : 3800.15

Regards

    Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer


Reply to: