Thanks for the hint. I fixed it after building a newer version `ld' and
'as', and ./configure --with-as=/home/newbinutils/bin/as
--with-ld=/home/newbinutils/bin/ld.
But it is still quite amazing that there are a lot of warning. For example,
I wonder how warning like "warning: structure `eh_range' used but not
defined" is still ok.
mygcc>make >/dev/null
Links are now set up to build a native compiler for i686-pc-linux-gnu.
config.h is unchanged
tm.h is unchanged
bconfig.h is unchanged
gengtype-lex.c:3365: warning: no previous prototype for `yyget_lineno'
gengtype-lex.c:3374: warning: no previous prototype for `yyget_in'
gengtype-lex.c:3382: warning: no previous prototype for `yyget_out'
gengtype-lex.c:3390: warning: no previous prototype for `yyget_leng'
gengtype-lex.c:3399: warning: no previous prototype for `yyget_text'
gengtype-lex.c:3408: warning: no previous prototype for `yyset_lineno'
gengtype-lex.c:3420: warning: no previous prototype for `yyset_in'
gengtype-lex.c:3425: warning: no previous prototype for `yyset_out'
gengtype-lex.c:3430: warning: no previous prototype for `yyget_debug'
gengtype-lex.c:3435: warning: no previous prototype for `yyset_debug'
gengtype-lex.c:3441: warning: no previous prototype for `yylex_destroy'
warning: structure `eh_range' used but not defined
warning: structure `jdeplist_s' used but not defined
warning: structure `java_lexer' used but not defined
warning: structure `ZipDirectory' used but not defined
warning: structure `VEC_cp_token_position' used but not defined
warning: structure `c_arg_info' used but not defined
warning: structure `c_switch' used but not defined
warning: structure `reorder_block_def' used but not defined
warning: structure `et_node' used but not defined
warning: structure `loop' used but not defined
warning: structure `reg_info_def' used but not defined
warning: structure `value_set' used but not defined
warning: structure `eh_range' used but not defined
warning: structure `jdeplist_s' used but not defined
warning: structure `java_lexer' used but not defined
warning: structure `ZipDirectory' used but not defined
warning: structure `VEC_cp_token_position' used but not defined
warning: structure `c_arg_info' used but not defined
warning: structure `c_switch' used but not defined
warning: structure `reorder_block_def' used but not defined
warning: structure `et_node' used but not defined
warning: structure `loop' used but not defined
warning: structure `reg_info_def' used but not defined
warning: structure `value_set' used but not defined
tm_p.h is unchanged
Automaton `pentium'
48 NDFA states, 138 NDFA arcs
48 DFA states, 138 DFA arcs
20 minimal DFA states, 82 minimal DFA arcs
273 all insns 17 insn equivalence classes
88 transition comb vector els, 340 trans table els: use comb vect
88 state alts comb vector els, 340 state alts table els: use comb vect
340 min delay table els, compression factor 2
Automaton `pentium_fpu'
80 NDFA states, 172 NDFA arcs
80 DFA states, 172 DFA arcs
75 minimal DFA states, 162 minimal DFA arcs
273 all insns 8 insn equivalence classes
164 transition comb vector els, 600 trans table els: use comb vect
164 state alts comb vector els, 600 state alts table els: use comb vect
600 min delay table els, compression factor 1
Automaton `ppro_decoder'
4 NDFA states, 12 NDFA arcs
4 DFA states, 12 DFA arcs
4 minimal DFA states, 12 minimal DFA arcs
273 all insns 4 insn equivalence classes
13 transition comb vector els, 16 trans table els: use simple vect
13 state alts comb vector els, 16 state alts table els: use simple
vect
16 min delay table els, compression factor 8
Automaton `ppro_core'
105 NDFA states, 376 NDFA arcs
105 DFA states, 376 DFA arcs
105 minimal DFA states, 376 minimal DFA arcs
273 all insns 13 insn equivalence classes
481 transition comb vector els, 1365 trans table els: use comb vect
481 state alts comb vector els, 1365 state alts table els: use comb vect
1365 min delay table els, compression factor 1
Automaton `ppro_idiv'
38 NDFA states, 79 NDFA arcs
38 DFA states, 79 DFA arcs
38 minimal DFA states, 79 minimal DFA arcs
273 all insns 5 insn equivalence classes
82 transition comb vector els, 190 trans table els: use simple vect
82 state alts comb vector els, 190 state alts table els: use simple
vect
190 min delay table els, compression factor 1
Automaton `ppro_fdiv'
38 NDFA states, 79 NDFA arcs
38 DFA states, 79 DFA arcs
38 minimal DFA states, 79 minimal DFA arcs
273 all insns 5 insn equivalence classes
82 transition comb vector els, 190 trans table els: use simple vect
82 state alts comb vector els, 190 state alts table els: use simple
vect
190 min delay table els, compression factor 1
Automaton `ppro_load'
3 NDFA states, 8 NDFA arcs
3 DFA states, 8 DFA arcs
3 minimal DFA states, 8 minimal DFA arcs
273 all insns 4 insn equivalence classes
9 transition comb vector els, 12 trans table els: use simple vect
9 state alts comb vector els, 12 state alts table els: use simple
vect
12 min delay table els, compression factor 4
Automaton `ppro_store'
16 NDFA states, 56 NDFA arcs
16 DFA states, 56 DFA arcs
11 minimal DFA states, 44 minimal DFA arcs
273 all insns 7 insn equivalence classes
51 transition comb vector els, 77 trans table els: use simple vect
51 state alts comb vector els, 77 state alts table els: use simple
vect
77 min delay table els, compression factor 4
Automaton `k6_decoder'
4 NDFA states, 11 NDFA arcs
4 DFA states, 11 DFA arcs
3 minimal DFA states, 9 minimal DFA arcs
273 all insns 4 insn equivalence classes
10 transition comb vector els, 12 trans table els: use simple vect
10 state alts comb vector els, 12 state alts table els: use simple
vect
12 min delay table els, compression factor 8
Automaton `k6_load_unit'
11 NDFA states, 24 NDFA arcs
11 DFA states, 24 DFA arcs
11 minimal DFA states, 24 minimal DFA arcs
273 all insns 4 insn equivalence classes
26 transition comb vector els, 44 trans table els: use simple vect
26 state alts comb vector els, 44 state alts table els: use simple
vect
44 min delay table els, compression factor 2
Automaton `k6_store_unit'
68 NDFA states, 233 NDFA arcs
68 DFA states, 233 DFA arcs
37 minimal DFA states, 126 minimal DFA arcs
273 all insns 6 insn equivalence classes
140 transition comb vector els, 222 trans table els: use simple vect
140 state alts comb vector els, 222 state alts table els: use simple
vect
222 min delay table els, compression factor 1
Automaton `k6_integer_units'
114 NDFA states, 396 NDFA arcs
114 DFA states, 396 DFA arcs
114 minimal DFA states, 396 minimal DFA arcs
273 all insns 11 insn equivalence classes
471 transition comb vector els, 1254 trans table els: use comb vect
471 state alts comb vector els, 1254 state alts table els: use comb vect
1254 min delay table els, compression factor 1
Automaton `k6_fpu_unit'
58 NDFA states, 120 NDFA arcs
58 DFA states, 120 DFA arcs
57 minimal DFA states, 118 minimal DFA arcs
273 all insns 5 insn equivalence classes
120 transition comb vector els, 285 trans table els: use simple vect
120 state alts comb vector els, 285 state alts table els: use simple
vect
285 min delay table els, compression factor 1
Automaton `k6_branch_unit'
2 NDFA states, 5 NDFA arcs
2 DFA states, 5 DFA arcs
2 minimal DFA states, 5 minimal DFA arcs
273 all insns 3 insn equivalence classes
6 transition comb vector els, 6 trans table els: use simple vect
6 state alts comb vector els, 6 state alts table els: use simple
vect
6 min delay table els, compression factor 8
Automaton `athlon'
518 NDFA states, 1668 NDFA arcs
518 DFA states, 1668 DFA arcs
76 minimal DFA states, 328 minimal DFA arcs
273 all insns 10 insn equivalence classes
359 transition comb vector els, 760 trans table els: use simple vect
359 state alts comb vector els, 760 state alts table els: use simple
vect
760 min delay table els, compression factor 2
Automaton `athlon_load'
162 NDFA states, 855 NDFA arcs
162 DFA states, 855 DFA arcs
162 minimal DFA states, 855 minimal DFA arcs
273 all insns 10 insn equivalence classes
1047 transition comb vector els, 1620 trans table els: use simple vect
1047 state alts comb vector els, 1620 state alts table els: use simple vect
1620 min delay table els, compression factor 2
Automaton `athlon_mult'
16 NDFA states, 48 NDFA arcs
16 DFA states, 48 DFA arcs
16 minimal DFA states, 48 minimal DFA arcs
273 all insns 4 insn equivalence classes
50 transition comb vector els, 64 trans table els: use simple vect
50 state alts comb vector els, 64 state alts table els: use simple
vect
64 min delay table els, compression factor 2
Automaton `athlon_fp'
15522 NDFA states, 99908 NDFA arcs
15522 DFA states, 99908 DFA arcs
463 minimal DFA states, 3038 minimal DFA arcs
273 all insns 21 insn equivalence classes
3057 transition comb vector els, 9723 trans table els: use comb vect
3057 state alts comb vector els, 9723 state alts table els: use comb vect
9723 min delay table els, compression factor 1
17533 all allocated states, 102661 all allocated arcs
32710 all allocated alternative states
6256 all transition comb vector els, 16780 all trans table els
6256 all state alts comb vector els, 16780 all state alts table els
16780 all min delay table els
0 locked states num
transformation: 0.010000, building DFA: 5.730000
DFA minimization: 0.310000, making insn equivalence: 0.000000
all automaton generation: 6.190000, output: 0.090000
../../gcc-4.0.2/gcc/config/i386/i386.md:17579: warning: operand 1 missing
mode?
../../gcc-4.0.2/gcc/varasm.c: In function `const_rtx_hash_1':
../../gcc-4.0.2/gcc/varasm.c:2885: warning: right shift count >= width of
type
../../gcc-4.0.2/gcc/java/jcf-write.c: In function `generate_bytecode_insns':
../../gcc-4.0.2/gcc/java/jcf-write.c:2236: warning: unused variable `type'
Applying io_quotes_def to
libnautilus/nautilus-scroll-positionable.h
Applying io_quotes_use to net/bpf.h
Fixed: net/bpf.h
Applying machine_name to gtkgl/gdkgl.h
Fixed: gtkgl/gdkgl.h
Applying io_quotes_use to sys/mount.h
Applying io_quotes_use to sys/raw.h
Applying machine_name to zconf.h
Fixed: zconf.h
Applying strict_ansi_only to zutil.h
Fixed: zutil.h
Quoted includes in zutil.h
Applying machine_name to openssl/bn.h
Fixed: openssl/bn.h
Applying machine_name to openssl/e_os2.h
Applying ctrl_quotes_def to readline/chardefs.h
Applying io_quotes_use to asm/mtrr.h
Applying io_quotes_def to pgsql/server/utils/timestamp.h
Applying machine_name to slang/slang.h
Fixed: slang/slang.h
Applying machine_name to linux/a.out.h
Fixed: linux/a.out.h
Applying io_quotes_use to linux/agpgart.h
Applying io_quotes_use to linux/auto_fs.h
Applying io_quotes_use to linux/auto_fs4.h
Applying io_quotes_use to linux/blkpg.h
Applying io_quotes_use to linux/cciss_ioctl.h
Applying io_quotes_def to linux/completion.h
Applying io_quotes_use to linux/devfs_fs.h
Applying io_quotes_use to linux/dn.h
Applying io_quotes_use to linux/fd.h
Applying io_quotes_use to linux/fs.h
Applying io_quotes_use to linux/i2o-dev.h
Applying io_quotes_use to linux/if_pppox.h
Applying io_quotes_use to linux/input.h
Applying io_quotes_def to linux/isapnp.h
Applying io_quotes_use to linux/ite_gpio.h
Applying io_quotes_use to linux/jffs.h
Applying io_quotes_def to linux/mtd/compatmac.h
Applying io_quotes_use to linux/lvm.h
Applying io_quotes_def to linux/modsetver.h
Applying io_quotes_use to linux/nbd.h
Applying io_quotes_def to linux/ppp-comp.h
Applying io_quotes_use to linux/ppdev.h
Applying io_quotes_use to linux/raid/md_u.h
Applying io_quotes_use to linux/random.h
Applying io_quotes_use to linux/raw.h
Applying io_quotes_def to linux/reiserfs_fs_sb.h
Applying io_quotes_use to linux/reiserfs_fs.h
Applying io_quotes_def to linux/sdladrv.h
Applying io_quotes_def to linux/soundcard.h
Applying io_quotes_use to linux/synclink.h
Applying io_quotes_def to linux/version.h
Applying io_quotes_def to linux/wanpipe.h
Applying io_quotes_def to linux/wanrouter.h
Applying io_quotes_use to linux/watchdog.h
Applying huge_val_hex to bits/huge_val.h
Applying huge_valf_hex to bits/huge_val.h
Applying huge_vall_hex to bits/huge_val.h
Fixed: bits/huge_val.h
Applying sun_malloc to malloc.h
Applying hpux8_bogus_inlines to math.h
Applying rpc_xdr_lvalue_cast_a to rpc/xdr.h
Applying rpc_xdr_lvalue_cast_b to rpc/xdr.h
Fixed: rpc/xdr.h
Applying sysv68_string to string.h
Applying machine_name to net-snmp/net-snmp-config.h
Fixed: net-snmp/net-snmp-config.h
Applying io_quotes_def to libIDL-2.0/libIDL/IDL.h
Applying io_quotes_use to libIDL-2.0/libIDL/IDL.h
Applying io_quotes_def to libIDL-1.0/libIDL/IDL.h
Applying io_quotes_use to libIDL-1.0/libIDL/IDL.h
Applying io_quotes_def to orbit-1.0/IIOP/IIOP-types.h
Applying io_quotes_def to
libgnomeprint-2.2/libgnomeprint/private/gpa-key.h
Applying io_quotes_def to
libgnomeprint-2.2/libgnomeprint/private/gpa-option.h
Applying io_quotes_def to
libgnomeprintui-2.2/libgnomeprintui/gnome-font-dialog.h
Applying machine_name to SDL/SDL_endian.h
Fixed: SDL/SDL_endian.h
Quoted includes in SDL/SDL_endian.h
Applying machine_name to SDL/SDL_syswm.h
Applying io_quotes_def to SDL/SDL_version.h
Applying machine_name to libmng_types.h
Fixed: libmng_types.h
Quoted includes in libmng_types.h
Applying io_quotes_def to at-spi-1.0/libspi/application.h
Applying io_quotes_use to kde/arts/gsl/gslcommon.h
Applying io_quotes_def to kde/kdeversion.h
Applying machine_name to X11/Xarch.h
Fixed: X11/Xarch.h
Applying io_quotes_def to X11/Xmu/Atoms.h
Applying machine_name to X11/Xos.h
Fixed: X11/Xos.h
Applying machine_name to X11/Xos_r.h
Fixed: X11/Xos_r.h
Applying machine_name to X11/Xosdefs.h
Fixed: X11/Xosdefs.h
Applying machine_name to X11/Xthreads.h
Fixed: X11/Xthreads.h
Applying machine_name to Xm/Xmos_r.h
Fixed: Xm/Xmos_r.h
tconfig.h is unchanged
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../gcc-4.0.2/gcc/gcov-io.h:239,
from ../../gcc-4.0.2/gcc/libgcov.c:51:
./auto-host.h:250:1: warning: "HAVE_DECL_GETOPT" redefined
In file included from ../../gcc-4.0.2/gcc/libgcov.c:37:
../../gcc-4.0.2/gcc/tsystem.h:40:1: warning: this is the location of the
previous definition
In file included from ../../../gcc-4.0.2/libiberty/../include/xregex.h:26,
from ../../../gcc-4.0.2/libiberty/regex.c:199:
../../../gcc-4.0.2/libiberty/../include/xregex2.h:548: warning: ISO C90 does
not support ?static? or type qualifiers in parameter array declarators
In file included from ../../../gcc-4.0.2/libiberty/regex.c:653:
../../../gcc-4.0.2/libiberty/regex.c: In function ?byte_compile_range?:
../../../gcc-4.0.2/libiberty/regex.c:4552: warning: signed and unsigned type
in conditional expression
../../../gcc-4.0.2/libiberty/regex.c:4562: warning: signed and unsigned type
in conditional expression
../../../gcc-4.0.2/libiberty/regex.c:4562: warning: signed and unsigned type
in conditional expression
../../../gcc-4.0.2/libiberty/concat.c: In function ?concat_length?:
../../../gcc-4.0.2/libiberty/concat.c:112: warning: traditional C rejects
ISO C style function definitions
../../../gcc-4.0.2/libiberty/concat.c: In function ?concat_copy?:
../../../gcc-4.0.2/libiberty/concat.c:127: warning: traditional C rejects
ISO C style function definitions
../../../gcc-4.0.2/libiberty/concat.c: In function ?concat_copy2?:
../../../gcc-4.0.2/libiberty/concat.c:146: warning: traditional C rejects
ISO C style function definitions
../../../gcc-4.0.2/libiberty/concat.c: In function ?concat?:
../../../gcc-4.0.2/libiberty/concat.c:157: warning: traditional C rejects
ISO C style function definitions
../../../gcc-4.0.2/libiberty/concat.c: In function ?reconcat?:
../../../gcc-4.0.2/libiberty/concat.c:194: warning: traditional C rejects
ISO C style function definitions
../../../gcc-4.0.2/libiberty/pex-unix.c: In function ?pexecute?:
../../../gcc-4.0.2/libiberty/pex-unix.c:94: warning: variable ?out? might be
clobbered by ?longjmp? or ?vfork
/export/home/a/yang22/gcc-4.0.2/libobjc/sendmsg.c:44:1: warning: "rtx"
redefined
In file included from /export/home/a/yang22/gcc-4.0.2/libobjc/sendmsg.c:33:
/export/home/a/yang22/gcc-4.0.2/libobjc/../gcc/coretypes.h:68:1: warning:
this is the location of the previous definition
/export/home/a/yang22/gcc-4.0.2/libobjc/thr.c: In function
'__objc_thread_detach_function':
/export/home/a/yang22/gcc-4.0.2/libobjc/thr.c:117: warning: 'noreturn'
function does return
../../../gcc-4.0.2/boehm-gc/mark_rts.c: In function 'GC_approx_sp':
../../../gcc-4.0.2/boehm-gc/mark_rts.c:379: warning: function returns
address of local variable
./include/java-signal.h:125: warning: 'void restore()' declared 'static' but
never defined
./include/java-signal.h:125: warning: 'void restore()' declared 'static' but
never defined
../../../gcc-4.0.2/libjava/gnu/gcj/io/shs.cc:97: warning: 'void
byteReverse()' declared 'static' but never defined
gnu/java/nio/natPipeImpl.cc:27: warning: unused parameter 'self'
./include/java-signal.h:125: warning: 'void restore()' declared 'static' but
never defined
java/net/natNetworkInterface.cc: In static member function 'static
java::util::Vector*
java::net::NetworkInterface::getRealNetworkInterfaces()':
java/net/natNetworkInterface.cc:77: warning: comparison between signed and
unsigned integer expressions
../../../gcc-4.0.2/libjava/java/lang/dtoa.c: In function '_Jv_dtoa_r':
../../../gcc-4.0.2/libjava/java/lang/dtoa.c:248: warning: 'ilim' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/dtoa.c:248: warning: 'ilim1' may be
used uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/dtoa.c:249: warning: 'spec_case' may be
used uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/dtoa.c:256: warning: 'mlo' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/strtod.c: In function '_Jv_strtod_r':
../../../gcc-4.0.2/libjava/java/lang/strtod.c:121: warning: 'delta' may be
used uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/strtod.c:121: warning: 'bs' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/strtod.c:121: warning: 'bb' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/strtod.c:121: warning: 'bd' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/e_asin.c: In function '__ieee754_asin':
../../../gcc-4.0.2/libjava/java/lang/e_asin.c:78: warning: 't' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/e_exp.c: In function '__ieee754_exp':
../../../gcc-4.0.2/libjava/java/lang/e_exp.c:112: warning: 'k' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/e_exp.c:111: warning: 'lo' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/e_exp.c:111: warning: 'hi' may be used
uninitialized in this function
../../../gcc-4.0.2/libjava/java/lang/e_rem_pio2.c: In function
'__ieee754_rem_pio2':
../../../gcc-4.0.2/libjava/java/lang/e_rem_pio2.c:170: warning: 'z' is used
uninitialized in this function
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:31:
../boehm-gc/include/gc_config.h:113:1: warning: "PACKAGE_NAME" redefined
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:12:
./include/config.h:405:1: warning: this is the location of the previous
definition
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:31:
../boehm-gc/include/gc_config.h:116:1: warning: "PACKAGE_STRING" redefined
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:12:
./include/config.h:408:1: warning: this is the location of the previous
definition
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:31:
../boehm-gc/include/gc_config.h:119:1: warning: "PACKAGE_TARNAME" redefined
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:12:
./include/config.h:411:1: warning: this is the location of the previous
definition
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:31:
../boehm-gc/include/gc_config.h:122:1: warning: "PACKAGE_VERSION" redefined
In file included from ../../../gcc-4.0.2/libjava/boehm.cc:12:
./include/config.h:414:1: warning: this is the location of the previous
definition
From: Kai Ruottu <karuottu@xxxxxxxx>
To: sean yang <seanatpurdue@xxxxxxxxxxx>
CC: gcc-help@xxxxxxxxxxx
Subject: Re: gcc buidling errors during 'make'
Date: Mon, 27 Mar 2006 10:42:56 +0300
sean yang kirjoitti:
> I am building gcc4.0.2 on my Linux box. Here is the errors I got, which
seems to be something related to linker
> and c++ library (but note that executable gcc, g++ have already been
produced.)
>
>/usr/bin/ld: BFD 2.14.90.0.4 20030523 internal error, aborting at
.../../bfd/elf32-i386.c line 2377 in elf_i386_relocate_section
The gcc-4.0.2 is quite new but as you can see your binutils-2.14.90.0.4
release from 20030523 is soon 3 years old!
Of course the new GCCs "should" work also with 3 years old binutils, but
this is quite optimistic. When updating the
binutils doesn't take so long, people usually do just that and don't wonder
why the linker crashed or how to fix these
3 years old binutils sources so that these old binutils could accept the
code from the recent GCCs...
The most uptodate release is the "binutils-2.16.91.0.7 for Linux", at :
http://www.kernel.org/pub/linux/devel/binutils/
but updating at least to the last '2.15.94' could be recommended... If
this error still happens with them, or even with
this most uptodate '2.16.91.0.7', maybe then your host has some other
serious problem.
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/