public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/48306] New: presence of gcc subdir with . in PATH causes breakdown
@ 2011-03-28  1:44 karl at freefriends dot org
  2011-03-28  9:45 ` [Bug driver/48306] " rguenth at gcc dot gnu.org
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: karl at freefriends dot org @ 2011-03-28  1:44 UTC (permalink / raw)
  To: gcc-bugs

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

           Summary: presence of gcc subdir with . in PATH causes breakdown
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: karl@freefriends.org


If a directory in PATH contains a subdirectory gcc/ (with executable access),
gcc fails to find its subprograms:

$ PATH=/tmp:$PATH
$ mkdir /tmp/gcc
$ gcc hello.c
gcc: error trying to exec 'cc1': execvp: No such file or directory
$ rmdir /tmp/gcc
$ gcc hello.c
$

If this behavior is explained or implicit in the documentation, sorry; I
couldn't find it.  It happens in at least gcc 4.5.x and 4.6.0.  I'm sure it
wasn't always this way.


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

end of thread, other threads:[~2012-08-16  7:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-28  1:44 [Bug driver/48306] New: presence of gcc subdir with . in PATH causes breakdown karl at freefriends dot org
2011-03-28  9:45 ` [Bug driver/48306] " rguenth at gcc dot gnu.org
2011-03-28 22:25 ` karl at freefriends dot org
2011-03-29 10:23 ` rguenth at gcc dot gnu.org
2011-03-29 10:23 ` [Bug driver/48306] [4.3/4.4/4.5/4.6/4.7 Regression] " rguenth at gcc dot gnu.org
2011-04-10 10:45 ` rguenth at gcc dot gnu.org
2011-06-27 15:14 ` rguenth at gcc dot gnu.org
2011-12-19 20:10 ` [Bug driver/48306] [4.4/4.5/4.6/4.7 " jakub at gcc dot gnu.org
2011-12-19 23:06 ` karl at freefriends dot org
2012-01-02 22:18 ` jakub at gcc dot gnu.org
2012-01-02 22:21 ` [Bug driver/48306] [4.4/4.5/4.6 " jakub at gcc dot gnu.org
2012-02-09 17:17 ` jakub at gcc dot gnu.org
2012-02-09 21:33 ` [Bug driver/48306] [4.4/4.5 " jakub at gcc dot gnu.org
2012-03-13 16:56 ` [Bug driver/48306] [4.4 " jakub at gcc dot gnu.org
2012-08-16  7:00 ` jakub 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).