bug-glibc
[Top][All Lists]
Advanced

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

PR glibc/5049 (was: Re: [linux-sh:02761] Re: Fixing glibc-2.3.2:sysdeps/


From: Dan Kegel
Subject: PR glibc/5049 (was: Re: [linux-sh:02761] Re: Fixing glibc-2.3.2:sysdeps/unix/sysv/linux/{sh,s390}/asm/user.h)
Date: Thu, 05 Jun 2003 07:54:09 -0700
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030529

GOTO Masanori wrote:
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 {                                                                 \



I've entered this into the glibc bug tracking system as
http://bugs.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=glibc&pr=5049
and attached a possibly proper fix for sh4 to that report,
along with a note from Dan Jacobowitz about how he fixed it.
- Dan


--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045





reply via email to

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