------- Comment #74 from dave at hiauly1 dot hia dot nrc dot ca 2008-08-31 03:19 ------- Subject: Re: [4.4 Regression]: gcc.dg/weak/weak-1.c
> ------- Comment #71 from hp at gcc dot gnu dot org 2008-08-30 06:27 ------- > Created an attachment (id=16169) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16169&action=view) > --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=16169&action=view) > Patch, take 6. This one is a significant improvement. In the C testsuite, I'm seeing a few failures like this one: Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/struct/w_prof_global_array.c -O3 -fwhole- program -combine -fipa-type-escape -fprofile-generate -lm -o /test/gnu/gcc/ob jdir/gcc/testsuite/gcc/w_prof_global_array.x01 (timeout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: _GLOBAL__FI_w_prof_global_array_x01 (first referenced in +init option) (code) _GLOBAL__FD_w_prof_global_array_x01 (first referenced in +fini option) (code) collect2: ld returned 1 exit status and in the C++ suite, Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/test/gnu/ gcc/objdir/gcc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/g++.old-deja /g++.other/static14.C -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/ libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hp ux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/ gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/tests uite/util -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long -L/test/ gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -L/test/gnu/gcc/o bjdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -L/test/gnu/gcc/objdir/hppa 2.0w-hp-hpux11.11/./libiberty -lm -o static14.exe (timeout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: basic_string::~basic_string() (first referenced in /var/tmp//ccI3Feaf.o) (code) Side::name()::sname (first referenced in /var/tmp//ccI3Feaf.o) (data) collect2: ld returned 1 exit status compiler exited with status 1 and Executing on host: /test/gnu/gcc/objdir/gcc/testsuite/g++/../../g++ -B/test/gnu/ gcc/objdir/gcc/testsuite/g++/../../ /test/gnu/gcc/gcc/gcc/testsuite/g++.old-deja /g++.other/static20.C -nostdinc++ -I/test/gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/ libstdc++-v3/include/hppa2.0w-hp-hpux11.11 -I/test/gnu/gcc/objdir/hppa2.0w-hp-hp ux11.11/libstdc++-v3/include -I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++ -I/test/ gnu/gcc/gcc/libstdc++-v3/include/backward -I/test/gnu/gcc/gcc/libstdc++-v3/tests uite/util -fmessage-length=0 -ansi -pedantic-errors -Wno-long-long -L/test/ gnu/gcc/objdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -L/test/gnu/gcc/o bjdir/hppa2.0w-hp-hpux11.11/./libstdc++-v3/src/.libs -L/test/gnu/gcc/objdir/hppa 2.0w-hp-hpux11.11/./libiberty -lm -o static20.exe (timeout = 300) /usr/ccs/bin/ld: Unsatisfied symbols: foo::func()::x (first referenced in /var/tmp//ccG3jpCC.o) (data) collect2: ld returned 1 exit status Sorry, this is so hard. Dave -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37170