From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7886 invoked by alias); 29 Mar 2011 10:15:55 -0000 Received: (qmail 7876 invoked by uid 22791); 29 Mar 2011 10:15:55 -0000 X-SWARE-Spam-Status: No, hits=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 29 Mar 2011 10:15:51 +0000 From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug driver/48306] presence of gcc subdir with . in PATH causes breakdown X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: driver X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Status Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Tue, 29 Mar 2011 10:23:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-03/txt/msg02970.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48306 Richard Guenther changed: What |Removed |Added ---------------------------------------------------------------------------- Status|WAITING |NEW --- Comment #3 from Richard Guenther 2011-03-29 10:15:45 UTC --- Ok, I can reproduce it with ~> env -i PATH=/tmp:/space/rguenther/install/gcc-4.6.0/bin gcc t.c gcc: error trying to exec 'cc1': execvp: No such file or directory but not with ~> env -i PATH=/tmp:$PATH gcc-4.6 t.c t.c: In function 'main': t.c:10:3: warning: 'used' attribute ignored [-Wattributes] weird ;) Note that we try to search for the GCC install dir, it is not statically compiled in (so that install with DESTDIR works).