This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/40602] crti.o: No such file
- From: "booleandomain at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 6 Jul 2009 23:06:38 -0000
- Subject: [Bug c/40602] crti.o: No such file
- References: <bug-40602-17891@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from booleandomain at gmail dot com 2009-07-06 23:06 -------
Now I'm trying to compile gcc-4.4.0 configured as follows:
../gcc-4.4.0/configure --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu
--target=x86_64-pc-linux-gnu --enable-languages=c --disable-multilib
make fails with the same error message.
crti.o is located at /usr/lib64/crti.o
this is the output of cat LOG | grep crti.o | grep ENOENT | grep lib64 after
having issued strace -f make 2> LOG:
[pid 32046]
access("/sources/gcc-build/gcc/../lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../x86_64-pc-linux-gnu/lib/../lib64/crti.o",
R_OK) = -1 ENOENT (No such file or directory)
[pid 32046]
access("/sources/gcc-build/gcc/../lib/gcc/x86_64-pc-linux-gnu/4.4.0/../../../../lib64/crti.o",
R_OK) = -1 ENOENT (No such file or directory)
[pid 32046] access("/lib/../lib64/crti.o", R_OK) = -1 ENOENT (No such file or
directory)
[pid 32046] access("/usr/lib/../lib64/crti.o", R_OK) = -1 ENOENT (No such file
or directory)
As you can see it tries to access /usr/lib64/crti.o, but inexplicably it can't
find it.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40602