bootstrap/10734: make bootstrap fails to find libiconv follow on to bootstrap/10728

warren.dodge@tek.com warren.dodge@tek.com
Sat May 10 20:46:00 GMT 2003


>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:



More information about the Gcc-bugs mailing list