[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] Fix EGLIBC_RTLD_DEBUG on non-NPTL systems
- To: patches@xxxxxxxxxx
- Subject: [patches] Fix EGLIBC_RTLD_DEBUG on non-NPTL systems
- From: Aurelien Jarno <aurelien@xxxxxxxxxxx>
- Date: Fri, 11 Feb 2011 19:29:11 +0100
Hi,
EGLIBC 2.13 added support for the EGLIBC_RTLD_DEBUG option. This option
does not work correctly on non-NPTL systems (e.g. Hurd), as some parts
of sysdeps/generic/ldsodefs.h depends on __OPTION_EGLIBC_RTLD_DEBUG,
but this header doesn't directly include <gnu/option-groups.h>. On NPTL
systems it gets included indirectly through NPTL specific headers.
The patch below fixes the issue.
Aurelien
2011-02-11 Aurelien Jarno <aurelien@xxxxxxxxxxx>
* sysdeps/generic/ldsodefs.h: include <gnu/option-groups.h>.
--- libc/sysdeps/generic/ldsodefs.h
+++ libc/sysdeps/generic/ldsodefs.h
@@ -39,6 +39,7 @@
#include <hp-timing.h>
#include <tls.h>
#include <kernel-features.h>
+#include <gnu/option-groups.h> /* For __OPTION_EGLIBC_RTLD_DEBUG. */
__BEGIN_DECLS
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@xxxxxxxxxxx http://www.aurel32.net