Re: GCC's -fsplit-stack disturbing Mach's vm_allocate

2014-04-14 Thread Richard Braun
On Fri, Apr 11, 2014 at 11:51:44PM +0200, Samuel Thibault wrote: > It's indeed: > > /* This function is called at program startup time to make sure that >mmap, munmap, and getpagesize are resolved if linking dynamically. >We want to resolve them while we have enough stack for them, rather

Re: Hurd port for gcc go PATCH 7-9 (9)

2014-04-14 Thread Svante Signell
On Mon, 2014-04-14 at 11:03 +0200, Samuel Thibault wrote: > Svante Signell, le Mon 14 Apr 2014 09:59:03 +0200, a écrit : > > > > @@ -528,6 +538,8 @@ > > > > > > > > # The stat type. > > > > # Prefer largefile variant if available. > > > > +# Special treatment of st_dev for GNU/Hurd > > > > +# /

Re: Hurd port for gcc go PATCH 7-9 (9)

2014-04-14 Thread Samuel Thibault
Svante Signell, le Mon 14 Apr 2014 09:59:03 +0200, a écrit : > > > @@ -528,6 +538,8 @@ > > > > > > # The stat type. > > > # Prefer largefile variant if available. > > > +# Special treatment of st_dev for GNU/Hurd > > > +# /usr/include/i386-gnu/bits/stat.h: #define st_dev st_fsid > > > stat=`gr

Re: Problem with glibc and libihash

2014-04-14 Thread Richard Braun
On Sun, Apr 13, 2014 at 11:56:44PM +0200, Samuel Thibault wrote: > Manolis Ragkousis, le Sun 13 Apr 2014 21:50:17 +, a écrit : > > First of all libihash and any of the hurd libraries cannot be built > > without a working glibc. Hurd libs depend heavily on header files > > found in glibc like "l

Re: Problem with glibc and libihash

2014-04-14 Thread Ludovic Courtès
Hi Manolis, Thanks for dealing with this, and for persevering, despite the difficult situation. Think of you as a pioneering explorer. ;-) Manolis Ragkousis skribis: > First of all libihash and any of the hurd libraries cannot be built > without a working glibc. Hurd libs depend heavily on he

Re: Hurd port for gcc go PATCH 7-9 (9)

2014-04-14 Thread Svante Signell
On Fri, 2014-04-11 at 22:55 +0200, Samuel Thibault wrote: > Svante Signell, le Fri 11 Apr 2014 14:57:35 +0200, a écrit : > > --- a/src/libgo/mksysinfo.sh > > +++ b/src/libgo/mksysinfo.sh > > Err, these seem to get applied to all systems, not just GNU/Hurd, isn't > that a concern? > > > @@ -210,6

Re: Hurd port for gcc go PATCH 0-3 (9)

2014-04-14 Thread Svante Signell
On Fri, 2014-04-11 at 22:52 +0200, Samuel Thibault wrote: > Svante Signell, le Fri 11 Apr 2014 14:47:21 +0200, a écrit : > > #ifdef TARGET_LIBC_PROVIDES_SSP > > +/* i386 glibc provides __stack_chk_guard in %gs:0x14. */ > > +#define TARGET_THREAD_SSP_OFFSET 0x14 > > Err, not the Hurd variant, n