This is the mail archive of the gcc@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]

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


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