From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23503 invoked by alias); 22 Sep 2004 15:51:50 -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 23487 invoked from network); 22 Sep 2004 15:51:49 -0000 Received: from unknown (HELO rwcrmhc12.comcast.net) (216.148.227.85) by sourceware.org with SMTP; 22 Sep 2004 15:51:49 -0000 Received: from lucon.org ([24.6.212.230]) by comcast.net (rwcrmhc12) with ESMTP id <200409221551480140042s6ne>; Wed, 22 Sep 2004 15:51:49 +0000 Received: by lucon.org (Postfix, from userid 1000) id DE36F63F4D; Wed, 22 Sep 2004 08:51:47 -0700 (PDT) Date: Wed, 22 Sep 2004 16:33:00 -0000 From: "H. J. Lu" To: Zdenek Dvorak Cc: gcc@gcc.gnu.org Subject: Re: Build problem on ia64 Message-ID: <20040922155147.GA12940@lucon.org> References: <20040922100014.GA6215@atrey.karlin.mff.cuni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040922100014.GA6215@atrey.karlin.mff.cuni.cz> User-Agent: Mutt/1.4.1i X-SW-Source: 2004-09/txt/msg01285.txt.bz2 On Wed, Sep 22, 2004 at 12:00:14PM +0200, Zdenek Dvorak wrote: > Hello, > > when configure is run for libstdc++-v3 during build, I get the following error: > > configure:2417: checking for C compiler default output file name > configure:2420: /abuild/gcc-test/gcc/objdir/gcc/xgcc -B/abuild/gcc-test/gcc/objdir/gcc/ -B/usr/local/ia64-unknown-linux-gnu/bin/ -B/usr/local/ia64-unknown-linux-gnu/lib/ -isystem /usr/local/ia64-unknown-linux-gnu/include -isystem /usr/local/ia64-unknown-linux-gnu/sys-include -O2 -g -O2 -O2 -g -O2 conftest.c >&5 > configure:2423: $? = 0 > configure:2469: result: a.out > configure:2474: checking whether the C compiler works > configure:2480: ./a.out > ./a.out: error while loading shared libraries: libunwind.so.7: cannot open shared object file: No such file or directory > configure:2483: $? = 127 > configure:2492: error: cannot run C compiled programs. > If you meant to cross compile, use `--host'. > See `config.log' for more details. > > libunwind.so.7 is built in gcc directory, but linker apparently is not > told in where to find it (with LD_LIBRARY_PATH set the things work > correctly). > > Where is the right place to fix this (I have very little understanding > of how gcc's build system works :-( )? See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=17464 H.J.