Comment 2 for bug 838994

dann frazier (dannf) wrote :

# gcc -v -save-temps -DPERL_CORE -c -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat mg.c -marm
gcc: warning: -pipe ignored because -save-temps specified
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabi/4.6.1/lto-wrapper
Target: arm-linux-gnueabi
Configured with: ../src/configure -v --with-pkgversion='Ubuntu/Linaro 4.6.1-7ubuntu2' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-multilib --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.6.1 (Ubuntu/Linaro 4.6.1-7ubuntu2)
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'PERL_CORE' '-c' '-D' '_REENTRANT' '-D' '_GNU_SOURCE' '-D' 'DEBIAN' '-fno-strict-aliasing' '-pipe' '-fstack-protector' '-I' '/usr/local/include' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-O2' '-g' '-Wall' '-Wextra' '-Wdeclaration-after-statement' '-Wendif-labels' '-Wc++-compat' '-marm' '-march=armv7-a' '-mfloat-abi=softfp' '-mfpu=vfpv3-d16'
 /usr/lib/gcc/arm-linux-gnueabi/4.6.1/cc1 -E -quiet -v -I /usr/local/include -imultilib . -imultiarch arm-linux-gnueabi -D PERL_CORE -D _REENTRANT -D _GNU_SOURCE -D DEBIAN -D _LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 mg.c -marm -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -Wall -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -fno-strict-aliasing -fstack-protector -g -fworking-directory -O2 -fpch-preprocess -fstack-protector -o mg.i
ignoring nonexistent directory "/usr/local/include/arm-linux-gnueabi"
ignoring nonexistent directory "/usr/lib/gcc/arm-linux-gnueabi/4.6.1/../../../../arm-linux-gnueabi/include"
ignoring duplicate directory "/usr/local/include"
  as it is a non-system directory that duplicates a system directory
#include "..." search starts here:
#include <...> search starts here:
 /usr/lib/gcc/arm-linux-gnueabi/4.6.1/include
 /usr/local/include
 /usr/lib/gcc/arm-linux-gnueabi/4.6.1/include-fixed
 /usr/include/arm-linux-gnueabi
 /usr/include
End of search list.
COLLECT_GCC_OPTIONS='-v' '-save-temps' '-D' 'PERL_CORE' '-c' '-D' '_REENTRANT' '-D' '_GNU_SOURCE' '-D' 'DEBIAN' '-fno-strict-aliasing' '-pipe' '-fstack-protector' '-I' '/usr/local/include' '-D' '_LARGEFILE_SOURCE' '-D' '_FILE_OFFSET_BITS=64' '-O2' '-g' '-Wall' '-Wextra' '-Wdeclaration-after-statement' '-Wendif-labels' '-Wc++-compat' '-marm' '-march=armv7-a' '-mfloat-abi=softfp' '-mfpu=vfpv3-d16'
 /usr/lib/gcc/arm-linux-gnueabi/4.6.1/cc1 -fpreprocessed mg.i -quiet -dumpbase mg.c -marm -march=armv7-a -mfloat-abi=softfp -mfpu=vfpv3-d16 -auxbase mg -g -O2 -Wall -Wextra -Wdeclaration-after-statement -Wendif-labels -Wc++-compat -version -fno-strict-aliasing -fstack-protector -fstack-protector -o mg.s
GNU C (Ubuntu/Linaro 4.6.1-7ubuntu2) version 4.6.1 (arm-linux-gnueabi)
 compiled by GNU C version 4.6.1, GMP version 5.0.1, MPFR version 3.0.1-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
GNU C (Ubuntu/Linaro 4.6.1-7ubuntu2) version 4.6.1 (arm-linux-gnueabi)
 compiled by GNU C version 4.6.1, GMP version 5.0.1, MPFR version 3.0.1-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
Compiler executable checksum: 8862dc0440399ab1f51e2370f50dc163
mg.c: In function 'Perl_magic_get':
mg.c:1088:1: error: unrecognizable insn:
(insn 1589 1588 1590 65 (set (reg:SI 2 r2)
        (sign_extend:SI (mem/s/j:QI (plus:SI (reg:SI 0 r0)
                    (const_int 1665 [0x681])) [0 my_perl_52(D)->Iutf8cache+0 S1 A8]))) mg.c:891 -1
     (nil))
mg.c:1088:1: internal compiler error: in extract_insn, at recog.c:2113
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.6/README.Bugs> for instructions.
Preprocessed source stored into /tmp/ccnQTKoX.out file, please attach this to your bugreport.