Bug 5246 - Patches to fix glibc 2.7 on Hurd
Summary: Patches to fix glibc 2.7 on Hurd
Alias: None
Product: glibc
Classification: Unclassified
Component: hurd (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: Thomas Schwinge
Depends on:
Reported: 2007-11-02 10:43 UTC by Aurelien Jarno
Modified: 2014-07-04 07:00 UTC (History)
4 users (show)

See Also:
Host: i686-unknown-gnu0.3
Target: i686-unknown-gnu0.3
Build: i686-unknown-gnu0.3
Last reconfirmed:
fweimer: security-

Add sysdeps/mach/hurd/kernel-features.h (686 bytes, patch)
2007-11-02 10:44 UTC, Aurelien Jarno
Details | Diff
define PTR_MANGLE for hurd (312 bytes, patch)
2007-11-02 10:45 UTC, Aurelien Jarno
Details | Diff
define __CPU_ALLOC_SIZE for non-linux architectures (286 bytes, patch)
2007-11-02 10:45 UTC, Aurelien Jarno
Details | Diff
Use __strtoul_internal instead of strtoul (334 bytes, patch)
2007-11-02 10:46 UTC, Aurelien Jarno
Details | Diff
PTR_MANGLE (340 bytes, patch)
2007-11-12 18:56 UTC, Thomas Schwinge
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aurelien Jarno 2007-11-02 10:43:53 UTC
Please find attached a few patches that are needed to build glibc 2.7 on Hurd.
Comment 1 Aurelien Jarno 2007-11-02 10:44:45 UTC
Created attachment 2074 [details]
Add sysdeps/mach/hurd/kernel-features.h
Comment 2 Aurelien Jarno 2007-11-02 10:45:04 UTC
Created attachment 2075 [details]
define PTR_MANGLE for hurd
Comment 3 Aurelien Jarno 2007-11-02 10:45:33 UTC
Created attachment 2076 [details]
define __CPU_ALLOC_SIZE for non-linux architectures
Comment 4 Aurelien Jarno 2007-11-02 10:46:00 UTC
Created attachment 2077 [details]
Use __strtoul_internal instead of strtoul
Comment 5 Thomas Schwinge 2007-11-12 18:43:01 UTC
Comment on attachment 2074 [details]
Add sysdeps/mach/hurd/kernel-features.h

Obsoleted by
Comment 6 Thomas Schwinge 2007-11-12 18:56:14 UTC
Created attachment 2085 [details]

Updated version, that also takes care of __ASSEMBLER__ code.
Comment 7 Thomas Schwinge 2012-11-04 21:02:15 UTC
__CPU_ALLOC_SIZE issue (attachment 2076 [details]) has been fixed in commit

__strtoul_internal issue (attachment 2077 [details]) has been fixed in commit

Last occurrences of PTR_MANGLE/PTR_DEMANGLE have been conditionalized in
commit e10bb1072cf11e52aad85d59673da86aeafd1b47 making attachment 2085 [details]