This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/4018] segfault in ld.so on amd64
- From: "Petr dot Salinger at seznam dot cz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 13 Feb 2007 08:41:22 -0000
- Subject: [Bug libc/4018] segfault in ld.so on amd64
- References: <20070209180136.4018.Petr.Salinger@seznam.cz>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From Petr dot Salinger at seznam dot cz 2007-02-13 08:41 -------
> And?
The only point - there used to be SHN_UNDEF on _supported_ platform in the
past and it worked correctly.
> These days we have _rtld_global._dl_rtld_{,un}lock_recursive, or better yet
> opendir/readdir/closedir code you compile into ld.so (i.e. with IS_IN_rtld
> defined) should use no locking at all - ld.so certainly isn't going to use
> the same DIR object between multiple threads.
I used test for IS_IN_rtld in our getcwd, it simply will not fallback
to <posix/getcwd.c> in ld.so. Anyway, thanks for the hint.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=4018
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.