This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: egcs-1.0.2 possible bug


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]