Error bootstraping gcc 4.0.2 on IRIX 6.5 using gcc 3.4.5

Francesco Del Citto del.citto@ing.uniroma2.it
Wed Apr 5 14:36:00 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!
I'm trying to bootstrap gcc 4.0.2 using the working gcc 3.4.5 I've on
my SGI IRIX 6.5, using the standard linker /usr/bin/ld (with gnu ld I
have other kind of errors).

I've installed:
GNU Make 3.80
GNU assembler 2.16.1
[and the whole binutils package ver 2.16.1]

This is the configure command:
../gcc-4.0.2/configure --with-gnu-as
- --with-as=/mnt/users/delcitto/local/bin/as
- --prefix=/mnt/users/delcitto/local/gcc-4.0.2 --enable-threads 2>&1
|tee conf_01.log

This is the error during bootstrap:
[...]
stage1/xgcc -Bstage1/
- -B/mnt/users/delcitto/local/gcc-4.0.2/mips-sgi-irix6.5/bin/ -c   -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 -I. -Icp
- -I../../gcc-4.0.2/gcc -I../../gcc-4.0.2/gcc/cp
- -I../../gcc-4.0.2/gcc/../include -I./../intl
- -I../../gcc-4.0.2/gcc/../libcpp/include    
../../gcc-4.0.2/gcc/cp/cp-gimplify.c -o cp/cp-gimplify.o
stage1/xgcc -Bstage1/
- -B/mnt/users/delcitto/local/gcc-4.0.2/mips-sgi-irix6.5/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  -o cc1plus \
      cp/cp-lang.o stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o
cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o
cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o
cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o
cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o
cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o
attribs.o c-common.o c-format.o c-pragma.o c-semantics.o c-lex.o
c-dump.o  c-pretty-print.o c-opts.o c-pch.o c-incpath.o cppdefault.o
c-ppoutput.o c-cppbuiltin.o prefix.o c-gimplify.o tree-inline.o
main.o  libbackend.a ../libcpp/libcpp.a ../libcpp/libcpp.a
./../intl/libintl.a  ../libiberty/libiberty.a
ld32: WARNING 84 : ../libcpp/libcpp.a is not used for resolving any
symbol.
ld32: ERROR   33 : Unresolved data symbol "libc_name_p" -- 1st
referenced by cp/except.o.
        Use linker option -v to see when and which objects, archives
and dsos are loaded.
ld32: INFO    152: Output file removed because of error.
collect2: ld returned 2 exit status
make[2]: *** [cc1plus] Error 1
make[2]: Leaving directory
`/mnt/users/delcitto/download/GNU/gcc-4.0.2-irix/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory
`/mnt/users/delcitto/download/GNU/gcc-4.0.2-irix/gcc'
make: *** [bootstrap] Error 2


Any suggestions?

Or do you know any guide on installing gcc on Irix 6.5
Francesco
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFEM9XKcFX3eEusvIsRAqNyAKClRInP7iEqLdDkR0m5ofecgBv6TACeOIo/
/JKE8PtWNnyX5atIMmr2wPw=
=Ew5S
-----END PGP SIGNATURE-----



More information about the Gcc-help mailing list