IRC channel logs

2022-01-06.log

back to list of logs

<damo22>hmm ok
<biblio>hi, I am trying to build master-x86_64 branch from http://git.savannah.gnu.org/cgit/hurd/gnumach.git $ ../configure --host=x86_64-gnu CC='gcc -m64' I am getting error "checking whether the C compiler works... no" any suggestion ?
<biblio>also no luck "lib64gcc1-i386-cross : Depends: libc6 (>= 2.14) but it is not installable"
<luckyluke>you can just use ../configure if you're on a 64-bit machine
<luckyluke>btw, I hope I can push my code somewhere in the next days, I need to fix a few things before
<luckyluke>sorry for that
<biblio>luckyluke: sure no prob. I was trying to build on 32bit hurd.
<biblio>luckyluke: should I use 64bit linux and crossbuild ?
<luckyluke>I use this to build a 32-bit gnumach on 64-bit linux
<luckyluke>CPP='gcc -m32 -E -x c -undef -ansi' CC='gcc -m32' LD='ld -melf_i386' ./configure --prefix= --host=i686-unknown-linux-gnu
<biblio>luckyluke: oh ok. I got the idea.
<luckyluke>btw, are you using the master-x86_64 branch? that shouldn't be necessary anymore I think
<biblio>luckyluke: ok
<biblio>luckyluke: yes I am using master-x86_64.
<luckyluke>IIRC that was merged to master some time ago
<biblio>luckyluke: yes I just want to check - grub address mapping issue for 64bit.
<biblio>luckyluke: I think i need to install mig before compiling gnumach in linux.
<biblio>luckyluke: ok i will try to run your code later. that will be much easier I think. Error while compiling gnumach. "mig command not found" when I try to compile mig-1.8. I am getting <mach/message.h> no such file or dir.
<slex>before building mach u need to install its header files
<slex>in the gnumach folder
<slex>follow these steps
<slex> https://www.gnu.org/software/hurd/microkernel/mach/gnumach/building.html
<slex>however remember that mid is not 64bit actually
<slex>mig
<biblio>slex: ok I will test. thanks for the info.
<slex>need to go
<biblio>slex: ok i will check.
<Pellescours>luckyluke: the x86-64 branch was merged to master, you can try to build 64 bit kernel using master branch
<Pellescours>but it actually need a boothdr.S to be implemented
<biblio>slex: I was able to build it.
<biblio>Pellescours: boothdr.S impl is the pending task "adding 64bit boot support from grub". If I understood correctly.
<Pellescours>biblio: yep
<Pellescours>is someone having poweoff and reboot commands hanging sometimes? I have it sometimes and I don’t know why