public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/10734: make bootstrap fails to find libiconv follow on to bootstrap/10728
@ 2003-05-10 20:46 warren.dodge
  0 siblings, 0 replies; 2+ messages in thread
From: warren.dodge @ 2003-05-10 20:46 UTC (permalink / raw)
  To: gcc-gnats; +Cc: mark


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: bootstrap/10734: make bootstrap fails to find libiconv follow on to bootstrap/10728
@ 2003-05-12 18:19 mmitchel
  0 siblings, 0 replies; 2+ messages in thread
From: mmitchel @ 2003-05-12 18:19 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, mark, nobody, warren.dodge

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

State-Changed-From-To: open->closed
State-Changed-By: mmitchel
State-Changed-When: Mon May 12 18:18:08 2003
State-Changed-Why:
    We have already created a FAQ entry for this issue.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=10734


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-12 18:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-10 20:46 bootstrap/10734: make bootstrap fails to find libiconv follow on to bootstrap/10728 warren.dodge
2003-05-12 18:19 mmitchel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).