This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/40602] crti.o: No such file



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]