This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
bootstarp fails with gcc-3.4.3 solaris 10 on sparc release s10_69
- From: Santanu Misra <Santanu dot Misra at reuters dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Wed, 08 Dec 2004 09:48:56 +0100
- Subject: bootstarp fails with gcc-3.4.3 solaris 10 on sparc release s10_69
Hello group,
I am trying to build gcc 3.4.3 on Solaris SPARC. Configure works fine
but make bootstrap fails.
I am using Sun CC(cc: Forte Developer 7 C 5.4 2002/03/09)
I tried my best to find an answer myself on the internet but could not.
Any help will be great.
Here are the details
1. Solaris 10 release Oct/2004 or s10_69 from /etc/release
2. gcc 3.4.3
3. I have this installed in my /usr/local and few of them does not make
any sense but it was easier it list all.
autoconf-2.59.tar.gz
bison-1.875.tar.gz
grep-2.5.tar.gz
make-3.80.tar.gz
automake-1.9.3.tar.gz
flex-2.5.4a.tar.gz
libiconv-1.9.1.tar.gz
sed-4.1.2.tar.gz
bzip2-1.0.2
m4-1.4.2
tar-1.14(gnutar)
4. I used 'ksh' and bash same result.
5. This is also set CC "cc -xildoff -xarch=v9"
6. My path and LD_LIBRARY_PATH
Path -- >
/usr/local/bin:/appli/sunpro2/bin:/bin:/usr/bin:/sbin:/usr/sbin:/etc:/us
r/ucb:/usr/etc:/usr/lib:/usr/openwin/bin:/usr/openwin/demo:/usr/ccs/bin
LD_LIBRRAY_PATH -- >/usr/local/lib:/usr/lib
7. And I use this command to configure
../configure --prefix=/usr/local --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls --enable-thread=solaris
--enable-languages=c,c++ sparcv9-sun-solaris2.10
8. Error from 'make bootstrap'
make[2]: Entering directory `/local/downloads/gcc-3.4.3/objdir/gcc'
stage1/xgcc -Bstage1/ -B/usr/local/sparcv9-sun-solaris2.10/bin/ -g -O2
-DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wold-style-definition
-DHAVE_CONFIG_H -DGENERATOR_FILE -o genmodes \
genmodes.o errors.o ../libiberty/libiberty.a
ld: warning: file ../libiberty/libiberty.a(hashtab.o): wrong ELF class:
ELFCLASS32
Undefined first referenced
symbol in file
htab_create_alloc genmodes.o
htab_find genmodes.o
xcalloc genmodes.o
htab_hash_string genmodes.o
htab_find_slot genmodes.o
xmalloc genmodes.o
xstrdup genmodes.o
ld: fatal: Symbol referencing errors. No output written to genmodes
collect2: ld returned 1 exit status
make[2]: *** [genmodes] Error 1
make[2]: Leaving directory `/local/downloads/gcc-3.4.3/objdir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/local/downloads/gcc-3.4.3/objdir/gcc'
make: *** [bootstrap] Error 2
Thanks
Santanu Misra
--------------------------------------------------------------- -
Visit our Internet site at http://www.reuters.com
Get closer to the financial markets with Reuters Messaging - for more
information and to register, visit http://www.reuters.com/messaging
Any views expressed in this message are those of the individual
sender, except where the sender specifically states them to be
the views of Reuters Ltd.