Hello,
I've been trying to build a Hurd system in Linux From Scratch approach.
When I built a "cross" toolchain targeting i686-pc-gnu on Debian GNU/Hurd, I encountered an error. The message is below:
> /mnt/hfs/tools/bin/../lib/gcc/i686-pc-gnu/5.2.0/../../../../i686-pc-gnu/bin/ld: cannot find -lihash
> collect2: error: ld returned 1 exit status
> ../Makerules:438: recipe for target '/mnt/hfs/sources/glibc-build/libpthread/libpthread.so' failed
> make[2]: *** [/mnt/hfs/sources/glibc-build/libpthread/libpthread.so] Error 1
> make[2]: Leaving directory '/mnt/hfs/sources/glibc-2.19-hurd+libpthread-20151031/libpthread'
> Makefile:213: recipe for target 'libpthread/others' failed
> make[1]: *** [libpthread/others] Error 2
> make[1]: Leaving directory '/mnt/hfs/sources/glibc-2.19-hurd+libpthread-20151031'
> Makefile:9: recipe for target 'all' failed
> make: *** [all] Error 2
The problem is, libpthreads integrated in glibc requires libihash and libihash requires glibc.
I avoided this problem by copying libihash.* from the host system, but it seems dirty. Is there any clean and sane way to handle it?