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: Oleg Krivosheev <kriol at fnal dot gov>
- Subject: Re: egcs-1.0.2 possible bug
- From: Alexandre Oliva <oliva at dcc dot unicamp dot br>
- Date: 20 Mar 1998 02:43:26 -0300
- Cc: egcs at cygnus dot com
- References: <Pine.GSO.3.96.980319163027.2687A-100000@drabble>
Oleg Krivosheev writes:
> 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...
This may have something to do with the shared libraries. Are you sure
egcs 1.0.2 is finding libstdc++.so it built itself? Check with ldd,
and take a look at LD_LIBRARY_PATH. Try to build with -static and see
if this helps.
I should note this works for me with egcs 1.0.[12] on Solaris 2.[56]
with shared libraries.
--
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil