Re: [PATCH] hurd: Add shared mig declarations

2020-06-01 Thread Samuel Thibault
Applied, thanks!

Samuel



Re: [BLOG] A "Hello World" VM running the Hurd!

2020-06-01 Thread Samuel Thibault
Hello,

Ludovic Courtès, le jeu. 09 avril 2020 11:43:58 +0200, a ecrit:
> Samuel Thibault  skribis:
> 
> > Jan Nieuwenhuizen, le mer. 08 avril 2020 22:02:25 +0200, a ecrit:
> >> Using Guix we have cross-built a VM image for the Hurd.  Read more...
> >> 
> >> 
> >> https://guix.gnu.org/blog/2020/a-hello-world-virtual-machine-running-the-hurd/
> >
> > It would be nice to have this in a CI, and report when it breaks, so we
> > catch that as early as possible when pushing stuff upstream :)
> 
> Someone did that a while back:
> 
>   https://lists.gnu.org/archive/html/bug-hurd/2011-11/msg00042.html
> 
> Time flies!  :-)

:)

> I agree that it would be nice to revive this, with a Guix setup this time.

Yep :)

It would be useful to set up one for the gdb git as well, its build
breaks from times to times notably due to the mig stuff and we really
need gdb working :)

Samuel



Re: [PATCH] hurd: Add shared mig declarations

2020-06-01 Thread Christian Biesinger
On Sat, May 30, 2020 at 1:23 PM Samuel Thibault  wrote:
> Index: binutils-gdb/gdb/gnu-nat.c
> ===
> --- binutils-gdb.orig/gdb/gnu-nat.c
> +++ binutils-gdb/gdb/gnu-nat.c
> @@ -46,6 +46,9 @@ extern "C"
>  #include 
>
>  #include 
> +
> +/* MIG stubs are not yet ready for C++ compilation.  */
> +#include "gnu-nat-mig.h"
>  }

But since this is a header in GDB, why not just add that extern "C" to
make it ready for C++ compilation...?

Christian