As I said in the irc I managed to bypass the previous error by
deleting #define _EXTERN_INLINE in signal/sigsetops.c

I am now getting the error

>  /../build/libc_pic.os: In function `__fork':
>  /../source/posix/../sysdeps/mach/hurd/fork.c:71: undefined reference to 
> `__start__hurd_atfork_prepare_hook'
>  /../gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld: 
> /../build/libc_pic.os: relocation R_386_GOTOFF against undefined hidden >  
> symbol `__start__hurd_atfork_prepare_hook' can not be used when making a 
> shared object
>  /../gcc-cross-sans-libc-i686-pc-gnu-4.8.2/libexec/gcc/i686-pc-gnu/ld: final 
> link failed: Bad value
>  collect2: error: ld returned 1 exit status
>  ../Makerules:614: recipe for target '/../build/libc.so' failed
>  make[2]: *** 
> [/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-38/build/libc.so] Error 
> 1
>  make[2]: Leaving directory 
> '/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-38/source/elf'
>  Makefile:233: recipe for target 'elf/subdir_lib' failed

I searched the source files in posix and sysdeps/mach/hurd/ and I
can't seem to find any reference to
`__start__hurd_atfork_prepare_hook'.

Any ideas?

Manolis

Reply via email to