Re: [Solaris] Fix profiling

2011-05-24 Thread Eric Botcazou
> this is PR gcov-profile/48845. Indeed, I totally missed it. > On the other hand, the patch is only necessary for tree profiling, > i.e. with -fprofile-generate, so I'm checking in the following. > > Bootstrapped without regressions on i386-pc-solaris2.{[89], 1[01]}, > installed on mainline. Th

Re: [Solaris] Fix profiling

2011-05-24 Thread Rainer Orth
Hi Eric, > after http://gcc.gnu.org/ml/gcc-patches/2011-04/msg02139.html profiling uses > TLS support where available. This breaks on SPARC/Solaris 8 and 9 (at least) > because the associated libraries aren't linked in. this is PR gcov-profile/48845. > Tested on SPARC/Solaris 8 and SPARC64/So

Re: [Solaris] Fix profiling

2011-05-24 Thread Eric Botcazou
> Tested on SPARC/Solaris 8 and SPARC64/Solaris 9 (the Solaris 10 machine > isn't in very good shape right now). Also tested on SPARC/Solaris 10 now. -- Eric Botcazou

[Solaris] Fix profiling

2011-05-22 Thread Eric Botcazou
Hi, after http://gcc.gnu.org/ml/gcc-patches/2011-04/msg02139.html profiling uses TLS support where available. This breaks on SPARC/Solaris 8 and 9 (at least) because the associated libraries aren't linked in. Tested on SPARC/Solaris 8 and SPARC64/Solaris 9 (the Solaris 10 machine isn't in ver