From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15327 invoked by alias); 10 May 2003 20:46:01 -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 15281 invoked by uid 71); 10 May 2003 20:46:01 -0000 Resent-Date: 10 May 2003 20:46:01 -0000 Resent-Message-ID: <20030510204601.15279.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, mark@codesourcery.com Resent-Reply-To: gcc-gnats@gcc.gnu.org, warren.dodge@tek.com Received: (qmail 10523 invoked by uid 48); 10 May 2003 20:44:16 -0000 Message-Id: <20030510204416.10522.qmail@sources.redhat.com> Date: Sat, 10 May 2003 20:46:00 -0000 From: warren.dodge@tek.com Reply-To: warren.dodge@tek.com To: gcc-gnats@gcc.gnu.org Cc: mark@codesourcery.com X-Send-Pr-Version: gnatsweb-2.9.3 (1.1.1.1.2.31) X-GNATS-Notify: mark@codesourcery.com Subject: bootstrap/10734: make bootstrap fails to find libiconv follow on to bootstrap/10728 X-SW-Source: 2003-05/txt/msg00994.txt.bz2 List-Id: >Number: 10734 >Category: bootstrap >Synopsis: make bootstrap fails to find libiconv follow on to bootstrap/10728 >Confidential: no >Severity: serious >Priority: medium >Responsible: unassigned >State: open >Class: sw-bug >Submitter-Id: net >Arrival-Date: Sat May 10 20:46:01 UTC 2003 >Closed-Date: >Last-Modified: >Originator: Warren Dodge >Release: gcc-3.3.3 20030508 >Organization: >Environment: solaris 8 gcc-3.2.3 binutils-2.13.2.1 libraries for libiconv all in non-conventional places. >Description: Earlier I reported that make bootstrap failed to find libiconv causing the make to fail. I read the directions again and found --with-libiconv-prefix=dir . I added this switch to the configure pointing at my dir where the include and libraries reside. That got me well beyond the original problem. However it failed again as it progressed from that stage to the next stage. Below is the failure. stage1/xgcc -Bstage1/ -B/proj/wdt/gnu_sun5.8/gcc-3.3-20030508/sparc-sun-solaris2.8/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.3-20030508/gcc -I../../gcc-3.3-20030508/gcc/. -I../../gcc-3.3-20030508/gcc/config -I../../gcc-3.3-20030508/gcc/../include \ -DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/proj/wdt/gnu_sun5.8/gcc-3.3-20030508/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.3\" -DDEFAULT_TARGET_MACHINE=\"sparc-sun-solaris2.8\" -DSTANDARD_BINDIR_PREFIX=\"/proj/wdt/gnu_sun5.8/gcc-3.3-20030508/bin/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \ -c ../../gcc-3.3-20030508/gcc/gccspec.c -o gccspec.o) stage1/xgcc -Bstage1/ -B/proj/wdt/gnu_sun5.8/gcc-3.3-20030508/sparc-sun-solaris2.8/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o xgcc gcc.o gccspec.o intl.o \ prefix.o version.o -lintl -L/proj/wdt/sun5.8/lib -liconv ../libiberty/libiberty.a stage1/xgcc -Bstage1/ -B/proj/wdt/gnu_sun5.8/gcc-3.3-20030508/sparc-sun-solaris2.8/bin/ -c -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I../../gcc-3.3-20030508/gcc -I../../gcc-3.3-20030508/gcc/. -I../../gcc-3.3-20030508/gcc/config -I../../gcc-3.3-20030508/gcc/../include ../../gcc-3.3-20030508/gcc/cppspec.c -o cppspec.o stage1/xgcc -Bstage1/ -B/proj/wdt/gnu_sun5.8/gcc-3.3-20030508/sparc-sun-solaris2.8/bin/ -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wtraditional -pedantic -Wno-long-long -DHAVE_CONFIG_H -o cpp gcc.o cppspec.o intl.o \ prefix.o version.o -lintl -L/proj/wdt/sun5.8/lib -liconv ../libiberty/libiberty.a ./xgcc -B./ -B/proj/wdt/gnu_sun5.8/gcc-3.3-20030508/sparc-sun-solaris2.8/bin/ -isystem /proj/wdt/gnu_sun5.8/gcc-3.3-20030508/sparc-sun-solaris2.8/include -isystem /proj/wdt/gnu_sun5.8/gcc-3.3-20030508/sparc-sun-solaris2.8/sys-include -dumpspecs > tmp-specs ld.so.1: ./xgcc: fatal: libintl.so.2: open failed: No such file or directory Killed make[2]: *** [specs] Error 137 make[2]: Leaving directory `/proj/wdtold/warrend/gnusrc/gcc-3.3-20030508/gcc-3.3-20030508_sun5.8/gcc' make[1]: *** [stage2_build] Error 2 make[1]: Leaving directory `/proj/wdtold/warrend/gnusrc/gcc-3.3-20030508/gcc-3.3-20030508_sun5.8/gcc' make: *** [bootstrap] Error 2 rosewood:gcc-3.3-20030508_sun5.8 651 > ldd gcc/xgcc libintl.so.2 => (file not found) libiconv.so.2 => (file not found) libc.so.1 => /usr/lib/libc.so.1 libgcc_s.so.1 => (file not found) libdl.so.1 => /usr/lib/libdl.so.1 /usr/platform/SUNW,Ultra-5_10/lib/libc_psr.so.1 >How-To-Repeat: >Fix: I think when the configure switch for libiconv is given that the steps that make xgcc and cpp should include a -Rdir so that xgcc remembers where the libs are at. or pass the switch information down further >Release-Note: >Audit-Trail: >Unformatted: