bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Glibc building procedure error report.


From: Manolis Ragkousis
Subject: Glibc building procedure error report.
Date: Mon, 31 Mar 2014 22:35:08 +0000

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

[Prev in Thread] Current Thread [Next in Thread]