http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52322
Bug #: 52322 Summary: lto1: internal compiler error: in lto_symtab_register_decl, at lto-symtab.c:148 Classification: Unclassified Product: gcc Version: 4.6.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: k.nakam...@nao.ac.jp Created attachment 26708 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26708 tmp files gcc generated /opt/gcc-4.6.2/bin/c++ -v -save-temps -O3 -funroll-loops -m64 -march=native -mavx -flto -floop-interchange -pipe -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment -fopenmp -Wno-deprecated CMakeFiles/cmTryCompileExec.dir/try_run.cc.o -o cmTryCompileExec -rdynamic c++: warning: -pipe ignored because -save-temps specified Using built-in specs. COLLECT_GCC=/opt/gcc-4.6.2/bin/c++ COLLECT_LTO_WRAPPER=/opt/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2 --with-gnu-as --with-gnu-ld --with-mpc=/opt/gcc-base --with-mpfr=/opt/gcc-base --with-gmp=/opt/gcc-base --with-ppl=/opt/gcc-base --with-cloog=/opt/gcc-base --enable-languages=c,c++,fortran --enable-threads=posix --enable-stage1-languages=c --enable-lto --disable-multilib Thread model: posix gcc version 4.6.2 (GCC) COMPILER_PATH=/opt/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/:/opt/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/:/opt/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/:/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/:/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/ LIBRARY_PATH=/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/:/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../lib64/:/lib/../lib64/:/usr/lib/../lib64/:/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../:/lib/:/usr/lib/ Reading specs from /opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../lib64/libgomp.spec COLLECT_GCC_OPTIONS='-v' '-save-temps' '-O3' '-funroll-loops' '-m64' '-march=native' '-mavx' '-flto' '-floop-interchange' '-pipe' '-Wall' '-Wextra' '-Wno-non-template-friend' '-Wcast-align' '-Wno-comment' '-fopenmp' '-Wno-deprecated' '-o' 'cmTryCompileExec' '-rdynamic' '-shared-libgcc' '-pthread' /opt/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/collect2 -flto --eh-frame-hdr -m elf_x86_64 -export-dynamic -dynamic-linker /lib64/ld-linux-x86-64.so.2 -o cmTryCompileExec /usr/lib/../lib64/crt1.o /usr/lib/../lib64/crti.o /opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/crtbegin.o -L/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2 -L/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/../../.. CMakeFiles/cmTryCompileExec.dir/try_run.cc.o -lstdc++ -lm -lgomp -lgcc_s -lgcc -lpthread -lc -lgcc_s -lgcc /opt/gcc-4.6.2/lib/gcc/x86_64-unknown-linux-gnu/4.6.2/crtend.o /usr/lib/../lib64/crtn.o /opt/gcc-4.6.2/bin/c++ @/tmp/ccwZSRNl.args c++: warning: -pipe ignored because -save-temps specified Using built-in specs. COLLECT_GCC=/opt/gcc-4.6.2/bin/c++ COLLECT_LTO_WRAPPER=/opt/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/lto-wrapper Target: x86_64-unknown-linux-gnu Configured with: ../gcc-4.6.2/configure --prefix=/opt/gcc-4.6.2 --with-gnu-as --with-gnu-ld --with-mpc=/opt/gcc-base --with-mpfr=/opt/gcc-base --with-gmp=/opt/gcc-base --with-ppl=/opt/gcc-base --with-cloog=/opt/gcc-base --enable-languages=c,c++,fortran --enable-threads=posix --enable-stage1-languages=c --enable-lto --disable-multilib Thread model: posix gcc version 4.6.2 (GCC) COLLECT_GCC_OPTIONS='-c' '-v' '-save-temps' '-O3' '-funroll-loops' '-m64' '-march=native' '-mavx' '-floop-interchange' '-pipe' '-Wall' '-Wextra' '-Wno-non-template-friend' '-Wcast-align' '-Wno-comment' '-fopenmp' '-Wno-deprecated' '-rdynamic' '-shared-libgcc' '-pthread' '-dumpdir' './' '-dumpbase' 'cmTryCompileExec.wpa' '-fltrans-output-list=cmTryCompileExec.ltrans.out' '-fwpa' '-shared-libgcc' '-pthread' /opt/gcc-4.6.2/libexec/gcc/x86_64-unknown-linux-gnu/4.6.2/lto1 -march=corei7-avx -mcx16 -msahf -mno-movbe -mno-aes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-tbm -mavx -msse4.2 -msse4.1 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -mtune=corei7-avx -quiet -dumpdir ./ -dumpbase cmTryCompileExec.wpa -m64 -mavx -auxbase try_run.cc -O3 -Wall -Wextra -Wno-non-template-friend -Wcast-align -Wno-comment -Wno-deprecated -version -funroll-loops -floop-interchange -fopenmp -fltrans-output-list=cmTryCompileExec.ltrans.out -fwpa @/tmp/cc42zwHl GNU GIMPLE (GCC) version 4.6.2 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.6.2, GMP version 5.0.4, MPFR version 3.1.0-p4, MPC version 0.9 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU GIMPLE (GCC) version 4.6.2 (x86_64-unknown-linux-gnu) compiled by GNU C version 4.6.2, GMP version 5.0.4, MPFR version 3.1.0-p4, MPC version 0.9 GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 lto1: internal compiler error: in lto_symtab_register_decl, at lto-symtab.c:148 Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. lto-wrapper: /opt/gcc-4.6.2/bin/c++ returned 1 exit status