This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: egcs-1.0.2 possible bug
- To: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Subject: Re: egcs-1.0.2 possible bug
- From: Oleg Krivosheev <kriol at fnal dot gov>
- Date: Thu, 19 Mar 1998 17:05:01 -0600 (CST)
- cc: egcs at cygnus dot com
On Thu, 19 Mar 1998, Alexandre Oliva wrote:
> Date: Thu, 19 Mar 1998 17:46:32 -0300
> From: Alexandre Oliva <oliva@dcc.unicamp.br>
> To: Oleg Krivosheev <kriol@FNAL.GOV>
> Cc: egcs@cygnus.COM
> Subject: Re: egcs-1.0.2 possible bug
>
> Oleg Krivosheev writes:
>
> > My code compiled with -g fails during linkage with bugs like
>
> > Undefined first referenced
> > symbol in file
> > overflow_error::overflow_error(basic_string<char, string_char_traits<char>, __default_alloc_template<true, 0> > const &)/home/room1/kriol/work/Project/lib/sparc-sun-solaris-gcc/libGeometry.a(GeometryTracker.o)
>
> > checked obj file - and indeed constructor is UNDEFined.
>
> It's defined in libstdc++.a, make sure you link with gcc -lstdc++ or
> with g++.
>
hmm...
i'm pretty sure it's linked with libstdc++
unpacked both egcs 1.0.1 and 1.0.2
created OBJ1 and OBJ2
configure --prefix=... --enable-shared for both 1.0.1 and 1.0.2
make bootstrap for both
make install for 1.0.1
rebuild my libraries
examples work just fine (module my bugs ;))
make install for 1.0.2
rebuild libraries
examples bomb on linkage...
NOTHING in system configuration, source code, makefiles etc
is changed...
just a bit puzzled....
regards
OK