This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: __libc_stack_end cleanup
On Fri, Jan 16, Thorsten Kukuk wrote:
> On Thu, Jan 15, Richard Henderson wrote:
>
> > nptl/
> > * allocatestack.c: Don't declare __libc_stack_end.
> > * init.c (__pthread_initialize_minimal_internal): Likewise.
> > * pthread_getattr_np.c (pthread_getattr_np): Likewise.
>
> Now it fails on all architectures with:
>
> pthread_getattr_np.c: In function `pthread_getattr_np':
> pthread_getattr_np.c:110: error: `__libc_stack_end' undeclared (first use in this function)
> pthread_getattr_np.c:110: error: (Each undeclared identifier is reported only once
> pthread_getattr_np.c:110: error: for each function it appears in.)
> make[2]: *** [/usr/src/packages/BUILD/glibc-2.3/cc-nptl/nptl/pthread_getattr_np.os] Error 1
This one is missing:
2004-01-16 Thorsten Kukuk <kukuk@suse.de>
* nptl/pthread_getattr_np.c: Include ldsodefs.h.
--- nptl/pthread_getattr_np.c 16 Jan 2004 08:07:00 -0000 1.7
+++ nptl/pthread_getattr_np.c 16 Jan 2004 12:51:35 -0000
@@ -27,6 +27,7 @@
#include <sys/resource.h>
#include "pthreadP.h"
#include <lowlevellock.h>
+#include <ldsodefs.h>
int
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Maxfeldstr. 5 D-90409 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B