This is the mail archive of the mailing list for the glibc project.

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

Re: glibc 2.2.4pre2

Jakub Jelinek <> writes:

> On Wed, Aug 08, 2001 at 10:10:18AM +0200, Andreas Jaeger wrote:
> > > Does atexit work properly there? If yes, the better.
>> It passes the testsuite
> That's because:
>   if (&__dso_handle == NULL)
>     {
>       puts ("__dso_handle not available, cannot perform the test");
>       exit (0);
>     }
> but that means atexit won't work properly (it will not run the exit handlers
> at dlclose time).
>> - but we do not have yet the __dso_handle patch in.
>> Jakub, can you post the patch again - or send a URL?

The patch has one bug, you do not include "auto-host.h" and therefore
HAVE_GAS_HIDDEN is not defined at all :-(.

Here's a patch on top of it.  I'm testing glibc now with a GCC
compiled with this patch,


--- gcc-2.95.x/gcc/crtstuff.c.jj    Tue Mar 23 01:43:51 1999
+++ gcc-2.95.x/gcc/crtstuff.c       Wed Jun 13 12:39:14 2001
@@ -55,6 +55,7 @@ Boston, MA 02111-1307, USA.  */
 #include "defaults.h"
 #include <stddef.h>
 #include "frame.h"
+#include "auto-host.h"
 /* We do not want to add the weak attribute to the declarations of these
    routines in frame.h because that will cause the definition of these

 Andreas Jaeger
  SuSE Labs

PGP signature

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