public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* compiling gcc-4.0.2 on solaris 9
@ 2005-11-18 18:52 Douglas B. Jones
  2005-11-18 19:34 ` Joe Buck
  0 siblings, 1 reply; 19+ messages in thread
From: Douglas B. Jones @ 2005-11-18 18:52 UTC (permalink / raw)
  To: gcc; +Cc: Douglas B Jones


(NOTE: I originally posted this to gcc-help, but only got
one response that the sender said they had posted a similar
posting a while back and got no responses. So, I am reposting
the below to gcc in hopes that this might be a better place
to post this question.)

I am on:

SunOS hostname 5.9 Generic_118558-14 sun4u sparc SUNW,Sun-Blade-1500.
I try to do a bootstrap with the following using gnu make 3.80:

mkdir objectdir;cd objectdir
CC="cc -xildoff -xarch=v9"
export CC
../gcc-4.0.2/configure
gmake bootstrap

I get the following errors:

stage1/xgcc -Bstage1/ -B/usr/local/sparc-sun-solaris2.9/bin/   -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o
build/genmodes \
 build/genmodes.o build/errors.o ../build-sparc-sun-solaris2.9/libiberty/libiberty.a
ld: warning: file ../build-sparc-sun-solaris2.9/libiberty/libiberty.a(hashtab.o): wrong ELF class: ELFCLASS64
Undefined                       first referenced
 symbol                             in file
htab_create_alloc                   build/genmodes.o
htab_find                           build/genmodes.o
xcalloc                             build/genmodes.o
htab_hash_string                    build/genmodes.o
htab_find_slot                      build/genmodes.o
xmalloc                             build/genmodes.o
xstrdup                             build/genmodes.o
ld: fatal: Symbol referencing errors. No output written to build/genmodes
collect2: ld returned 1 exit status
make[2]: *** [build/genmodes] Error 1
make[2]: Leaving directory `/export/home/src/net/gnu/odir/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/export/home/src/net/gnu/odir/gcc'
make: *** [bootstrap] Error 2

I am new to the sun environment, so any help would be appreciated. Thanks!

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

end of thread, other threads:[~2005-11-22 20:20 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-18 18:52 compiling gcc-4.0.2 on solaris 9 Douglas B. Jones
2005-11-18 19:34 ` Joe Buck
2005-11-18 20:12   ` Eric Botcazou
2005-11-18 20:24     ` Joe Buck
2005-11-18 20:31       ` Eric Botcazou
2005-11-18 22:50         ` Joe Buck
2005-11-18 23:01           ` Eric Botcazou
2005-11-21 21:05             ` Douglas B. Jones
2005-11-21 21:21               ` Eric Botcazou
2005-11-22 15:56                 ` Douglas B. Jones
2005-11-22 17:37                   ` Eric Botcazou
2005-11-22 17:49                     ` Douglas B. Jones
2005-11-22 18:20                       ` Eric Botcazou
2005-11-22 18:34                         ` Douglas B. Jones
2005-11-22 19:48                           ` Douglas B. Jones
2005-11-22 19:55                             ` Eric Botcazou
2005-11-22 19:58                               ` Douglas B. Jones
2005-11-22 20:17                                 ` Eric Botcazou
2005-11-22 20:20                                   ` Douglas B. Jones

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