When running the testsuite on powerpc-unknown-linux-gnu with extra passes containing -fpic I get the following additional error on the 4.3 branch:
Running target unix/-fpic FAIL: libgomp.fortran/appendix-a/a.22.7.f90 -Os (test for excess errors) UNRESOLVED: libgomp.fortran/appendix-a/a.22.7.f90 -Os compilation failed to produce executable FAIL: libgomp.fortran/omp_parse3.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions (test for excess errors) UNRESOLVED: libgomp.fortran/omp_parse3.f90 -O3 -fomit-frame-pointer -funroll-all-loops -finline-functions compilation failed to produce executable It only triggers with -fpic, -fPIC does not trigger. The error only occurs on the 4.3 branch, later versions (4.4 branch and 4.5 trunk) do not show the error. Testsuite results showing the error: http://gcc.gnu.org/ml/gcc-testresults/2010-03/msg01996.html The gcc.log file shows this message for both failures: /usr/bin/ld: BFD 2.17 Debian GNU/Linux internal error, aborting at ../../bfd/elf32-ppc.c line 6071 in ppc_elf_relocate_section /usr/bin/ld: Please report this bug. While binutils ld shouldn't crash, I think we should see if GCC is producing erroneous output too. -- Summary: libgomp.fortran/appendix-a/a.22.7.f90 and libgomp.fortran/omp_parse3.f90 fail on powerpc-unknown- linux-gnu with -fpic Product: gcc Version: 4.3.5 Status: UNCONFIRMED Severity: normal Priority: P3 Component: libgomp AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: ghazi at gcc dot gnu dot org GCC target triplet: powerpc-unknown-linux-gnu http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43499