public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Zack Weinberg <zack@codesourcery.com>
To: nobody@gcc.gnu.org
Cc: gcc-prs@gcc.gnu.org,
Subject: Re: other/6903: gcc could give better error message when /tmp gets full
Date: Sat, 01 Jun 2002 16:06:00 -0000 [thread overview]
Message-ID: <20020601230601.2386.qmail@sources.redhat.com> (raw)
The following reply was made to PR other/6903; it has been noted by GNATS.
From: Zack Weinberg <zack@codesourcery.com>
To: 25824@bugs.debian.org
Cc: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org
Subject: Re: other/6903: gcc could give better error message when /tmp gets full
Date: Sat, 1 Jun 2002 15:59:04 -0700
On Sun, Jun 02, 2002 at 12:34:20AM +0200, Matthias Klose wrote:
>
> merry$ gcc -Wall -Werror -Wmissing-prototypes -g -O2 -I. -DSTDC_HEADERS=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 Test.c -o Test
> cc1: /tmp/ccb04872: I/O error
>
> This happened repeatedly when /tmp filled up during compilation (Test.c is
> over a megabyte long)... A better error message might mention "device
> full" or some such.
GCC is at the mercy of the operating system here; if it chooses to set
errno to EIO instead of ENOSPC on a disk-full condition, and therefore
strerror() returns "I/O error" instead of "Out of space on device", we
can't do much about that. (Or anyway I can't think of anything.
Suggestions are welcome.)
zw
next reply other threads:[~2002-06-01 23:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-06-01 16:06 Zack Weinberg [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-03-12 18:49 neroden
2002-12-09 14:14 ehrhardt
2002-06-01 15:46 Matthias Klose
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020601230601.2386.qmail@sources.redhat.com \
--to=zack@codesourcery.com \
--cc=gcc-prs@gcc.gnu.org \
--cc=nobody@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).