Please find attached a few patches that are needed to build glibc 2.7 on Hurd.
Created attachment 2074 [details] Add sysdeps/mach/hurd/kernel-features.h
Created attachment 2075 [details] define PTR_MANGLE for hurd
Created attachment 2076 [details] define __CPU_ALLOC_SIZE for non-linux architectures
Created attachment 2077 [details] Use __strtoul_internal instead of strtoul
Comment on attachment 2074 [details] Add sysdeps/mach/hurd/kernel-features.h Obsoleted by <http://sourceware.org/cgi-bin/cvsweb.cgi/libc/include/kernel-features.h.diff?c vsroot=glibc&r1=NONE&r2=1.1>
Created attachment 2085 [details] PTR_MANGLE Updated version, that also takes care of __ASSEMBLER__ code.
__CPU_ALLOC_SIZE issue (attachment 2076 [details]) has been fixed in commit 2b7e92df930b8ed1ace659bf6e0b8dff41d65bf0. __strtoul_internal issue (attachment 2077 [details]) has been fixed in commit 10589b4adb212dfde20670aacfb76aa842f42b92. Last occurrences of PTR_MANGLE/PTR_DEMANGLE have been conditionalized in commit e10bb1072cf11e52aad85d59673da86aeafd1b47 making attachment 2085 [details] obsolete.