Using the Linaro prebuilt package from a few days ago I got a segfault in
gcc that is not manifest in a version from a few months earlier.

Details are here:

https://gist.github.com/1223209

A small snippet:

g++ -o obj/release/jsregexp.o -c -fno-rtti -fno-exceptions -Wall -W
-Wno-unused-parameter -Wnon-virtual-dtor -Wno-abi -pedantic
-mfloat-abi=softfp -O3 -fomit-frame-pointer -fdata-sections
-ffunction-sections -ansi -fno-strict-aliasing
-DCAN_USE_VFP_INSTRUCTIONS -DUSE_EABI_HARDFLOAT=0 -DV8_TARGET_ARCH_ARM
-DENABLE_DEBUGGER_SUPPORT -I/home/user/Code/node/deps/v8/src
/home/user/Code/node/deps/v8/src/jsregexp.cc
g++: Internal error: Segmentation fault (program as)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.5/README.Bugs> for instructions.
scons: *** [obj/release/jsregexp.o] Error 1
scons: building terminated because of errors.
Waf: Leaving directory `/home/user/Code/node/out'
Build failed:  -> task failed (err #2):
        {task: libv8.a SConstruct -> libv8.a}
make: *** [program] Error 1

user@linaro-developer:~/Code/node$ uname -a
Linux linaro-developer 3.0.0-1004-linaro-omap #5~ppa~natty-Ubuntu SMP
PREEMPT Mon Aug 22 08:44:20 UTC 2011 armv7l armv7l armv7l GNU/Linux

user@linaro-developer:~/Code/node$ gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/arm-linux-gnueabi/gcc/arm-linux-gnueabi/4.5.2/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro
4.5.2-8ubuntu4'
--with-bugurl=file:///usr/share/doc/gcc-4.5/README.Bugs
--enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.5 --enable-shared --enable-multiarch
--with-multiarch-defaults=arm-linux-gnueabi --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib/arm-linux-gnueabi
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.5
--libdir=/usr/lib/arm-linux-gnueabi --enable-nls --with-sysroot=/
--enable-clocale=gnu --enable-libstdcxx-debug
--enable-libstdcxx-time=yes --enable-plugin --enable-gold
--enable-ld=default --with-plugin-ld=ld.gold --enable-objc-gc
--disable-sjlj-exceptions --with-arch=armv7-a --with-float=softfp
--with-fpu=vfpv3-d16 --with-mode=thumb --disable-werror
--enable-checking=release --build=arm-linux-gnueabi
--host=arm-linux-gnueabi --target=arm-linux-gnueabi
Thread model: posix
gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)


AJ ONeal
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to