Executing on host: /test/gnu/gcc/objdir/gcc/xgcc -B/test/gnu/gcc/objdir/gcc/ /te st/gnu/gcc/gcc/gcc/testsuite/gcc.dg/plugin/self-assign-test-1.c -fplugin=./self assign.so -O -S -o self-assign-test-1.s (timeout = 300) cc1: error: Cannot load plugin ./selfassign.so Unresolved symbol: tree_code_type (data) from ./selfassign.so compiler exited with status 1 output is: cc1: error: Cannot load plugin ./selfassign.so Unresolved symbol: tree_code_type (data) from ./selfassign.so
FAIL: gcc.dg/plugin/self-assign-test-1.c -fplugin=./selfassign.so (test for war nings, line 15) FAIL: gcc.dg/plugin/self-assign-test-1.c -fplugin=./selfassign.so (test for war nings, line 19) FAIL: gcc.dg/plugin/self-assign-test-1.c -fplugin=./selfassign.so (test for war nings, line 20) FAIL: gcc.dg/plugin/self-assign-test-1.c -fplugin=./selfassign.so (test for war nings, line 21) FAIL: gcc.dg/plugin/self-assign-test-1.c -fplugin=./selfassign.so (test for war nings, line 22) FAIL: gcc.dg/plugin/self-assign-test-1.c -fplugin=./selfassign.so (test for exce ss errors) I believe that cc1 needs to be linked with -E to mark all symbols for export to shared libraries. -- Summary: cc1: error: Cannot load plugin ./selfassign.so Product: gcc Version: 4.5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: danglin at gcc dot gnu dot org GCC build triplet: hppa2.0w-hp-hpux11.11 GCC host triplet: hppa2.0w-hp-hpux11.11 GCC target triplet: hppa2.0w-hp-hpux11.11 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41820