Bug#679809: crashes compiling shogun

Soeren Sonnenburg sonne at debian.org
Tue Jul 3 06:57:29 UTC 2012


On Mon, 2012-07-02 at 03:21 +0200, Sylvestre Ledru wrote:
> 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.

It is true that the CPU type detection is not working reliably here but
this only results in conservative compile flags being used so this is
not the problem - but clang crashing is.

> >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
> 

-- 
For the one fact about the future of which we can be certain is that it
will be utterly fantastic. -- Arthur C. Clarke, 1962
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20120703/1f9c372c/attachment.pgp>


More information about the Pkg-llvm-team mailing list