PAPI fails to build on powerpc-linux with "-O3 -fPIC" due to multiple symbols of the same name in assembler output. The minimized test case demonstrates the problem. The failure occurs on the 3.4 branch (the FSF version in which TLS is first supported for powerpc-linux) and on the hammer-3.3 and 3.4-rhl branches, but not on mainline or the 4.0 branch. There is not a problem with 64-bit compilation. I'll run a regression hunt to determine when the fix was added and hope that it's something smaller than the tree-ssa merge.
-- Summary: duplicate label for inlined function referencing TLS Product: gcc Version: 3.4.4 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: janis at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org GCC build triplet: powerpc-linux GCC host triplet: powerpc-linux GCC target triplet: powerpc-linux http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20611