http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47333
Summary: [4.6 regression] g++.dg/lto/20091219 FAILs on Solaris 2 Product: gcc Version: 4.6.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: lto AssignedTo: unassig...@gcc.gnu.org ReportedBy: r...@gcc.gnu.org Host: *-*-solaris2.* Target: *-*-solaris2.* Build: *-*-solaris2.* Between 20110107 and 20110114, there occured a new testsuite failure on Solaris 2 (both SPARC and x86, 32 nd 64-bit): FAIL: g++.dg/lto/20091219 cp_lto_20091219_0.o-cp_lto_20091219_0.o link, -O3 -fl to UNRESOLVED: g++.dg/lto/20091219 cp_lto_20091219_0.o-cp_lto_20091219_0.o execute -O3 -flto output is: Undefined first referenced symbol in file _ZL28__gthrw_pthread_mutex_unlockP14_pthread_mutex.2261.2084 /var/tmp//cc8DaqVq.ltrans0.ltrans.o _ZL26__gthrw_pthread_mutex_lockP14_pthread_mutex.2263.2086 /var/tmp//cc8DaqVq.ltrans0.ltrans.o _ZL20__gthrw_pthread_onceP5_oncePFvvE.2091.2067 /var/tmp//cc8DaqVq.ltrans0.ltrans.o ld: fatal: symbol referencing errors. No output written to g++-dg-lto-20091219-01 collect2: ld returned 1 exit status This is a regression from the 4.5 branch.