When I try to build glibc-2.3.2 with gcc-3.3 for sh4, I get the following error:
In file included from sys/ustat.h:30,
from ../sysdeps/unix/sysv/linux/ustat.c:21:
../sysdeps/generic/bits/ustat.h:26: error: redefinition of `struct ustat'...
GOTO Masanori also mentioned this error in March on linux.debian.maint.glibc,
archived at
http://groups.google.com/groups?selm=20030322165012%247208%40gated-at.bofh.it
He said it affects s390.
Gerhard Tonn <address@hidden> explained me that this problem
was needed to fix linux kernel header. He provided a patch for debian
glibc 2.3.2 to avoid this problem for the present.
--- linuxthreads/sysdeps/s390/tls.h.bak 2003-03-23 08:59:35.000000000 +0000
+++ linuxthreads/sysdeps/s390/tls.h 2003-03-23 09:47:49.000000000 +0000
@@ -124,7 +124,7 @@
# ifndef __ASSEMBLER__
/* Get the thread descriptor definition. */
-# include <linuxthreads/descr.h>
+//# include <linuxthreads/descr.h>
# define NONTLS_INIT_TP \
do { \