--- Comment #2 from linuxl4 at sohu dot com 2008-05-03 04:09 ---
Created an attachment (id=15566)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15566&action=view)
malloc.i
ok.please see the attachment file.
cd openmpi-1.2.6/i95/opal/mca/memory/ptmalloc2/
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 -save-temps
same error ocered when compile glibc 2.7's malloc.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36111