bug-hurd
[Top][All Lists]
Advanced

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

Re: Circular dependency with glibc libpthread libihash


From: Samuel Thibault
Subject: Re: Circular dependency with glibc libpthread libihash
Date: Fri, 11 Apr 2014 06:48:47 +0200
User-agent: Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30)

Manolis Ragkousis, le Fri 11 Apr 2014 00:03:40 +0000, a écrit :
> When libpthread tries to link against "libihash.so" I get the error:
> 
> /lib/libihash.so: file not recognized: File format not recognized.
> 
> This happens because libihash was built using the native compiler.
> So I changed the flag in libihash configure to "--host" so it will use
> the cross-compiler. But then I got the error "configure:3008: error: C
> compiler cannot create executables."

> It tries to compile a program, but cannot find these files, so it
> fails. But in order to have them we need glibc.
> 
> We have a circular dependency glibc+libpthread -> libihash -> glibc,
> so I guess an intermediate glibc is our only option. Or is there
> another way?

I'd say the build system of the hurd repository should be made to accept
not to be able to build programs, and then only build the libraries in
that case. That way it won't need crt stuff.

Samuel



reply via email to

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