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

Re: Re: internal compiler error on m68k with dcmtk packages



Wouter Verhelst wrote: 
> This version of gcc segfaults fairly often when building m68k binaries.
> There isn't much you can do, except waiting for the next version (I have
> yet to find a package that does not build with gcc-4.0 while it does
> with -3.4 or -snapshot).

Hi,

off topic, but on amd64, it seems kino compiles fine with gcc-4.0 but
crashes on 'open file', whereas it runs when compiled fine with gcc-3.4.
see #319031.

otherwise, fftw3 also fails on m68k, using -O3:

    > gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../kernel -I../../../dft -I../../../dft/codelets -O3 -fomit-frame-pointer -fno-schedule-insns -fstrict-aliasing -pthread -O3 -MT n1_11.lo -MD -MP -MF .deps/n1_11.Tpo -c n1_11.c  -fPIC -DPIC -o .libs/n1_11.lo
    > n1_11.c: In function 'n1_11':
    > n1_11.c:173: internal compiler error: Segmentation fault
    > Please submit a full bug report,
    > with preprocessed source if appropriate.
    > See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    > For Debian GNU/Linux specific bug reporting instructions,
    > see <URL:file:///usr/share/doc/gcc-4.0/README.Bugs>.
    > make[6]: *** [n1_11.lo] Error 1


last time i tried building with CFLAGS='-O2 ..' and it also failed, but
oddly:
http://buildd.debian.org/fetch.php?&pkg=fftw3&ver=3.0.1-12&arch=m68k&stamp=1123395597&file=log&as=raw

i guess i should try -O next time then. 

Could someone check that adding the following to debian/rules in fftw3
3.0.1-13 actually works:

29c29
<   SETFLAGS := CFLAGS=
---
>   SETFLAGS := CFLAGS='-g -O1 -Wall'

cheers, piem



Reply to: