public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* bootstrap/9045: libintl and libiconv not found at first ./xgcc usage
@ 2002-12-23 12:36 warren.dodge
  0 siblings, 0 replies; only message in thread
From: warren.dodge @ 2002-12-23 12:36 UTC (permalink / raw)
  To: gcc-gnats


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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-12-23 20:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-23 12:36 bootstrap/9045: libintl and libiconv not found at first ./xgcc usage warren.dodge

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).