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; 7+ 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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-17134-4@http.gcc.gnu.org/bugzilla/>
2021-08-31  3:56 ` [Bug driver/17134] collect2 not handling SIGPIPE 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
2004-08-21 23:29 [Bug driver/17134] New: " 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

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).