From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18463 invoked by alias); 23 Dec 2002 20:36:03 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 18443 invoked by uid 71); 23 Dec 2002 20:36:02 -0000 Resent-Date: 23 Dec 2002 20:36:02 -0000 Resent-Message-ID: <20021223203602.18442.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org Resent-Reply-To: gcc-gnats@gcc.gnu.org, warren.dodge@tektronix.com Received: (qmail 18072 invoked by uid 61); 23 Dec 2002 20:32:07 -0000 Message-Id: <20021223203207.18071.qmail@sources.redhat.com> Date: Mon, 23 Dec 2002 12:36:00 -0000 From: warren.dodge@tektronix.com Reply-To: warren.dodge@tektronix.com To: gcc-gnats@gcc.gnu.org X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) Subject: bootstrap/9045: libintl and libiconv not found at first ./xgcc usage X-SW-Source: 2002-12/txt/msg01246.txt.bz2 List-Id: >Number: 9045 >Category: bootstrap >Synopsis: libintl and libiconv not found at first ./xgcc usage >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Mon Dec 23 12:36:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Warren Dodge >Release: gcc-3.2.1 >Organization: >Environment: Solaris 2.5.1 with libiconv and libintl available >Description: I tried to configure and build gcc with this command ../gcc-3.2.1/configure --prefix=/proj/wdt/gnu_sun5.1/gcc-3.2.1 --with-local-prefix=/proj/wdt/gnu_sun5.1/gcc-3.2.1 --with-gnu-ld --with-ld=/proj/wdt/gnu_sun5.1/binutils/bin/ld --with-gnu-nm --with-nm=/proj/wdt/gnu_sun5.1/binutils/bin/nm --with-gnu-as --with-as=/proj/wdt/gnu_sun5.1/binutils/bin/as --enable-threads=posix --enable-shared --with-libiconv-prefix=/proj/wdt/gnu_sun5.1/libiconv-1.8 then ran gmake bootstrap When it gets to the point of running xgcc for the first time it can not find libintl or libiconv as shown below. I thought the above iconv switch would make it find that. Not sure what is going on with libintl. ./xgcc -B./ -B/proj/wdt/gnu_sun5.1/gcc-3.2.1/sparc-sun-solaris2.5.1/bin/ -isystem /proj/wdt/gnu_sun5.1/gcc-3.2.1/sparc-sun-solaris2.5.1/include -isystem /proj/wdt/gnu_sun5.1/gcc-3.2.1/sparc-sun-solaris2.5.1/sys-include -dumpspecs > tmp-specs ld.so.1: ./xgcc: fatal: libintl.so.2: open failed: No such file or directory Killed gmake[2]: *** [specs] Error 137 gmake[2]: Leaving directory `/proj/wdtold/warrend/gnusrc/gcc-everything-3.2.1/gcc-3.2.1_sun5.1/gcc' gmake[1]: *** [stage1_build] Error 2 gmake[1]: Leaving directory `/proj/wdtold/warrend/gnusrc/gcc-everything-3.2.1/gcc-3.2.1_sun5.1/gcc' gmake: *** [bootstrap] Error 2 ldd gcc/xgcc libintl.so.2 => (file not found) libiconv.so.2 => (file not found) libc.so.1 => /usr/lib/libc.so.1 libdl.so.1 => /usr/lib/libdl.so.1 /usr/platform/SUNW,Ultra-1/lib/libc_psr.so.1 The same configure with sun5.1 changed to sun5.8 works fine on solaris8 >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: