1.3.41 breaks dlopen()

1.3.41 breaks dlopen()

Post by Jin S. Ch » Thu, 16 Nov 1995 04:00:00




    Jin> I just upgraded to 1.3.41 from 1.3.40, and now all calls to dlopen()
    Jin> now segfault on me in _fpu_control, or something like that.
    Jin> Here's a simple standalone case that segfaults.

    Jin> dlopen(0, RTLD_NOW) works, however.

Never mind. I tested with 1.3.40 and it was breaking there, too. I
just installed ld.so.1.7.11, and dlopen() works just fine.

Sorry.

 
 
 

1.3.41 breaks dlopen()

Post by Jin S. Ch » Thu, 16 Nov 1995 04:00:00


I just upgraded to 1.3.41 from 1.3.40, and now all calls to dlopen()
now segfault on me in _fpu_control, or something like that.
Here's a simple standalone case that segfaults.

dlopen(0, RTLD_NOW) works, however.

--------------------- test.c -------------------------------------------
#include <stdio.h>
#include <dlfcn.h>

int
main(int argc, char **argv)
{
    void *handle;
    void (*foo)(void);

    handle =  dlopen ("/tmp/foo.so", RTLD_NOW);
    if (!handle)
        printf ("dlopen failed: %s\n", dlerror()), exit (1);

    foo = dlsym(handle, "foo");
    (*foo)();
    dlclose(handle);

Quote:}

---------------------- foo.c -------------------------------------------
#include <stdio.h>

void
foo()
{
    printf ("yo!\n");

Quote:}

----------------------------------------------------------------------
gcc -fPIC -c foo.c
gcc -shared -o foo.so foo.o
gcc -rdynamic test.c
a.out

 
 
 

1. kernel 1.3.41 breaks pppd-2.2.0a (?)


Yes, my pppd 2.2.0c doesn't work either. 1.3.40 OK.

--

-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQCNAzCoCQUAAAEEAOLmK4xM9VjyIk521i3Sq2fq0H0P3BieZc5oUqt+SF/9ig5p
B4HB48x6zY4d7fgwTWQEl1SGq+ZoWb8phbWkUaUqZd9/busuVLwmFSOXDdo9DNGz
bQSZSVVtzPP7D/LYCBoZ5ETTFak150lfbxVgXMeKkGCc7AwAnp5p+m5d+nzNAAUR
tB9FcmljIExpbiA8ZXJpY2xpbkB1bWFuaXRvYmEuY2E+iQCVAwUQMKhgGJ5p+m5d
+nzNAQG+GwQAzsP7cDIRsSmDUg0ofGD0nP6wnA/oyCmKDZXDV2ta4aJs3v9msuwE
4csdYIGKB/iMTzLaHmK2Z3TXUDyvfub4PjjMSlReV4GiPqK53owpvhdFyTEow4w4
mAS1OSVocqx/kzRrGvq/uu/gv9HpLKpM0wd8PoUs3WAS6M70CoImr5I=
=X4Qa
-----END PGP PUBLIC KEY BLOCK-----

2. Mouse problems w/ X & GW2000

3. Kernel 1.3.41 - ip_tcp.h ERRORS!?

4. Help with X Configuration - Unable to configure Display Adapter

5. Kernel 1.3.41 causes obtuse failures

6. XWindows Help!!

7. kernel 1.3.41

8. Problems with iBCS and ORACLE

9. ppp with kernel version > 1.3.41

10. Fix for some PPP problems with 1.3.41

11. Linux Kernel 1.3.41+SB AWE 32=NO SOUND

12. Problems with 1.3.39 - 1.3.41 compile

13. linux 1.3.41/1.3.37 + ppp2.2.0c