This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc-3.1 build fails on Solaris-2.7 with --with_gnu_ld
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Christophe Lyon <christophe dot lyon at st dot com>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 24 Jul 2002 23:27:47 -0400 (EDT)
- Subject: Re: gcc-3.1 build fails on Solaris-2.7 with --with_gnu_ld
On Wed, 24 Jul 2002, Christophe Lyon wrote:
> /usr/lib/libdl.so.1: could not read symbols: Invalid operation
>
> Indeed, I think it should read /usr/lib/sparcv9/libdl.so in that case.
> Playing with LD_LIBRARY_PATH can solve this issue, but I don't really
> want /usr/lib/sparcv9 to be first in my $LD_LIBRARY_PATH all the time!
That's what LD_LIBRARY_PATH_64 is for, however...
> Is this a know bug, or am I doing something wrong?
...I suspect a binutils bug. The incompatible library should be skipped.
You could try a newer binutils, or build with Sun's as/ld, or disable
multilibs.
Jeff