From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20521 invoked by alias); 25 Jul 2002 03:27:46 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 20514 invoked from network); 25 Jul 2002 03:27:46 -0000 Received: from unknown (HELO ops2.one-point.com) (216.234.116.146) by sources.redhat.com with SMTP; 25 Jul 2002 03:27:46 -0000 Received: from localhost (jsturm@localhost) by ops2.one-point.com (8.11.6/8.11.6) with ESMTP id g6P3Rlo21360; Wed, 24 Jul 2002 23:27:47 -0400 Date: Thu, 25 Jul 2002 05:43:00 -0000 From: Jeff Sturm To: Christophe Lyon cc: gcc@gcc.gnu.org Subject: Re: gcc-3.1 build fails on Solaris-2.7 with --with_gnu_ld In-Reply-To: <3D3EA281.20EA0224@st.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-07/txt/msg01195.txt.bz2 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