public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/17134] New: collect2 not handling SIGPIPE
@ 2004-08-21 23:29 gschafer at zip dot com dot au
  2004-08-21 23:33 ` [Bug driver/17134] " gschafer at zip dot com dot au
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: gschafer at zip dot com dot au @ 2004-08-21 23:29 UTC (permalink / raw)
  To: gcc-bugs

Here is a test case:

gcc -v -x c /dev/null -o /dev/null -Wl,--verbose -v 2>&1 | \
 sed -e /OUTPUT_ARCH/q'

(don't run that as root, it might wipe out your /dev/null !)

After executing the above, gcc leaves some junk files in /tmp. Eg:

$ ls -al /tmp/cc*
-rw-------    1 gws      gws          8585 Aug 22 09:19 /tmp/ccFNEFU5.ld
-rw-------    1 gws      gws             0 Aug 22 09:19 /tmp/cccsUmk7.o
-rw-------    1 gws      gws             0 Aug 22 09:19 /tmp/ccdQh8J8.c

This is a distilled test case from the Glibc build. Gcc should not be
unexpectedly quitting and leaving junk files around IMHO.

Here is some more detail:

http://www.diy-linux.org/pipermail/diy-linux-dev/2004-August/000069.html

Thanks

-- 
           Summary: collect2 not handling SIGPIPE
           Product: gcc
           Version: 3.4.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gschafer at zip dot com dot au
                CC: gcc-bugs at gcc dot gnu dot org
  GCC host triplet: i686-pc-linux-gnu


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


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

* [Bug driver/17134] collect2 not handling SIGPIPE
  2004-08-21 23:29 [Bug driver/17134] New: collect2 not handling SIGPIPE gschafer at zip dot com dot au
@ 2004-08-21 23:33 ` gschafer at zip dot com dot au
  2004-08-21 23:44 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: gschafer at zip dot com dot au @ 2004-08-21 23:33 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From gschafer at zip dot com dot au  2004-08-21 23:33 -------
Oops, I messed up the test case. Here it is again:

gcc -v -x c /dev/null -o /dev/null -Wl,--verbose -v 2>&1 | sed -e '/OUTPUT_ARCH/q'

-- 


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


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

* [Bug driver/17134] collect2 not handling SIGPIPE
  2004-08-21 23:29 [Bug driver/17134] New: collect2 not handling SIGPIPE gschafer at zip dot com dot au
  2004-08-21 23:33 ` [Bug driver/17134] " gschafer at zip dot com dot au
@ 2004-08-21 23:44 ` pinskia at gcc dot gnu dot org
  2004-08-22  0:10 ` amodra at bigpond dot net dot au
  2004-08-22  0:15 ` amodra at bigpond dot net dot au
  3 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-08-21 23:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-08-21 23:44 -------
Not our bug binutils is producing these files.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug driver/17134] collect2 not handling SIGPIPE
  2004-08-21 23:29 [Bug driver/17134] New: collect2 not handling SIGPIPE gschafer at zip dot com dot au
  2004-08-21 23:33 ` [Bug driver/17134] " gschafer at zip dot com dot au
  2004-08-21 23:44 ` pinskia at gcc dot gnu dot org
@ 2004-08-22  0:10 ` amodra at bigpond dot net dot au
  2004-08-22  0:15 ` amodra at bigpond dot net dot au
  3 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-08-22  0:10 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-08-22 00:10 -------
Andrew doesn't know what he's talking about when it comes to binutils.  :)

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


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

* [Bug driver/17134] collect2 not handling SIGPIPE
  2004-08-21 23:29 [Bug driver/17134] New: collect2 not handling SIGPIPE gschafer at zip dot com dot au
                   ` (2 preceding siblings ...)
  2004-08-22  0:10 ` amodra at bigpond dot net dot au
@ 2004-08-22  0:15 ` amodra at bigpond dot net dot au
  3 siblings, 0 replies; 8+ messages in thread
From: amodra at bigpond dot net dot au @ 2004-08-22  0:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From amodra at bigpond dot net dot au  2004-08-22 00:15 -------
$ grep '\.ld"' collect2.*
collect2.c:  ldout = make_temp_file (".ld");
$ grep '\.c"' collect2.*
collect2.c:  c_file = make_temp_file (".c");
$ grep '\.o"' collect2.*
collect2.c:  o_file = make_temp_file (".o");


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2004-08-22 00:15:14
               date|                            |


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


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

* [Bug driver/17134] collect2 not handling SIGPIPE
       [not found] <bug-17134-4@http.gcc.gnu.org/bugzilla/>
  2021-08-31  3:56 ` pinskia at gcc dot gnu.org
  2021-08-31  6:31 ` pinskia at gcc dot gnu.org
@ 2021-08-31  6:31 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-31  6:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17134

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

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

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
.

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

* [Bug driver/17134] collect2 not handling SIGPIPE
       [not found] <bug-17134-4@http.gcc.gnu.org/bugzilla/>
  2021-08-31  3:56 ` pinskia at gcc dot gnu.org
@ 2021-08-31  6:31 ` pinskia at gcc dot gnu.org
  2021-08-31  6:31 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-31  6:31 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17134

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |12.0

--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Fixed by r12-3243.

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

* [Bug driver/17134] collect2 not handling SIGPIPE
       [not found] <bug-17134-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-31  3:56 ` pinskia at gcc dot gnu.org
  2021-08-31  6:31 ` pinskia at gcc dot gnu.org
  2021-08-31  6:31 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-31  3:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=17134

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED
                URL|                            |https://gcc.gnu.org/piperma
                   |                            |il/gcc-patches/2021-August/
                   |                            |578428.html
           Assignee|unassigned at gcc dot gnu.org      |pinskia at gcc dot gnu.org

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Mine, I "accidently" fixed this while working on a different bug ....

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

end of thread, other threads:[~2021-08-31  6:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-21 23:29 [Bug driver/17134] New: collect2 not handling SIGPIPE gschafer at zip dot com dot au
2004-08-21 23:33 ` [Bug driver/17134] " gschafer at zip dot com dot au
2004-08-21 23:44 ` pinskia at gcc dot gnu dot org
2004-08-22  0:10 ` amodra at bigpond dot net dot au
2004-08-22  0:15 ` amodra at bigpond dot net dot au
     [not found] <bug-17134-4@http.gcc.gnu.org/bugzilla/>
2021-08-31  3:56 ` pinskia at gcc dot gnu.org
2021-08-31  6:31 ` pinskia at gcc dot gnu.org
2021-08-31  6:31 ` pinskia at gcc dot gnu.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).