public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug driver/32469]  New: error trying to exec 'cc1': execvp: No such file or directory
@ 2007-06-22 23:04 pluto at agmk dot net
  2007-06-22 23:13 ` [Bug driver/32469] " pluto at agmk dot net
  0 siblings, 1 reply; 3+ messages in thread
From: pluto at agmk dot net @ 2007-06-22 23:04 UTC (permalink / raw)
  To: gcc-bugs

every invocation of gcc fails with such error:

$ i386-mingw32-gcc hello_c.c -c -v
Using built-in specs.
Target: i386-mingw32
Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
--mandir=/usr/share/man --bindir=/usr/i386-mingw32/bin --libdir=/usr/lib64
--libexecdir=/usr/lib64 --includedir=/usr/i386-mingw32/include --disable-shared
--enable-threads --disable-nls --with-gnu-as --with-gnu-ld --with-mangler-in-ld
--disable-sjlj-exceptions --enable-languages=c,c++ --enable-c99
--enable-long-long --disable-libstdcxx-pch --enable-__cxa_atexit
--enable-libstdcxx-allocator=new --enable-cmath --with-long-double-128
--with-gxx-include-dir=/usr/i386-mingw32/include/c++/4.3.0
--build=x86_64-pld-linux --host=x86_64-pld-linux --target=i386-mingw32
Thread model: win32
gcc version 4.3.0 20070615 (experimental)
 cc1 -quiet -v -iprefix /usr/bin/../../lib64/gcc/i386-mingw32/4.3.0/ hello_c.c
-quiet -dumpbase hello_c.c -mtune=i386 -auxbase hello_c -version -o
/tmp/ccxepOxf.s
i386-mingw32-gcc: error trying to exec 'cc1': execvp: No such file or directory

as far i can see the `gcc' hasn't hardcoded path to cc1.
e.g. /usr/lib64/gcc/i386-mingw32/4.3.0/cc1.


-- 
           Summary: error trying to exec 'cc1': execvp: No such file or
                    directory
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: driver
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pluto at agmk dot net
 GCC build triplet: x86_64-gnu-linux
  GCC host triplet: x86_64-gnu-linux
GCC target triplet: i386-mingw32


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


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

* [Bug driver/32469] error trying to exec 'cc1': execvp: No such file or directory
  2007-06-22 23:04 [Bug driver/32469] New: error trying to exec 'cc1': execvp: No such file or directory pluto at agmk dot net
@ 2007-06-22 23:13 ` pluto at agmk dot net
  0 siblings, 0 replies; 3+ messages in thread
From: pluto at agmk dot net @ 2007-06-22 23:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pluto at agmk dot net  2007-06-22 23:13 -------
stat("/usr/bin/../../lib64/gcc/i386-mingw32/4.3.0/cc1", 0x7fff0e91cb00) = -1
ENOENT (No such file or directory)
stat("/usr/bin/../../lib64/gcc/cc1", 0x7fff0e91cb00) = -1 ENOENT (No such file
or directory)
stat("/usr/bin/../../lib64/gcc/i386-mingw32/4.3.0/../../../../i386-mingw32/bin/i386-mingw32/4.3.0/cc1",
0x7fff0e91cb00) = -1 ENOENT (No such file or directory)
stat("/usr/bin/../../lib64/gcc/i386-mingw32/4.3.0/../../../../i386-mingw32/bin/cc1",
0x7fff0e91cb00) = -1 ENOENT (No such file or directory)

the "/usr/bin/../../" looks bad. it should be rather a "/usr/bin/../"


-- 


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


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

* [Bug driver/32469] error trying to exec 'cc1': execvp: No such file or directory
       [not found] <bug-32469-4@http.gcc.gnu.org/bugzilla/>
@ 2010-10-29 14:01 ` ktietz at gcc dot gnu.org
  0 siblings, 0 replies; 3+ messages in thread
From: ktietz at gcc dot gnu.org @ 2010-10-29 14:01 UTC (permalink / raw)
  To: gcc-bugs

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

Kai Tietz <ktietz at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ktietz at gcc dot gnu.org
         Resolution|                            |INVALID

--- Comment #2 from Kai Tietz <ktietz at gcc dot gnu.org> 2010-10-29 14:01:15 UTC ---
Well, I can't reproduce this issue. But I assume you are invoking here not the
correct cross-compiler. There are two places you will find i386-pc-mingw32-gcc
(for cross-compilers). First is in your sysroot (which seems to be for your
configuration /usr/) in /usr/bin/ directory. The second place - and this is
what you are trying to execute - is <pefix>/<target>/bin. The latter is just
for internal use of binutils/gcc and is of internal use only.


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

end of thread, other threads:[~2010-10-29 14:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-22 23:04 [Bug driver/32469] New: error trying to exec 'cc1': execvp: No such file or directory pluto at agmk dot net
2007-06-22 23:13 ` [Bug driver/32469] " pluto at agmk dot net
     [not found] <bug-32469-4@http.gcc.gnu.org/bugzilla/>
2010-10-29 14:01 ` ktietz 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).