This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Ulrich Drepper <drepper@redhat.com> writes: > Jakub Jelinek <jakub@redhat.com> writes: > > > This one can be compiled with something like: > > > > --- libc/dlfcn/modcxaatexit.c.jj Mon Feb 26 18:41:22 2001 > > +++ libc/dlfcn/modcxaatexit.c Tue Mar 6 16:34:53 2001 > > @@ -33,7 +33,7 @@ fluffy (void *p) > > void > > bar (void *p) > > { > > - extern void *__dso_handle; > > + extern void *__dso_handle __attribute__ ((__weak__)); > > printf ("This is %s\n", __FUNCTION__); > > - __cxa_atexit (fluffy, p, __dso_handle); > > + __cxa_atexit (fluffy, p, &__dso_handle ? __dso_handle : NULL); > > I've added a different patch for these. If somebody uses a compiler > without __dso_handle atexit() will not work as expected in the dlfcn > tests. Therefore we'll simply bail out. > > I would prefer to completely ban using anything before gcc 2.96 but I > think too many loosers will complain. Let them get a broken glibc. I don't mind if we depend on gcc 3.0 in configure as soon as it's out - but we shouldn't enforce a pre release. For now we have to support 2.95.x. IMO it's ok if this test fails. Andreas -- Andreas Jaeger SuSE Labs aj@suse.de private aj@arthur.inka.de http://www.suse.de/~aj
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |