Re: A tale of bootstrap ld.so debugging

2011-11-09 Thread Ludovic Courtès
Hi Roland, Roland McGrath rol...@hack.frob.com skribis: I think what we used to say was that you should try to do debugging with sub-hurds where the console port is faked with io ports (I think). The thing is that I was debugging a system cross-built from scratch, so sub-hurds were not an

Re: A tale of bootstrap ld.so debugging

2011-11-08 Thread Roland McGrath
I think what we used to say was that you should try to do debugging with sub-hurds where the console port is faked with io ports (I think). We definitely don't want to clutter up ld.so with stuff that is only for debugging early boot. I think it would be better to have serverboot supply a

A tale of bootstrap ld.so debugging

2011-11-07 Thread Ludovic Courtès
Hello! While cross-building a GNU/Hurd QEMU image, I stumbled upon a series of bugs, the last one of which led to a one-liner adding libgcc_s.so to the image. Lack of libgcc_s.so prevented the initial /hurd/exec to run. The kernel debugger showed a backtrace in ld.so hinting at an undefined