glibc build for Hurd broken
Joseph Myers
joseph@codesourcery.com
Tue Mar 31 00:27:07 GMT 2020
The glibc build for Hurd has recently become broken. I see errors:
get-host.c: In function '_hurd_get_host_config':
get-host.c:57:34: error: passing argument 2 of '__io_readable' from incompatible pointer type [-Werror=incompatible-pointer-types]
57 | err = __io_readable (config, &more);
| ^~~~~
| |
| mach_msg_type_number_t * {aka unsigned int *}
In file included from ../hurd/hurd.h:36,
from ../sysdeps/hurd/include/hurd.h:2,
from get-host.c:20:
/scratch/jmyers/glibc/many9/build/compilers/i686-gnu/glibc/i686-gnu/hurd/hurd/io.h:75:13: note: expected 'vm_size_t *' {aka 'long unsigned int *'} but argument is of type 'mach_msg_type_number_t *' {aka 'unsigned int *'}
75 | vm_size_t *amount
| ~~~~~~~~~~~^~~~~~
cc1: all warnings being treated as errors
I suspect the commit breaking things is gnumach commit
1e90662dd80c64de27b432c9d6911fad937da804, "64bit: Fix vm_size_t size".
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list