From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17366 invoked by alias); 4 Apr 2008 06:43:54 -0000 Received: (qmail 16941 invoked by uid 48); 4 Apr 2008 06:43:10 -0000 Date: Fri, 04 Apr 2008 06:43:00 -0000 Subject: [Bug c/35822] New: Internal compiler error: segmentation fault X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "rbertran at ac dot upc dot edu" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2008-04/txt/msg00329.txt.bz2 Crosstoolchain for the Cell. I got an internal compiler error (segmentation fault). I'm usign gcc 4.3.0 . Command: /opt/ia32/cell/toolchain/2008-03-28/bin/../bin/spu-gcc -W -Wall -Winline -Wno-main -I. -I ../../../include -I ../../../include/spu -I ../../include/jpc -I /scratch/local/rbertran/cellbench//src/lib/misc -I /scratch/local/rbertran/cellbench//src/lib/sync/spu -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -DSPU -DFLOAT_MODE -DSIMD_EN -DEN_INTERLEAVING -O5 -c jpc_qmfb_synthesize.c jpc_qmfb_synthesize.c: In function 'jpc_ns_invlift_row': jpc_qmfb_synthesize.c:1775: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. make: *** [jpc_qmfb_synthesize.o] Error 1 [Exit 2 ] Command verbose: /opt/ia32/cell/toolchain/2008-03-28/bin/../bin/spu-gcc -W -Wall -Winline -Wno-main -I. -I ../../../include -I ../../../include/spu -I ../../include/jpc -I /scratch/local/rbertran/cellbench//src/lib/misc -I /scratch/local/rbertran/cellbench//src/lib/sync/spu -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -DSPU -DFLOAT_MODE -DSIMD_EN -DEN_INTERLEAVING -O5 -c jpc_qmfb_analyze.c -v Using built-in specs. Target: spu Configured with: /home/users/rbertran/scratch-local/cache/gcc-4.3.0/configure --prefix=/opt/ia32/cell/toolchain/2008-03-28/spu --target=spu --with-newlib --program-prefix=spu- --disable-nls --enable-languages=c,c++ --with-as=/opt/ia32/cell/toolchain/2008-03-28/spu/bin/spu-as --with-ld=/opt/ia32/cell/toolchain/2008-03-28/spu/bin/spu-ld Thread model: single gcc version 4.3.0 (GCC) COLLECT_GCC_OPTIONS='-W' '-Wall' '-Winline' '-Wno-main' '-I.' '-I' '../../../include' '-I' '../../../include/spu' '-I' '../../include/jpc' '-I' '/scratch/local/rbertran/cellbench//src/lib/misc' '-I' '/scratch/local/rbertran/cellbench//src/lib/sync/spu' '-I' '/opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include' '-I' '/opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include' '-DSPU' '-DFLOAT_MODE' '-DSIMD_EN' '-DEN_INTERLEAVING' '-O5' '-c' '-v' /opt/ia32/cell/toolchain/2008-03-28/spu/libexec/gcc/spu/4.3.0/cc1 -quiet -v -I. -I ../../../include -I ../../../include/spu -I ../../include/jpc -I /scratch/local/rbertran/cellbench//src/lib/misc -I /scratch/local/rbertran/cellbench//src/lib/sync/spu -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -DSPU -DFLOAT_MODE -DSIMD_EN -DEN_INTERLEAVING jpc_qmfb_analyze.c -quiet -dumpbase jpc_qmfb_analyze.c -auxbase jpc_qmfb_analyze -O5 -W -Wall -Winline -Wno-main -version -o /tmp/cc9ZNCcX.s ignoring nonexistent directory "/opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/../../../../spu/sys-include" ignoring nonexistent directory "/scratch/local/rbertran/cellbench//src/lib/misc" ignoring nonexistent directory "/scratch/local/rbertran/cellbench//src/lib/sync/spu" ignoring duplicate directory "/opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include" as it is a non-system directory that duplicates a system directory ignoring duplicate directory "/opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include" as it is a non-system directory that duplicates a system directory #include "..." search starts here: #include <...> search starts here: . ../../../include ../../../include/spu ../../include/jpc /opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/include /opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/include-fixed /opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/../../../../spu/include End of search list. GNU C (GCC) version 4.3.0 (spu) compiled by GNU C version 4.1.2 20070925 (Red Hat 4.1.2-33), GMP version 4.2.2, MPFR version 2.3.0-p2. GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129342 Compiler executable checksum: 573e1376cb959e61371bea7b2f291bfa jpc_qmfb_analyze.c: In function 'jpc_ns_fwdlift_row': jpc_qmfb_analyze.c:1810: internal compiler error: Segmentation fault Please submit a full bug report, with preprocessed source if appropriate. See for instructions. [Exit 1 ] GDB debug: gdb --args /opt/ia32/cell/toolchain/2008-03-28/spu/libexec/gcc/spu/4.3.0/cc1 -quiet -v -I. -I ../../../include -I ../../../include/spu -I ../../include/jpc -I /scratch/local/rbertran/cellbench//src/lib/misc -I /scratch/local/rbertran/cellbench//src/lib/sync/spu -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -DSPU -DFLOAT_MODE -DSIMD_EN -DEN_INTERLEAVING jpc_qmfb_analyze.c -quiet -dumpbase jpc_qmfb_analyze.c -auxbase jpc_qmfb_analyze -O5 -W -Wall -Winline -Wno-main -version -o /tmp/cco5lHmh.s GNU gdb Red Hat Linux (6.6-45.fc8rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /opt/ia32/cell/toolchain/2008-03-28/spu/libexec/gcc/spu/4.3.0/cc1 -quiet -v -I. -I ../../../include -I ../../../include/spu -I ../../include/jpc -I /scratch/local/rbertran/cellbench//src/lib/misc -I /scratch/local/rbertran/cellbench//src/lib/sync/spu -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -I /opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include -DSPU -DFLOAT_MODE -DSIMD_EN -DEN_INTERLEAVING jpc_qmfb_analyze.c -quiet -dumpbase jpc_qmfb_analyze.c -auxbase jpc_qmfb_analyze -O5 -W -Wall -Winline -Wno-main -version -o /tmp/cco5lHmh.s ignoring nonexistent directory "/opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/../../../../spu/sys-include" ignoring nonexistent directory "/scratch/local/rbertran/cellbench//src/lib/misc" ignoring nonexistent directory "/scratch/local/rbertran/cellbench//src/lib/sync/spu" ignoring duplicate directory "/opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include" as it is a non-system directory that duplicates a system directory ignoring duplicate directory "/opt/ia32/cell/toolchain/2008-03-28/bin/../spu/include" as it is a non-system directory that duplicates a system directory #include "..." search starts here: #include <...> search starts here: . ../../../include ../../../include/spu ../../include/jpc /opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/include /opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/include-fixed /opt/ia32/cell/toolchain/2008-03-28/spu/lib/gcc/spu/4.3.0/../../../../spu/include End of search list. GNU C (GCC) version 4.3.0 (spu) compiled by GNU C version 4.1.2 20070925 (Red Hat 4.1.2-33), GMP version 4.2.2, MPFR version 2.3.0-p2. GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129342 Compiler executable checksum: 573e1376cb959e61371bea7b2f291bfa Program received signal SIGSEGV, Segmentation fault. set_bb_for_stmt (t=0x0, bb=0xb77c5bb8) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-cfg.c:2670 2670 if (TREE_CODE (t) == PHI_NODE) Missing separate debuginfos, use: debuginfo-install glibc.i686 gmp.i386 mpfr.i386 (gdb) where #0 set_bb_for_stmt (t=0x0, bb=0xb77c5bb8) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-cfg.c:2670 #1 0x0823f124 in bsi_insert_after (i=0xbfe23020, t=0x0, m=BSI_NEW_STMT) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-cfg.c:2781 #2 0x08241811 in bsi_insert_on_edge_immediate (e=0xb7808258, stmt=0x0) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-cfg.c:3048 #3 0x08313cc0 in vect_create_data_ref_ptr (stmt=, at_loop=0xb778ca20, offset=0x0, initial_address=0xbfe231b0, ptr_incr=0xbfe231ac, only_init=0 '\0', type=0x0, inv_p=0xbfe231b7 "") at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-vect-transform.c:1105 #4 0x0831b94c in vectorizable_load (stmt=0xb7cd6e70, bsi=0xbfe232fc, vec_stmt=0xbfe231f8, slp_node=0x0) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-vect-transform.c:5774 #5 0x0831e602 in vect_transform_stmt (stmt=0xb7cd6e70, bsi=0xbfe232fc, strided_store=0xbfe2331f "", slp_node=0xb77c5bb8) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-vect-transform.c:6228 #6 0x0831f9de in vect_transform_loop (loop_vinfo=0xa4c93d0) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-vect-transform.c:7547 #7 0x083228c3 in vectorize_loops () at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-vectorizer.c:2691 #8 0x081cb124 in execute_one_pass (pass=0x852fae0) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/passes.c:1122 #9 0x081cb2c7 in execute_pass_list (pass=0x852fae0) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/passes.c:1175 #10 0x081cb2da in execute_pass_list (pass=0x852f9a0) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/passes.c:1176 #11 0x081cb2da in execute_pass_list (pass=0x852f1a0) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/passes.c:1176 #12 0x0826e719 in tree_rest_of_compilation (fndecl=0xb7e17780) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/tree-optimize.c:404 #13 0x083645b8 in cgraph_expand_function (node=0xb7e3dce4) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/cgraphunit.c:1157 #14 0x08365f0d in cgraph_optimize () at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/cgraphunit.c:1220 #15 0x08058047 in c_write_global_declarations () at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/c-decl.c:8080 #16 0x082391d6 in toplev_main (argc=36, argv=0xbfe23594) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/toplev.c:1055 #17 0x080a6042 in main (argc=Cannot access memory at address 0x0 ) at /home/users/rbertran/scratch-local/cache/gcc-4.3.0/gcc/main.c:35 Sorry if I'm missing some other information that you need. I'm new submitting bugs to gcc. If you need something else, let me know. -- Summary: Internal compiler error: segmentation fault Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rbertran at ac dot upc dot edu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35822