glibc 2.2.4pre2

Andreas Jaeger aj@suse.de
Fri Aug 10 01:05:00 GMT 2001


Matthias Klose <doko@cs.tu-berlin.de> writes:

> Andreas Jaeger writes:
>  > Bernd Schmidt <bernds@redhat.com> writes:
>  > 
>  > > On Thu, 9 Aug 2001, Andreas Jaeger wrote:
>  > > > Bernd, can you add this to 2.95.x, please?
>  > >
>  > > ChangeLog please, and an explanation of what it does.
>  > 
>  > The patch adds a weak symbol __dso_handle to GCC which is needed for
>  > proper handling of c++ local destructors, and the atexit implementation
>  > in glibc (it handles running of destructors when unloading shared libs
>  > correctly).
>
> with the patch applied the bootstrap fails on alpha-linux (Debian unstable).
>
> ./xgcc -B/usr/alpha-linux/bin/ -B./ -I/usr/alpha-linux/include -c -o
> crtbegin.o -x assembler
> /src/gcc/2.95.4/2.95.4.ds4-0.010721/gcc-2.95-2.95.4.ds4/src-native/gcc/config/alpha/crtbegin.asm
> /src/gcc/2.95.4/2.95.4.ds4-0.010721/gcc-2.95-2.95.4.ds4/src-native/gcc/config/alpha/crtbegin.asm: Assembler
> messages:
> /src/gcc/2.95.4/2.95.4.ds4-0.010721/gcc-2.95-2.95.4.ds4/src-native/gcc/config/alpha/crtbegin.asm:118: Error: Symbol
> __dso_handle already defined.
> make[4]: *** [crtbegin.o] Error 1

Are you sure that you used a plain 2.95.4 CVS version - and nothing
has been added already to it?

Please investigate yourself what's broken,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj



More information about the Gcc-patches mailing list