[Top][All Lists]

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

Re: The recent glibc breakage (dynamically linking with libthreads)

From: Manuel Menal
Subject: Re: The recent glibc breakage (dynamically linking with libthreads)
Date: Thu, 22 Sep 2005 12:10:46 +0200
User-agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)

Alfred M. Szmidt wrote:


and so has GNU/Linux on x86.
I'm quite confident that GNU/Linux on x86 doesn't use sysdeps/mach/hurd/i386/init-first.c. Right, and that is where the problem is.

I don't think so. The attribute_relro attribute for _dl_argv was added
only last year. As Thomas noted, it had no effect on GNU/Hurd since
everything was built using a old binutils version that did not support
-z relro.

Jakub Jelinek introduced a macro that libc ports should define if their
_dl_argv is not really relro. At that time (2004-02-19), nobody from the
Hurd project commented. Judging from the bits posted by Thomas, I'm
pretty sure this macro (DL_ARGV_NOT_RELRO) should be defined for
hurd-i386, like it is for sparc, ia64 and alpha.

As to the right place, it seems to be sysdeps/mach/hurd/i386/dl-machine.h.

Perhaps Roland can comment on that, though.


Manuel Menal

reply via email to

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