Bug#679809: crashes compiling shogun
Sylvestre Ledru
sylvestre at debian.org
Mon Jul 2 01:21:50 UTC 2012
retitle 679809 shogun fails to detect the correct architecture when
using clang
severity 679809 normal
thanks
Le 01/07/2012 19:23, Soeren Sonnenburg a écrit :
> Package: clang
> Version: 3.1-8
> Severity: serious
>
> it crashes in various ways resulting in libm not being detected:
I am sorry but I believe it is a bug in shogun and not in clang.
>From your log, I can see:
Checking for CPU type ... POWER5+ (gs)
./configure: line 2462: test: : integer expression expected
./configure: line 2462: test: : integer expression expected
./configure: line 2470: test: : integer expression expected
./configure: line 2470: test: : integer expression expected
./configure: line 2478: test: : integer expression expected
./configure: line 2478: test: : integer expression expected
./configure: line 2485: test: : integer expression expected
Checking for GCC & CPU optimization abilities ... none
While I get:
$ ./configure --disable-cpudetection --prefix=/usr --enable-glpk
--enable-readline --disable-svm-light --enable-hdf5 --enable-json
--enable-xml --enable-snappy --enable-lzo --enable-gzip --enable-bzip2
--enable-lzma --cc=clang --cxx=clang++ --interfaces=lua_modular
[...]
Checking for CPU vendor ... GenuineIntel (6:42:7)
Checking for CPU type ... Intel(R) Core(TM) i5-2537M CPU @ 1.40GHz
Checking for GCC & CPU optimization abilities ... core2
Checking for xmmintrin.h ... yes
Checking for mm3dnow.h ... yes
Checking for Word Size ... 64 bit
Checking for Math support (-lm) ... yes
Checking for Math powl() support ... yes
Checking for Math lgammal() support ... yes
Checking for Math sqrtl() support ... yes
Checking for Math log2() support ... yes
Checking for Posix threads support ... yes
Sylvestre
More information about the Pkg-llvm-team
mailing list