Gcc-arm version 4.0.0 gives a segfault when compiling liboil 0.3.13, on file conv_c.c:246:
CLIPCONV_DEFINE_FLOAT(s8,f32); The outuputs are bellow: command: arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -mfpu=vfp -mfloat-abi=softfp -D_BSD_SOURCE -D_GNU_SOURCE -I../.. -DOIL_ENABLE_UNSTABLE_API -g -O2 -MT libconv_la-conv_c.lo -MD -MP -MF .deps/libconv_la-conv_c.Tpo -c conv_c.c -o libconv_la-conv_c.o the 'arm-linux-gcc -v' command give this output: Reading specs from /opt/eldk/arm/usr/bin/../lib/gcc/arm-linux/4.0.0/specs Target: arm-linux Configured with: /opt/eldk/build/arm-2007-01-21/work/usr/src/denx/BUILD/crosstool-0.35/build/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/gcc-4.0.0/configure --target=arm-linux --host=i686-host_pc-linux-gnu --prefix=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux --with-headers=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux/include --with-local-prefix=/var/tmp/eldk.bMi2nK/usr/crosstool/gcc-4.0.0-glibc-2.3.5-eldk/arm-linux/arm-linux --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-languages=c,c++ --enable-shared --enable-c99 --enable-long-long --enable-__cxa_atexit Thread model: posix gcc version 4.0.0 (DENX ELDK 4.1 4.0.0) Command 'uname -a' : Linux 2.6.24-12-generic #1 SMP Mon Mar 10 15:32:00 UTC 2008 i686 GNU/Linux -- Summary: seg fault when compiling liboil 0.3.13, file conv_c.c Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: blocker Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: davitrindade at gmail dot com http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35586