This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: libgcc.a: could not read symbols: Bad value [Solaris 2.6; gcc-2.95]
- To: rutger dot nijlunsing at best dot ms dot philips dot com
- Subject: Re: libgcc.a: could not read symbols: Bad value [Solaris 2.6; gcc-2.95]
- From: Alexandre Oliva <aoliva at cygnus dot com>
- Date: 23 Mar 2000 08:03:03 -0300
- Cc: gcc-bugs at gcc dot gnu dot org
- Organization: Cygnus Solutions, a Red Hat Company
- References: <20000323114404.F734@krypton.best.ms.philips.com>
On Mar 23, 2000, Rutger Nijlunsing <rutger.nijlunsing@best.ms.philips.com> wrote:
> --enable-shared --with-gnu-as --with-gnu-ld --enable-threads=solaris
> --enable-cpp
> So the GNU 'ld' and 'as' were used.
No, you just told GCC to *expect* to find GNU as and GNU ld in its
built-in program directories, which include /usr/ccs/bin, so it never
gets to search the PATH. It probably didn't during build-time, and
that's why it created a broken libgcc.a.
> Someone has got any idea how to fix this?
Follow the instructions at http://gcc.gnu.org/cgi-bin/fom.cgi?file=16
--
Alexandre Oliva Enjoy Guaranį, see http://www.ic.unicamp.br/~oliva/
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me