This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils
- From: "geos at epost dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jun 2004 21:20:30 -0000
- Subject: [Bug bootstrap/16253] New: bootstrapping java does not work when using GNU binutils
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Bootstrapping java on IRIX 5.3 fails when using GNU binutils 2.15:
env RANLIB=/usr/local/mips-sgi-irix5.3/bin/ranlib NM=/usr/local/mips-sgi-irix5.3/bin/nm CONFIG_SHELL=/bin/ksh /usr/people/schwarz/gcc-3.4.0/configure --prefix=/usr/local --with-gnu-as --with-gnu-ld --with-as=/usr/local/mips-sgi-irix5.3/bin/as --with-ld=/usr/local/mips-sgi-irix5.3/bin/ld --enable-languages=java
(nb: it seems that if NM is not set explicitly /usr/bin/nm is used; maybe RANLIB need not be set)
/usr/local/bin/make bootstrap
this yields:
....
cc -c -g -DIN_GCC -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -I. -I/usr/people/schwarz/gcc-3.4.0/gcc -I/usr/people/schwarz/gcc-3.4.0/gcc/. -I/usr/people/schwarz/gcc-3.4.0/gcc/../include -I../intl /usr/people/schwarz/gcc-3.4.0/gcc/genconstants.c -o genconstants.o
echo "/* This file is machine generated. Do not edit. */" > tmp-gtyp.h
echo "static const char *const srcdir = " >> tmp-gtyp.h
echo "\"/usr/people/schwarz/gcc-3.4.0/gcc\"" >> tmp-gtyp.h
echo ";" >> tmp-gtyp.h
echo "static const char *const lang_files[] = {" >> tmp-gtyp.h
ll="/usr/people/schwarz/gcc-3.4.0/gcc/cp/mangle.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/cp-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/lex.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/call.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl2.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/pt.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/repo.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/semantics.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/tree.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/parser.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/method.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h /usr/people/schwarz/gcc-3.4.0/gcc/c-pragma.c /usr/people/schwarz/gcc-3.4.0/gcc/java/java-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf.h /usr/people/schwarz/gcc-3.4.0/gcc/java/lex.h /usr/people/schwarz/gcc-3.4.0/gcc/java/parse.h /usr/people/schwarz/gcc-3.4.0/gcc/java/builtins.c /usr/people/schwarz/gcc-3.4.0/gcc/java/class.c /usr/people/schwarz/gcc-3.4.0/gcc/java/constants.c /usr/people/schwarz/gcc-3.4.0/gcc/java/decl.c /usr/people/schwarz/gcc-3.4.0/gcc/java/expr.c /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-parse.c /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-write.c /usr/people/schwarz/gcc-3.4.0/gcc/java/lang.c /usr/people/schwarz/gcc-3.4.0/gcc/java/mangle.c /usr/people/schwarz/gcc-3.4.0/gcc/java/parse.y /usr/people/schwarz/gcc-3.4.0/gcc/java/resource.c /usr/people/schwarz/gcc-3.4.0/gcc/c-lang.c /usr/people/schwarz/gcc-3.4.0/gcc/c-parse.in /usr/people/schwarz/gcc-3.4.0/gcc/c-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/c-decl.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h /usr/people/schwarz/gcc-3.4.0/gcc/c-pragma.c /usr/people/schwarz/gcc-3.4.0/gcc/c-objc-common.c "; \
for f in $ll; do \
echo "\"$f\", "; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const langs_for_lang_files[] = {" >> tmp-gtyp.h
ff="cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp cp java java java java java java java java java java java java java java java c c c c c c c c "; \
for f in $ff; do \
echo "\"$f\", " ; done >> tmp-gtyp.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const all_files[] = {" >> tmp-gtyp.h
gf="/usr/people/schwarz/gcc-3.4.0/gcc/input.h /usr/people/schwarz/gcc-3.4.0/gcc/coretypes.h /usr/people/schwarz/gcc-3.4.0/gcc/cpplib.h auto-host.h /usr/people/schwarz/gcc-3.4.0/gcc/../include/ansidecl.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/mips.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/iris5.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/sdb.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/iris5gas.h /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/iris5gld.h /usr/people/schwarz/gcc-3.4.0/gcc/defaults.h /usr/people/schwarz/gcc-3.4.0/gcc/../include/hashtab.h /usr/people/schwarz/gcc-3.4.0/gcc/../include/splay-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/bitmap.h /usr/people/schwarz/gcc-3.4.0/gcc/coverage.c /usr/people/schwarz/gcc-3.4.0/gcc/function.h /usr/people/schwarz/gcc-3.4.0/gcc/rtl.h /usr/people/schwarz/gcc-3.4.0/gcc/optabs.h /usr/people/schwarz/gcc-3.4.0/gcc/tree.h /usr/people/schwarz/gcc-3.4.0/gcc/libfuncs.h /usr/people/schwarz/gcc-3.4.0/gcc/hashtable.h /usr/people/schwarz/gcc-3.4.0/gcc/real.h /usr/people/schwarz/gcc-3.4.0/gcc/varray.h /usr/people/schwarz/gcc-3.4.0/gcc/insn-addr.h /usr/people/schwarz/gcc-3.4.0/gcc/cselib.h /usr/people/schwarz/gcc-3.4.0/gcc/basic-block.h /usr/people/schwarz/gcc-3.4.0/gcc/cgraph.h /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h /usr/people/schwarz/gcc-3.4.0/gcc/c-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/alias.c /usr/people/schwarz/gcc-3.4.0/gcc/bitmap.c /usr/people/schwarz/gcc-3.4.0/gcc/cselib.c /usr/people/schwarz/gcc-3.4.0/gcc/cgraph.c /usr/people/schwarz/gcc-3.4.0/gcc/dbxout.c /usr/people/schwarz/gcc-3.4.0/gcc/dwarf2out.c /usr/people/schwarz/gcc-3.4.0/gcc/dwarf2asm.c /usr/people/schwarz/gcc-3.4.0/gcc/emit-rtl.c /usr/people/schwarz/gcc-3.4.0/gcc/except.c /usr/people/schwarz/gcc-3.4.0/gcc/explow.c /usr/people/schwarz/gcc-3.4.0/gcc/expr.c /usr/people/schwarz/gcc-3.4.0/gcc/fold-const.c /usr/people/schwarz/gcc-3.4.0/gcc/function.c /usr/people/schwarz/gcc-3.4.0/gcc/gcse.c /usr/people/schwarz/gcc-3.4.0/gcc/integrate.c /usr/people/schwarz/gcc-3.4.0/gcc/lists.c /usr/people/schwarz/gcc-3.4.0/gcc/optabs.c /usr/people/schwarz/gcc-3.4.0/gcc/profile.c /usr/people/schwarz/gcc-3.4.0/gcc/ra-build.c /usr/people/schwarz/gcc-3.4.0/gcc/regclass.c /usr/people/schwarz/gcc-3.4.0/gcc/reg-stack.c /usr/people/schwarz/gcc-3.4.0/gcc/cfglayout.c /usr/people/schwarz/gcc-3.4.0/gcc/langhooks.c /usr/people/schwarz/gcc-3.4.0/gcc/sdbout.c /usr/people/schwarz/gcc-3.4.0/gcc/stmt.c /usr/people/schwarz/gcc-3.4.0/gcc/stor-layout.c /usr/people/schwarz/gcc-3.4.0/gcc/stringpool.c /usr/people/schwarz/gcc-3.4.0/gcc/tree.c /usr/people/schwarz/gcc-3.4.0/gcc/varasm.c /usr/people/schwarz/gcc-3.4.0/gcc/config/mips/mips.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/mangle.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/name-lookup.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/cp-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/lex.h /usr/people/schwarz/gcc-3.4.0/gcc/cp/call.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/decl2.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/pt.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/repo.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/semantics.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/tree.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/parser.c /usr/people/schwarz/gcc-3.4.0/gcc/cp/method.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.c /usr/people/schwarz/gcc-3.4.0/gcc/c-common.h /usr/people/schwarz/gcc-3.4.0/gcc/c-pragma.c /usr/people/schwarz/gcc-3.4.0/gcc/java/java-tree.h /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf.h /usr/people/schwarz/gcc-3.4.0/gcc/java/lex.h /usr/people/schwarz/gcc-3.4.0/gcc/java/parse.h /usr/people/schwarz/gcc-3.4.0/gcc/java/builtins.c /usr/people/schwarz/gcc-3.4.0/gcc/java/class.c /usr/people/schwarz/gcc-3.4.0/gcc/java/constants.c /usr/people/schwarz/gcc-3.4.0/gcc/java/decl.c /usr/people/schwarz/gcc-3.4.0/gcc/java/expr.c /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-parse.c /usr/people/schwarz/gcc-3.4.0/gcc/java/jcf-write.c /usr/people/schwarz/gcc-3.4.0/gcc/java/lang.c /usr/people/schwarz/gcc-3.4.0/gc
for f in $gf; do \
echo "\"$f\", "; done >> tmp-gtyp.h
make[2]: *** [gtyp-gen.h] Bus error (core dumped)
make[2]: Leaving directory `/usr/people/schwarz/gcc/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/usr/people/schwarz/gcc/gcc'
make: *** [bootstrap] Error 2
if you would like me to provide any additional information please let me know.
Things work fine when bootstrapping with the SGI ar and ld.
--
Summary: bootstrapping java does not work when using GNU binutils
Product: gcc
Version: 3.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: geos at epost dot de
CC: gcc-bugs at gcc dot gnu dot org,geos at epost dot de
GCC build triplet: mips-sgi-irix5.3
GCC host triplet: mips-sgi-irix5.3
GCC target triplet: mips-sgi-irix5.3
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16253