This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12166

           Summary: Profiled programs crash if PROFDIR is set on Solaris 8
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sean dot johnston at xenicom dot com
                CC: gcc-bugs at gcc dot gnu dot org

Programs compiled with profiling (-pg) will crash on termination and not write 
any output profile data. This occurs when the environment variable PROFDIR is 
set.

This bug appears to have been spotted and a patch provided some time ago, 
however the patch does not appear to be present in the 3.3 source tree. Here is 
a URL for the original patch which also contains a better description of the 
issue than I can manage:

http://gcc.gnu.org/ml/gcc-patches/1999-03n/msg00038.html


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]