openmpi-1.2.6 ------------------------------ cd openmpi-1.2.6 mkdir i95;cd i95;../configure --prefix=/usr/local/openmpi-1.2.6 make
my $CFLAGS: ---------------- -pipe -ggdb3 -limf -lsvml -O3 -march=pentium4 -mfpmath=sse -funswitch-loops -ftree-loop-distribution -ftree-loop-linear -ftree-loop-im -fivopts -funroll-loops -fvariable-expansion-in-unroller -fsplit-ivs-in-unroller -ftree-vectorize -ftree-vect-loop-version -fvect-cost-model -fgcse-sm -fgcse-las -fsched-spec-load -fsched-stalled-insns=0 -fsched-stalled-insns-dep=0 -fbounds-check when compile openmpi-1.2.6/opal/mca/memory/ptmalloc2/malloc.c ------------------------------------------------------------------------- libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../../opal/include -I../../../../orte/include -I../../../../ompi/include -I../../../../../opal/mca/memory/ptmalloc2 -DMALLOC_DEBUG=0 -D_GNU_SOURCE=1 -DUSE_TSD_DATA_HACK=1 -DMALLOC_HOOKS=1 -I../../../../../opal/mca/memory/ptmalloc2/sysdeps/pthread -I../../../../../opal/mca/memory/ptmalloc2/sysdeps/generic -I../../../../.. -I../../../.. -I../../../../../opal/include -I../../../../../orte/include -I../../../../../ompi/include -DNDEBUG -pipe -ggdb3 -limf -lsvml -O3 -march=pentium4 -mfpmath=sse -funswitch-loops -ftree-loop-distribution -ftree-loop-linear -ftree-loop-im -fivopts -funroll-loops -fvariable-expansion-in-unroller -fsplit-ivs-in-unroller -ftree-vectorize -ftree-vect-loop-version -fvect-cost-model -fgcse-sm -fgcse-las -fsched-spec-load -fsched-stalled-insns=0 -fsched-stalled-insns-dep=0 -fbounds-check -finline-functions -fno-strict-aliasing -pthread -MT malloc.lo -MD -MP -MF .deps/malloc.Tpo -c ../../../../../opal/mca/memory/ptmalloc2/malloc.c -fPIC -DPIC -o .libs/malloc.o ../../../../../opal/mca/memory/ptmalloc2/malloc.c: In function 'malloc_trim': ../../../../../opal/mca/memory/ptmalloc2/malloc.c:3902: error: invalid rtl sharing found in the insn (insn 11 9 12 3 ../../../../../opal/mca/memory/ptmalloc2/sysdeps/pthread/malloc-machine.h:51 (parallel [ (set (reg/v:SI 80 [ r ]) (asm_operands/v:SI ("xchgl %0, %1") ("=r") 0 [ (reg:SI 85) (mem/s/v/j/c:SI (plus:SI (reg:SI 3 bx) (const:SI (unspec:SI [ (symbol_ref:SI ("main_arena") [flags 0x2] <var_decl 0xb7e18898 main_arena>) ] 1))) [0 main_arena.mutex.lock+0 S4 A256]) ] [ (asm_input:SI ("0") 0) (asm_input:SI ("m") 0) ] 2207718)) (set (mem/s/v/j/c:SI (plus:SI (reg:SI 3 bx) (const:SI (unspec:SI [ (symbol_ref:SI ("main_arena") [flags 0x2] <var_decl 0xb7e18898 main_arena>) ] 1))) [0 main_arena.mutex.lock+0 S4 A256]) (asm_operands/v:SI ("xchgl %0, %1") ("=m") 1 [ (reg:SI 85) (mem/s/v/j/c:SI (plus:SI (reg:SI 3 bx) (const:SI (unspec:SI [ (symbol_ref:SI ("main_arena") [flags 0x2] <var_decl 0xb7e18898 main_arena>) ] 1))) [0 main_arena.mutex.lock+0 S4 A256]) ] [ (asm_input:SI ("0") 0) (asm_input:SI ("m") 0) ] 2207718)) (clobber (reg:QI 18 fpsr)) (clobber (reg:QI 17 flags)) (clobber (mem:BLK (scratch) [0 A8])) ]) -1 (expr_list:REG_DEAD (reg:SI 85) (expr_list:REG_UNUSED (reg:QI 18 fpsr) (expr_list:REG_UNUSED (reg:QI 17 flags) (nil))))) ../../../../../opal/mca/memory/ptmalloc2/malloc.c:3902: error: shared rtx (const:SI (unspec:SI [ (symbol_ref:SI ("main_arena") [flags 0x2] <var_decl 0xb7e18898 main_arena>) ] 1)) ../../../../../opal/mca/memory/ptmalloc2/malloc.c:3902: internal compiler error: internal consistency failure Please submit a full bug report, with preprocessed source if appropriate. See <http://gcc.gnu.org/bugs.html> for instructions. make: *** [malloc.lo] Error 1 -- Summary: GCC 4.4.0-20080501 failed to compile openmpi's malloc.c file. Product: gcc Version: 4.4.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: linuxl4 at sohu dot com GCC build triplet: i686-pc-linux-gnu GCC host triplet: i686-pc-linux-gnu GCC target triplet: i686-pc-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36111