Please find attached a few patches that are needed to build glibc 2.7 on Hurd.
Created attachment 2074 [details]
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]
Created attachment 2085 [details]
Updated version, that also takes care of __ASSEMBLER__ code.
__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]