bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Q: ld-linux.2 bug in glibc2.2.2?


From: Basile STARYNKEVITCH
Subject: Q: ld-linux.2 bug in glibc2.2.2?
Date: Mon, 26 Feb 2001 22:11:26 +0100 (CET)

Hello all,

I probably have found a bug in ld-linux.2 dynamic loader of
glibc2.2.2.

A simple example is found on "http://tunes.org/~basile/glibcbug.tgz"; a
Gnuzipped tar file of 3663 bytes and md5sum
77c84af1964027f97fb5d809cf9daf3b

which contains 
drwxr-xr-x basile/parents    0 2001-02-26 21:57:32 GlibcBug/
-rw-r--r-- basile/parents 7334 2001-02-26 21:44:45 GlibcBug/ldscript
-rw-r--r-- basile/parents  520 2001-02-26 21:44:52 GlibcBug/main2.c
-rw-r--r-- basile/parents  249 2001-02-26 21:56:44 GlibcBug/Makefile
-rw-r--r-- basile/parents 1529 2001-02-26 21:56:29 GlibcBug/README

Ok, I am having an unorthodox use of ld-linux.so, but I still expect
it to be resistant...

I am linking a (simple) program with GNU ld using my own explicit
ldscript. This ldscript is probably buggy (but I did not found yet its
bug). But I expect that the dynamic loader should not crash, even when
working on faulty ELF executables, as produced by my ldscript.

I am beginning to try to debug this ld-linux.2 bug myself. Could some
glibc2.2.2 expert help me:

how to debug ld-linux.2 (it seems that compiling it with -g doesnot
change anything; so I added my own debugging output, but it is boring
to use only _dl_debug_message as printing routine)?

what is the make target (or building command) to only build the
ld-linux.so.2? Building the whole glibc is timeconsuming...

perhaps this bug has already been corrected.... I am using only the
published glibc-2.2.2 source tree, not the latest CVS...

If you have any lights on this bug please be kind to email me.

Regards.
-- 

Basile STARYNKEVITCH -- http://perso.wanadoo.fr/starynkevitch/basile/
email: basile dot starynkevitch at wanadoo dot fr (France)
alias: basile at tunes dot org       host: http://lesours.dyndns.org/
8, rue de la Faïencerie, 92340 Bourg La Reine, phone: 1.46.65.45.53




reply via email to

[Prev in Thread] Current Thread [Next in Thread]