This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Bootstrap broken at the beginning of libstdc++-v3
----- Original Message -----
From: "Jan Hubicka" <jh@suse.cz>
To: "Vladimir A. Merzliakov" <wanderer@rsu.ru>
Cc: <gcc@gcc.gnu.org>; <gcc-bugs@gcc.gnu.org>; "Paolo Carlini"
<pcarlini@suse.de>; "H. J. Lu" <hjl@lucon.org>; "Jan Hubicka" <jh@suse.cz>
Sent: Thursday, October 23, 2003 4:27 PM
Subject: Re: Bootstrap broken at the beginning of libstdc++-v3
> > After update gcc mainline sources from CVS I can't bootstrap anyway :(
> >
> > Now bootstrap break at:
> > --8<------------------------------------------------------------
> >
/usr/home/wanderer/pkg/build/gcc/obj/gcc/g++ -shared-libgcc -B/usr/home/wand
> >
erer/pkg/build/gcc/obj/gcc/ -nostdinc++ -B/home/wanderer/pkg/gcc/i386-unknow
> >
n-freebsd5.1/bin/ -B/home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/lib/ -isy
> > stem /home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/include -isystem
> > /home/wanderer/pkg/gcc/i386-unknown-freebsd5.1/sys-include -include
> > bits/stdc++.h -g -O2 -o abi_check
> >
i_check.o -L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.1/l
> >
ibstdc++-v3/src -L/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5
> > .1/libstdc++-v3/src/.libs -lm
> > abi_check.o(.text+0x26): In function
> > `__static_initialization_and_destruction_0(int, int)':
> >
/usr/home/wanderer/pkg/build/gcc/obj/i386-unknown-freebsd5.1/libstdc++-v3/in
> > clude/bits/stl_algo.h:2456: undefined reference to
> > `std::ios_base::Init::~Init [in-charge]()'
>
> This didn't happen for me. Can you send me preprocessed file of the
> unit causing unreferenced symbol?
I found source of problem. It's CVS version binutils.
After i replace it by binutils version 2.13.2
mainline gcc bootstrap without problems.
Sorry for misleading alarm :(
Vladimir