Package: fsl
Version: 4.1.4-2
Severity: important
Justification: fails to build from source

FSL fails to build on ARMEL with this error:

g++ -Wall -g -ansi -pedantic -DHAVE_LIBFREETYPE -fPIC
-I/usr/include/nifti -I/usr/include/newmat
-I/build/buildd/fsl-4.1.4/extras/src/libprob
-I/build/buildd/fsl-4.1.4/extras/src/libcprob
-I/build/buildd/fsl-4.1.4/src     -O2 -I/usr/include/newmat
-I/usr/include/boost -I/usr/include -DEXPOSE_TREACHEROUS -I.
-I/build/buildd/fsl-4.1.4/include -I/build/buildd/fsl-4.1.4/include   -c
-o newimage.o newimage.cc
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
make[1]: *** [newimage.o] Error 1

See also:
http://experimental.debian.net/fetch.php?&pkg=fsl&ver=4.1.4-2&arch=armel&stamp=1244096723&file=log&as=raw

I am having trouble fixing this since I cannot really reproduce it in a
reasonable time on the only ARM box I have access to (Linksys NSLU) --
this single file compiles for hours...

The relevant files contain lots of STL code.  On my desktop box (i386)
compiling takes 50 sec and consumes a couple of hundred MB of RAM. I
assume this is what makes it slow on the NSLU.

I have assembles a minimal subset of files (the source file and the
required headers) that should demonstrate the bug (attached). It also
has the relevant g++ call in 'showbug.sh' -- although I could not yet
confirm that it really reproduces the error shown in the build log.

Build-deps as FSL itself, or at least libnewmat-dev and libnifti1-dev.

Help would be appreciated!


Thanks,

Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050

Attachment: fslbug.tar.gz
Description: Binary data

Reply via email to