msg BUG IN DYNAMIC LINKER ld.so (Slackware3.4+glibc2.06)

msg BUG IN DYNAMIC LINKER ld.so (Slackware3.4+glibc2.06)

Post by Stephane Roubero » Fri, 30 Jan 1998 04:00:00



Hi all,
I wonder if someone has an explanation

My problem is that I cannot run executables loading private
*debug* shared libraries
with Slackware3.4+glibc2.06, though the same load & run perfectly
with RedHat5.0(+glibc2.05).

context 1:
---------
 Slackware 3.4 distrib
 + glibc 2.0.6 installed as primary according to glibc2-HOWTO
 + gcc2.8.0

Any exec built with a private debug shared libs won't load.
the private debug shared lib is build with -g -fPIC switches of gcc
then ld -shared -o <lib.so> <list of .o>

demopc:sr(devlinux2)> ldd ./x_d
        libtry_d.so => /m/dev/linux2/lib/libtry_d.so (0x40000000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4017a000)
        libc.so.6 => /lib/libc.so.6 (0x40187000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
demopc:sr(devlinux2)>
demopc:sr(devlinux2)> ./x_d
BUG IN DYNAMIC LINKER ld.so: ../sysdeps/i386/dl-machine.h: 291:
elf_machine_rel: Assertion `! "unexpected dynamic reloc type"' failed!
demopc:sr(devlinux2)>

If I statically link ./x_d (no libtry_d.so), no problem.

context2:
---------
on a RedHat 5.0 distrib (with glibc 2.0.5) + gcc 2.8.0
./x_d loads and runs ok.

Thanks in advance,
Stephane Rouberol

 
 
 

msg BUG IN DYNAMIC LINKER ld.so (Slackware3.4+glibc2.06)

Post by David William » Mon, 02 Feb 1998 04:00:00



Quote:>Hi all,
>I wonder if someone has an explanation

>My problem is that I cannot run executables loading private
>*debug* shared libraries
>with Slackware3.4+glibc2.06, though the same load & run perfectly
>with RedHat5.0(+glibc2.05).

>context 1:
>---------
> Slackware 3.4 distrib
> + glibc 2.0.6 installed as primary according to glibc2-HOWTO
> + gcc2.8.0

>Any exec built with a private debug shared libs won't load.
>the private debug shared lib is build with -g -fPIC switches of gcc
>then ld -shared -o <lib.so> <list of .o>

  Try using cc to link rather than ld. On some platforms cc links
  in extra code e.g. to process .init and .fini sections which may be
  needed.

- Show quoted text -

Quote:>demopc:sr(devlinux2)> ldd ./x_d
>        libtry_d.so => /m/dev/linux2/lib/libtry_d.so (0x40000000)
>        libpthread.so.0 => /lib/libpthread.so.0 (0x4017a000)
>        libc.so.6 => /lib/libc.so.6 (0x40187000)
>        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
>demopc:sr(devlinux2)>
>demopc:sr(devlinux2)> ./x_d
>BUG IN DYNAMIC LINKER ld.so: ../sysdeps/i386/dl-machine.h: 291:
>elf_machine_rel: Assertion `! "unexpected dynamic reloc type"' failed!
>demopc:sr(devlinux2)>

>If I statically link ./x_d (no libtry_d.so), no problem.

>context2:
>---------
>on a RedHat 5.0 distrib (with glibc 2.0.5) + gcc 2.8.0
>./x_d loads and runs ok.

>Thanks in advance,
>Stephane Rouberol

--
David Williams

Maintainer of the Informix FAQ
 Primary site (Beta Version)  http://www.smooth1.demon.co.uk
 Official site                http://www.iiug.org/techinfo/faq/faq_top.html

I see you standin', Standin' on your own, It's such a lonely place for you, For
you to be If you need a shoulder, Or if you need a friend, I'll be here
standing, Until the bitter end...
So don't chastise me Or think I, I mean you harm...
All I ever wanted Was for you To know that I care

 
 
 

1. BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210

Hi there!

When I want to run a self written program, I get the error msg:

BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!

The same msg comes up when I try to list the libraries of this program
using ldd.

Any hints what went wrong?

Thanks, Werner

**********************************************************************
**                        http://www.jongl.de                       **
**********************************************************************

2. De-bounce mouse buttons

3. BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210:

4. Scanning Solution

5. BUG IN DYNAMIC LINKER ld.so

6. openserver 3.0 hangs on boot up

7. Bug in dynamic linker ld.so

8. My Lan card can't determine IP Information

9. BUG IN DYNAMIC LINKER .."bad dynamic tag".

10. dynamic loading: linker bug w.r.t. --export-dynamic ?

11. Can't load dynamic linker '/lib/ld.so'

12. can't load dynamic linker '/lib/ld.so'

13. First Public Release of Shared, Dynamic Linker (ld.so)