This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8
- From: "sean dot johnston at xenicom dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Sep 2003 14:01:46 -0000
- Subject: [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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