public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: warren.dodge@tek.com
To: gcc-gnats@gcc.gnu.org
Cc: mark@codesourcery.com
Subject: bootstrap/10734: make bootstrap fails to find libiconv follow on to bootstrap/10728
Date: Sat, 10 May 2003 20:46:00 -0000	[thread overview]
Message-ID: <20030510204416.10522.qmail@sources.redhat.com> (raw)


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


             reply	other threads:[~2003-05-10 20:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-10 20:46 warren.dodge [this message]
2003-05-12 18:19 mmitchel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030510204416.10522.qmail@sources.redhat.com \
    --to=warren.dodge@tek.com \
    --cc=gcc-gnats@gcc.gnu.org \
    --cc=mark@codesourcery.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).