Building from a combined tree of gcc and binutils using gcc-2.95.2,
I get this error with "Fri Jan 14 01:28:39 UTC 2005" (no configure
arguments, build gcc is gcc-2.95.2, ld used by bootstrap-gcc is
/usr/ccs/bin/ld, as used by bootstrap-gcc is /usr/ccs/bin/as):
...
gcc -DHAVE_CONFIG_H -I. -I/tmp/hptmp/combined/binutils -I. -D_GNU_SOURCE -I.
-I/tmp/hptmp/combined/binutils -I../bfd -I/tmp/hptmp\
/combined/binutils/../bfd -I/tmp/hptmp/combined/binutils/../include
-I/tmp/hptmp/combined/binutils/../intl -I../intl -DLOCALEDIR=\
"\"/usr/local/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -g \
-O2 -c /tmp/hptmp/combined/binutils/filemode.c
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -g -O2 -o size size.o bucomm.o version.o f\
ilemode.o ../bfd/libbfd.la ../libiberty/libiberty.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -g -O2 -o size size.o
bucomm.o version.o filemode.o ../bfd/.libs/libbfd.a \
../libiberty/libiberty.a
Undefined first referenced
symbol in file
libintl_bindtextdomain size.o
libintl_gettext size.o
libintl_dgettext ../bfd/.libs/libbfd.a(archive.o)
libintl_textdomain size.o
ld: fatal: Symbol referencing errors. No output written to size
collect2: ld returned 1 exit status
make[3]: *** [size] Error 1
make[3]: Leaving directory `/tmp/hptmp/obj/binutils'
Yes, this is the binutils build breaking, but building binutils
*by itself* succeeds. It seems that the "intl" subdir component
of gcc is at fault. I recall it has been this way for a long time.
Usually --disable-nls helps, but see also binutils PR 673.
--
Summary: gcc+binutils combined fails bootstrap
Product: gcc
Version: 4.0.0
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hp at gcc dot gnu dot org
CC: gcc-bugs at gcc dot gnu dot org
GCC build triplet: sparc-sun-solaris2.8
GCC host triplet: sparc-sun-solaris2.8
GCC target triplet: sparc-sun-solaris2.8
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19468