I came across on some issues in the building procedure which are not solved
in the debian patches so I think I should report them, ask for comments on
them and be as solid as possible in my descriptions.

First there are 2 definitions of "sigset_t"

One in "(path_to_glibc)/libpthread/signal/signal.h"

>  typedef uint64_t sigset_t;

and one in "(path_to_glibc)/misc/sys/select.h"

>  typedef __sigset_t sigset_t;

The build procedure fails if I don't comment one of them out.

Secondly the building procedure was looking for the header files located in
"(path_to_glibc)/libpthread/sysdeps/generic/bits" in the
"(path_to_glibc)/bits" so I had to copy them there manually.

And finally I get the error "collect2: error: ld returned 1 exit status" in
this part here

>  make[4]: Entering directory '/../source/hurd'
>  /../build/libc_pic.a(sigsetops.os): In function `__spin_unlock':
>  /../source/signal/../sysdeps/mach/i386/machine-lock.h:44: multiple
definition of `__spin_unlock'
>
/../build/libc_pic.a(spin-lock.os):/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-16/source/mach/../sysdeps/mach/i386/machine-lock.h:44:
first defined here

>  /../build/libc_pic.a(sigsetops.os): In function `__spin_try_lock':
>  /../source/signal/../sysdeps/mach/i386/machine-lock.h:59: multiple
definition of `__spin_try_lock'
>
/../build/libc_pic.a(spin-lock.os):/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-16/source/mach/../sysdeps/mach/i386/machine-lock.h:59:
first defined here

>  /../build/libc_pic.a(sigsetops.os): In function `__spin_lock_locked':
>  /../source/signal/../sysdeps/mach/i386/machine-lock.h:74: multiple
definition of `__spin_lock_locked'
>
/../build/libc_pic.a(spin-lock.os):/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-16/source/mach/../sysdeps/mach/i386/machine-lock.h:74:
first defined here
>  collect2: error: ld returned 1 exit status
>  ../Makerules:589: recipe for target '/../build/libc_pic.os' failed
>  make[2]: ***
[/tmp/nix-build-glibc-hurd-cross-i686-pc-gnu-2.18.drv-16/build/libc_pic.os]
Error 1

I am working on solving this last one, but I would like any possible help.

Manolis

Reply via email to