This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.0.4 build failed on solaris 2.6
- From: "Gareth Pearce" <tilps at hotmail dot com>
- To: paullew at cisco dot com, bug-gcc at gnu dot org
- Date: Sun, 24 Feb 2002 02:25:26
- Subject: Re: gcc 3.0.4 build failed on solaris 2.6
- Bcc:
>
>Just grab the 3.0.4 and it failed to build on solaris 2.6. Fill build
>Log file attached.
>
> > uname -a
>SunOS cns-build2 5.6 Generic_105181-28 sun4u sparc
>
> > gcc -v
>Reading specs from
>/auto/insbu-cnstools/lib/gcc-lib/sparc-sun-solaris2.6/3.0.3/specs
>Configured with: ../gcc-3.0.3/configure --prefix=/auto/insbu-cnstools
>Thread model: posix
>gcc version 3.0.3
>
> > stage1/xgcc -Bstage1/ \
> -B/auto/insbu-cnstools/sparc-sun-solaris2.6/bin/ \
> -DIN_GCC -DSVR4 -g -O2 -W -Wall -Wwrite-strings \
> -Wstrict-prototypes -Wmissing-prototypes -Wtraditional \
> -pedantic -Wno-long-long -DHAVE_CONFIG_H -o jc1 \
> java/parse.o java/class.o java/decl.o java/expr.o \
> java/constants.o java/lang.o java/typeck.o java/except.o \
> java/verify.o java/zextract.o java/jcf-io.o java/jcf-parse.o \
> java/mangle.o java/mangle_name.o java/jcf-write.o java/buffer.o \
> java/check-init.o java/jcf-depend.o java/jcf-path.o java/xref.o \
> java/boehm.o mkdeps.o toplev.o libbackend.a -L../zlib -lz \
> obstack.o alloca.o ../libiberty/libiberty.a
>Undefined first referenced
> symbol in file
>libiconv java/parse.o
>libiconv_open java/parse.o
>libiconv_close java/parse.o
>ld: fatal: Symbol referencing errors. No output written to jc1
>collect2: ld returned 1 exit status
>make[2]: *** [jc1] Error 1
> -- Paul 02/23/02 05:30 PM --
>
><< gcc-3.0.4.log.bz2 >>
Umm - I had a similar experience on OSF/1 alpha
if i remember correctly the problem is that gcc changed from using
LD_LIBRARY_PATH to LIBRARY_PATH - and your iconv is is not in the default
search path.
Set your LIBRARY_PATH to be LD_LIBRARY_PATH and try again
Note: LIBRARY_PATH cant contain . while building gcc - so if your
LD_LIBRARY_PATH contains . - you will need to specificy LIBRARY_PATH
manually. (there will be an error during configure which complains about
this)
YMMV - but i think this should work.
Gareth
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.