public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8
@ 2003-09-04 14:01 sean dot johnston at xenicom dot com
  2003-09-18 11:56 ` [Bug target/12166] " sean dot johnston at xenicom dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: sean dot johnston at xenicom dot com @ 2003-09-04 14:01 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/12166] Profiled programs crash if PROFDIR is set on Solaris 8
  2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
@ 2003-09-18 11:56 ` sean dot johnston at xenicom dot com
  2003-09-18 12:12 ` [Bug target/12166] Profiled programs crash if PROFDIR is set ebotcazou at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: sean dot johnston at xenicom dot com @ 2003-09-18 11:56 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From sean dot johnston at xenicom dot com  2003-09-18 11:08 -------
The patch referenced in the original report has been tested and successfully 
resolves the issue.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/12166] Profiled programs crash if PROFDIR is set
  2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
  2003-09-18 11:56 ` [Bug target/12166] " sean dot johnston at xenicom dot com
@ 2003-09-18 12:12 ` ebotcazou at gcc dot gnu dot org
  2003-09-18 12:19 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-18 12:12 UTC (permalink / raw)
  To: gcc-bugs

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
  GCC build triplet|                            |sparc-sun-solaris2.8
   GCC host triplet|                            |sparc-sun-solaris2.8
 GCC target triplet|                            |sparc-sun-solaris2.8
           Priority|P2                          |P1
   Last reconfirmed|0000-00-00 00:00:00         |2003-09-18 11:49:52
               date|                            |
            Summary|Profiled programs crash if  |Profiled programs crash if
                   |PROFDIR is set on Solaris 8 |PROFDIR is set
   Target Milestone|---                         |3.3.2


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-18 11:49 -------
Confirmed. Regression from egcs-1.1.1 according to Theodore.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/12166] Profiled programs crash if PROFDIR is set
  2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
  2003-09-18 11:56 ` [Bug target/12166] " sean dot johnston at xenicom dot com
  2003-09-18 12:12 ` [Bug target/12166] Profiled programs crash if PROFDIR is set ebotcazou at gcc dot gnu dot org
@ 2003-09-18 12:19 ` ebotcazou at gcc dot gnu dot org
  2003-09-18 14:27 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-18 12:19 UTC (permalink / raw)
  To: gcc-bugs

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-18 11:51 -------
Taking care of Theodore's patch.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/12166] Profiled programs crash if PROFDIR is set
  2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
                   ` (2 preceding siblings ...)
  2003-09-18 12:19 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-18 14:27 ` ebotcazou at gcc dot gnu dot org
  2003-09-19  6:43 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-18 14:27 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-18 12:19 -------
The original patch doesn't work on SPARC64. The 'st' mnemonic should be replaced
by the macro 'stn'.


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/12166] Profiled programs crash if PROFDIR is set
  2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
                   ` (3 preceding siblings ...)
  2003-09-18 14:27 ` ebotcazou at gcc dot gnu dot org
@ 2003-09-19  6:43 ` cvs-commit at gcc dot gnu dot org
  2003-09-19  6:55 ` cvs-commit at gcc dot gnu dot org
  2003-09-19  7:41 ` ebotcazou at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-19  6:43 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-19 06:24 -------
Subject: Bug 12166

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	ebotcazou@gcc.gnu.org	2003-09-19 06:24:35

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sol2-c1.asm 

Log message:
	PR target/12166
	* config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.1094&r2=2.1095
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2-c1.asm.diff?cvsroot=gcc&r1=1.3&r2=1.4


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/12166] Profiled programs crash if PROFDIR is set
  2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
                   ` (4 preceding siblings ...)
  2003-09-19  6:43 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-19  6:55 ` cvs-commit at gcc dot gnu dot org
  2003-09-19  7:41 ` ebotcazou at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2003-09-19  6:55 UTC (permalink / raw)
  To: gcc-bugs

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



------- Additional Comments From cvs-commit at gcc dot gnu dot org  2003-09-19 06:27 -------
Subject: Bug 12166

CVSROOT:	/cvs/gcc
Module name:	gcc
Branch: 	gcc-3_3-branch
Changes by:	ebotcazou@gcc.gnu.org	2003-09-19 06:27:33

Modified files:
	gcc            : ChangeLog 
	gcc/config/sparc: sol2-c1.asm 

Log message:
	PR target/12166
	* config/sparc/sol2-c1.asm (start): Set __Argv if GCRT1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.16114.2.744&r2=1.16114.2.745
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/sparc/sol2-c1.asm.diff?cvsroot=gcc&only_with_tag=gcc-3_3-branch&r1=1.3&r2=1.3.74.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Bug target/12166] Profiled programs crash if PROFDIR is set
  2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
                   ` (5 preceding siblings ...)
  2003-09-19  6:55 ` cvs-commit at gcc dot gnu dot org
@ 2003-09-19  7:41 ` ebotcazou at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2003-09-19  7:41 UTC (permalink / raw)
  To: gcc-bugs

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


ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2003-09-19 06:29 -------
See http://gcc.gnu.org/ml/gcc-patches/2003-09/msg01206.html


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-09-19  6:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-04 14:01 [Bug target/12166] New: Profiled programs crash if PROFDIR is set on Solaris 8 sean dot johnston at xenicom dot com
2003-09-18 11:56 ` [Bug target/12166] " sean dot johnston at xenicom dot com
2003-09-18 12:12 ` [Bug target/12166] Profiled programs crash if PROFDIR is set ebotcazou at gcc dot gnu dot org
2003-09-18 12:19 ` ebotcazou at gcc dot gnu dot org
2003-09-18 14:27 ` ebotcazou at gcc dot gnu dot org
2003-09-19  6:43 ` cvs-commit at gcc dot gnu dot org
2003-09-19  6:55 ` cvs-commit at gcc dot gnu dot org
2003-09-19  7:41 ` ebotcazou at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).