This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc 2.2.4pre2
Jakub Jelinek <jakub@redhat.com> 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?
>
> http://gcc.gnu.org/ml/gcc/2001-06/msg00748.html
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,
Andreas
--- 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 aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
PGP signature