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

Andreas Jaeger <> writes:

> 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,

Does this look correct?  

gee:/builds/glibc/main-gcc-2.95/dlfcn:[0]$ readelf -a  |grep dso 
    58: 00001954     0 OBJECT  LOCAL  HIDDEN   15 __dso_handle

I still get:

gee:/builds/glibc/main-gcc-2.95/dlfcn:[1]$ LD_LIBRARY_PATH=. ./tstcxaatexit
This is bar
module unload didn't change `v'
Segmentation fault


 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]