This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] compile fix for libc-tls.c


Hi.

I've needed the following patch to get the file to resolve some macros.
Otherwise I end up with link errors regarding roundup() and MAX().

My latest builds also fail with the following ...


GCONV_PATH=/opt/build/glibc-cvs/iconvdata LC_ALL=C   /opt/build/glibc-cvs/elf/ld-linux.so.2 --library-path /opt/build/glibc-cvs:/opt/build/glibc-cvs/math:/opt/build/glibc-cvs/elf:/opt/build/glibc-cvs/dlfcn:/opt/build/glibc-cvs/nss:/opt/build/glibc-cvs/nis:/opt/build/glibc-cvs/rt:/opt/build/glibc-cvs/resolv:/opt/build/glibc-cvs/crypt:/opt/build/glibc-cvs/linuxthreads /opt/build/glibc-cvs/rt/tst-aio7  > /opt/build/glibc-cvs/rt/tst-aio7.out
Timed out: the child process got signal Unknown signal 92
make[2]: *** [/opt/build/glibc-cvs/rt/tst-aio7.out] Error 1

Is this an expected failure?

Art Haas

Index: sysdeps/generic/libc-tls.c
===================================================================
RCS file: /cvs/glibc/libc/sysdeps/generic/libc-tls.c,v
retrieving revision 1.18
diff -u -r1.18 libc-tls.c
--- sysdeps/generic/libc-tls.c	6 Dec 2002 11:11:39 -0000	1.18
+++ sysdeps/generic/libc-tls.c	7 Dec 2002 15:22:54 -0000
@@ -23,6 +23,8 @@
 #include <unistd.h>
 #include <stdio.h>
 
+#include <sys/param.h>
+
 #ifdef SHARED
  #error makefile bug, this file is for static only
 #endif
-- 
They that can give up essential liberty to obtain a little temporary safety
deserve neither liberty nor safety.
 -- Benjamin Franklin, Historical Review of Pennsylvania, 1759


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]