From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2284 invoked by alias); 20 Dec 2004 12:44:41 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 2149 invoked by uid 48); 20 Dec 2004 12:44:30 -0000 Date: Mon, 20 Dec 2004 12:44:00 -0000 From: "m at verified dot de" To: gcc-bugs@gcc.gnu.org Message-ID: <20041220124425.19089.m@verified.de> Reply-To: gcc-bugzilla@gcc.gnu.org Subject: [Bug c/19089] New: Environment variable TMP may yield gcc: abort with internal error X-Bugzilla-Reason: CC X-SW-Source: 2004-12/txt/msg02862.txt.bz2 List-Id: When a (bash) environment variable TMP is set to a file with execution rights 0755, gcc aborts with an internal error. E.g.: # -- bash shell -------------------------------------------------------------- $ uname -a CYGWIN_NT-5.1 DF8JLP0J 1.5.5(0.94/3/2) 2003-09-20 16:31 i686 unknown unknown Cygwin $ gcc --version gcc (GCC) 3.3.1 (cygming special) Copyright (C) 2003 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. $ cat a.c #include #include int main(int argc , char *argv[]){ printf("Ok.\n"); return 0; } $ unset TMP $ gcc -save-temps a.c $ touch /tmp/file.txt $ export TMP=/tmp/file.txt $ gcc -save-temps a.c $ chmod u+x /tmp/file.txt $ gcc -save-temps a.c $ chmod 0755 /tmp/file.txt $ gcc -save-temps a.c gcc: Internal error: Aborted (program collect2) Please submit a full bug report. See for instructions. ## ---------------------------------------------------------- The MAN page does not note a dependency to TMP (only TMPDIR) ist listed. -- Summary: Environment variable TMP may yield gcc: abort with internal error Product: gcc Version: 3.3.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: m at verified dot de CC: gcc-bugs at gcc dot gnu dot org,m at verified dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19089