public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug hurd/11638] New: regex.c fails to compile on Hurd
@ 2010-05-26 14:38 aurelien at aurel32 dot net
2010-05-26 14:39 ` [Bug hurd/11638] " aurelien at aurel32 dot net
0 siblings, 1 reply; 2+ messages in thread
From: aurelien at aurel32 dot net @ 2010-05-26 14:38 UTC (permalink / raw)
To: glibc-bugs
Since commit 54dd0ab31fe2b2168ba1a6180a0c05941fb54b3c, the MAX macro is used in
regex_internal.c which is included by regex.c, while it is not defined on the
include on Hurd.
On other architectures it is define in <sys/param.h> which is included in a
weird way:
from ../sysdeps/i386/i686/hp-timing.h:25,
from ../sysdeps/x86_64/hp-timing.h:23,
from ../nptl/descr.h:28,
from ../nptl/sysdeps/x86_64/tls.h:98,
from ../include/tls.h:6,
from ../bits/libc-tsd.h:45,
from ../locale/localeinfo.h:210,
from regex.c:54
I think that it should be included directly in regex_internal.h instead. Patch
will follow.
--
Summary: regex.c fails to compile on Hurd
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: hurd
AssignedTo: roland at gnu dot org
ReportedBy: aurelien at aurel32 dot net
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: i686-unknown-gnu0.3
GCC host triplet: i686-unknown-gnu0.3
GCC target triplet: i686-unknown-gnu0.3
http://sourceware.org/bugzilla/show_bug.cgi?id=11638
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug hurd/11638] regex.c fails to compile on Hurd
2010-05-26 14:38 [Bug hurd/11638] New: regex.c fails to compile on Hurd aurelien at aurel32 dot net
@ 2010-05-26 14:39 ` aurelien at aurel32 dot net
0 siblings, 0 replies; 2+ messages in thread
From: aurelien at aurel32 dot net @ 2010-05-26 14:39 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From aurelien at aurel32 dot net 2010-05-26 14:38 -------
Created an attachment (id=4818)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=4818&action=view)
Patch to fix the problem
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11638
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-05-26 14:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-05-26 14:38 [Bug hurd/11638] New: regex.c fails to compile on Hurd aurelien at aurel32 dot net
2010-05-26 14:39 ` [Bug hurd/11638] " aurelien at aurel32 dot net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).