[Bug bootstrap/43819] Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile"
--- Comment #5 from pinskia at gmail dot com 2010-04-20 16:38 --- Subject: Re: Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile" Sent from my iPhone On Apr 20, 2010, at 8:42 AM, "florin at iucha dot net" wrote: > > > --- Comment #2 from florin at iucha dot net 2010-04-20 15:42 > --- > The 'missing' library is in fact present: > Yes it is present but that directory is not looked at during the runtime, use either LD_LIBRARY_PATH or edit /etc/ld.so.conf and run ldconf. > $ ls -l /usr/local.296/lib/ > total 4260 > -rw-r--r--1 root root 1726470 Apr 20 15:00 libelf.a > lrwxrwxrwx1 root root 16 Apr 20 15:00 libelf.so -> > libelf.so.0.8.12 > lrwxrwxrwx1 root root 16 Apr 20 15:00 libelf.so.0 -> > libelf.so.0.8.12 > -rwxr-xr-x1 root root 287786 Apr 20 15:00 libelf.so. > 0.8.12 > -rw-r--r--1 root root 774602 Apr 19 23:49 libgmp.a > -rwxr-xr-x1 root root 921 Apr 19 23:49 libgmp.la > lrwxrwxrwx1 root root 16 Apr 19 23:49 libgmp.so -> > libgmp.so.10.0.1 > lrwxrwxrwx1 root root 16 Apr 19 23:49 libgmp.so.10 > -> > libgmp.so.10.0.1 > -rwxr-xr-x1 root root 417082 Apr 19 23:49 libgmp.so. > 10.0.1 > -rw-r--r--1 root root 135776 Apr 19 23:57 libmpc.a > -rwxr-xr-x1 root root 1012 Apr 19 23:57 libmpc.la > lrwxrwxrwx1 root root 15 Apr 19 23:57 libmpc.so -> > libmpc.so.2.0.0 > lrwxrwxrwx1 root root 15 Apr 19 23:57 libmpc.so.2 -> > libmpc.so.2.0.0 > -rwxr-xr-x1 root root82707 Apr 19 23:57 libmpc.so. > 2.0.0 > -rw-r--r--1 root root 545650 Apr 19 23:55 libmpfr.a > -rwxr-xr-x1 root root 989 Apr 19 23:55 libmpfr.la > lrwxrwxrwx1 root root 16 Apr 19 23:55 libmpfr.so -> > libmpfr.so.1.2.2 > lrwxrwxrwx1 root root 16 Apr 19 23:55 libmpfr.so.1 > -> > libmpfr.so.1.2.2 > -rwxr-xr-x1 root root 317404 Apr 19 23:55 libmpfr.so. > 1.2.2 > drwxr-xr-x3 root root 4096 Apr 20 15:00 locale > drwxr-xr-x2 root root 4096 Apr 20 15:00 pkgconfig > $ ldd /usr/local.296/lib/libmpc.so.2 >libmpfr.so.1 => /usr/local.296/lib/libmpfr.so.1 (0x40011000) >libgmp.so.10 => /usr/local.296/lib/libgmp.so.10 (0x40055000) >libc.so.6 => /lib/i686/libc.so.6 (0x4200) >/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000) > > > -- > > florin at iucha dot net changed: > > What|Removed |Added > --- > --- > -- > CC||florin at iucha dot > net > > > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43819 > -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43819
Re: [Bug bootstrap/43819] Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile"
Sent from my iPhone On Apr 20, 2010, at 8:42 AM, "florin at iucha dot net" > wrote: --- Comment #2 from florin at iucha dot net 2010-04-20 15:42 --- The 'missing' library is in fact present: Yes it is present but that directory is not looked at during the runtime, use either LD_LIBRARY_PATH or edit /etc/ld.so.conf and run ldconf. $ ls -l /usr/local.296/lib/ total 4260 -rw-r--r--1 root root 1726470 Apr 20 15:00 libelf.a lrwxrwxrwx1 root root 16 Apr 20 15:00 libelf.so -> libelf.so.0.8.12 lrwxrwxrwx1 root root 16 Apr 20 15:00 libelf.so.0 -> libelf.so.0.8.12 -rwxr-xr-x1 root root 287786 Apr 20 15:00 libelf.so. 0.8.12 -rw-r--r--1 root root 774602 Apr 19 23:49 libgmp.a -rwxr-xr-x1 root root 921 Apr 19 23:49 libgmp.la lrwxrwxrwx1 root root 16 Apr 19 23:49 libgmp.so -> libgmp.so.10.0.1 lrwxrwxrwx1 root root 16 Apr 19 23:49 libgmp.so.10 -> libgmp.so.10.0.1 -rwxr-xr-x1 root root 417082 Apr 19 23:49 libgmp.so. 10.0.1 -rw-r--r--1 root root 135776 Apr 19 23:57 libmpc.a -rwxr-xr-x1 root root 1012 Apr 19 23:57 libmpc.la lrwxrwxrwx1 root root 15 Apr 19 23:57 libmpc.so -> libmpc.so.2.0.0 lrwxrwxrwx1 root root 15 Apr 19 23:57 libmpc.so.2 -> libmpc.so.2.0.0 -rwxr-xr-x1 root root82707 Apr 19 23:57 libmpc.so. 2.0.0 -rw-r--r--1 root root 545650 Apr 19 23:55 libmpfr.a -rwxr-xr-x1 root root 989 Apr 19 23:55 libmpfr.la lrwxrwxrwx1 root root 16 Apr 19 23:55 libmpfr.so -> libmpfr.so.1.2.2 lrwxrwxrwx1 root root 16 Apr 19 23:55 libmpfr.so.1 -> libmpfr.so.1.2.2 -rwxr-xr-x1 root root 317404 Apr 19 23:55 libmpfr.so. 1.2.2 drwxr-xr-x3 root root 4096 Apr 20 15:00 locale drwxr-xr-x2 root root 4096 Apr 20 15:00 pkgconfig $ ldd /usr/local.296/lib/libmpc.so.2 libmpfr.so.1 => /usr/local.296/lib/libmpfr.so.1 (0x40011000) libgmp.so.10 => /usr/local.296/lib/libgmp.so.10 (0x40055000) libc.so.6 => /lib/i686/libc.so.6 (0x4200) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000) -- florin at iucha dot net changed: What|Removed |Added --- --- -- CC||florin at iucha dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43819
[Bug bootstrap/43819] Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile"
--- Comment #4 from florin at iucha dot net 2010-04-20 15:54 --- I will do that - but I was expecting that passing in the paths is sufficient. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43819
[Bug bootstrap/43819] Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile"
--- Comment #3 from rguenth at gcc dot gnu dot org 2010-04-20 15:45 --- You need to adjust your LD_LIBRARY_PATH so the library is picked up at runtime. -- rguenth at gcc dot gnu dot org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution||INVALID http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43819
[Bug bootstrap/43819] Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile"
--- Comment #2 from florin at iucha dot net 2010-04-20 15:42 --- The 'missing' library is in fact present: $ ls -l /usr/local.296/lib/ total 4260 -rw-r--r--1 root root 1726470 Apr 20 15:00 libelf.a lrwxrwxrwx1 root root 16 Apr 20 15:00 libelf.so -> libelf.so.0.8.12 lrwxrwxrwx1 root root 16 Apr 20 15:00 libelf.so.0 -> libelf.so.0.8.12 -rwxr-xr-x1 root root 287786 Apr 20 15:00 libelf.so.0.8.12 -rw-r--r--1 root root 774602 Apr 19 23:49 libgmp.a -rwxr-xr-x1 root root 921 Apr 19 23:49 libgmp.la lrwxrwxrwx1 root root 16 Apr 19 23:49 libgmp.so -> libgmp.so.10.0.1 lrwxrwxrwx1 root root 16 Apr 19 23:49 libgmp.so.10 -> libgmp.so.10.0.1 -rwxr-xr-x1 root root 417082 Apr 19 23:49 libgmp.so.10.0.1 -rw-r--r--1 root root 135776 Apr 19 23:57 libmpc.a -rwxr-xr-x1 root root 1012 Apr 19 23:57 libmpc.la lrwxrwxrwx1 root root 15 Apr 19 23:57 libmpc.so -> libmpc.so.2.0.0 lrwxrwxrwx1 root root 15 Apr 19 23:57 libmpc.so.2 -> libmpc.so.2.0.0 -rwxr-xr-x1 root root82707 Apr 19 23:57 libmpc.so.2.0.0 -rw-r--r--1 root root 545650 Apr 19 23:55 libmpfr.a -rwxr-xr-x1 root root 989 Apr 19 23:55 libmpfr.la lrwxrwxrwx1 root root 16 Apr 19 23:55 libmpfr.so -> libmpfr.so.1.2.2 lrwxrwxrwx1 root root 16 Apr 19 23:55 libmpfr.so.1 -> libmpfr.so.1.2.2 -rwxr-xr-x1 root root 317404 Apr 19 23:55 libmpfr.so.1.2.2 drwxr-xr-x3 root root 4096 Apr 20 15:00 locale drwxr-xr-x2 root root 4096 Apr 20 15:00 pkgconfig $ ldd /usr/local.296/lib/libmpc.so.2 libmpfr.so.1 => /usr/local.296/lib/libmpfr.so.1 (0x40011000) libgmp.so.10 => /usr/local.296/lib/libgmp.so.10 (0x40055000) libc.so.6 => /lib/i686/libc.so.6 (0x4200) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x8000) -- florin at iucha dot net changed: What|Removed |Added CC||florin at iucha dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43819
[Bug bootstrap/43819] Bootstrapping GCC 4.5.0 fails with "cannot compute suffix of object files: cannot compile"
--- Comment #1 from florin at iucha dot net 2010-04-20 15:41 --- Created an attachment (id=20445) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20445&action=view) libgcc config log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43819