This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Linking problem when building gcc 4.6.2 on Ubuntu 10.11 (Oneiric)
- From: Ian Lance Taylor <iant at google dot com>
- To: Dana Robinson <dana dot e dot robinson at gmail dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Tue, 01 Nov 2011 11:59:56 -0700
- Subject: Re: Linking problem when building gcc 4.6.2 on Ubuntu 10.11 (Oneiric)
- References: <CADmxNimL=gUzzEjHxLrBN7XkP6W3vDPmnJcMi5PK8GazVzppVg@mail.gmail.com>
Dana Robinson <dana.e.robinson@gmail.com> writes:
> I'm trying to build gcc 4.6.2 (checked out from the 4.6.2 release
> branch in Subversion) on 64-bit Ubuntu 10.11 (Oneiric Ocelot) using
> gcc 4.6.1. My problem is that configuration and compilation work
> fine, but linking fails when ld can't find crti.o:
>
> /usr/bin/ld: cannot find crti.o: No such file or directory
> collect2: ld returned 1 exit status
> make[3]: *** [libgcc_s.so] Error 1
Debian, and therefore Ubuntu, have decided to move libraries from the
directories where they found on all other GNU/Linux distros. gcc has
not been changed accordingly. There is a proposed patch here:
http://gcc.gnu.org/ml/gcc-patches/2011-08/msg01649.html .
Ian