IRC channel logs

2021-01-15.log

back to list of logs

***Server sets mode: +nt
***Server sets mode: +nt
<hahawang>Hello, I'm trying to build the Hurd from source, with the help of the cross-hurd build script(link: https://github.com/flavioc/cross-hurd). At the compiling glibc stage, I have encountered the following issue
<hahawang> https://bin.disroot.org/?8b5c5d5f5b1a217b#UC9ZYnRWki3PQosw8L2UNfx84GtVMbch6K4sVML8Vqb
<hahawang>It tells me that mutex-solid.c:20:10: fatal error: cthreads.h: No such file or directory, but with a quick search, I have found the `cthreads.h` at my-path-to-the-gnumach-source/i386/include/mach/i386/cthreads.h, should I link that path to the include path when compiling glibc? If so, how to do?
<hahawang>My glibc version: glibc-2.32, download directly from the gnu ftp instead of cloning from the git repo. I am a newbie to the hurd development and have little knowledge about how to build the hurd. Thank you very much!
<wleslie>a little bit earlier in the make output it should have the gcc invocation that failed, something like `./cross-tools/bin/i386-unknown-gnu-gcc blah blah`
<wleslie>I would check ./cross-tools/bin/i386-unknown-gnu-gcc --print-search-dirs
<hahawang> https://bin.disroot.org/?0f614df5df4705b2#BSrwZ5DVvL4SkZ7E2ByaXiqVFj5sVWz6R5NChmCvdxpv
<hahawang>It seems that the gnumach path isn't in the search-dirs?
<hahawang>Should I place the gnumach source path to the search dir? Is that a recommended way?
<hahawang>Thank you.
<wleslie>when gcc is built it *should* have the kernel headers placed on the system search path
<hahawang>I see, I will check and try again. Thank you very much!
***rekado_ is now known as rekado