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

2014-05-06 Thread Svante Signell
Hi, Attached are patches to enable gccgo to build properly on Debian GNU/Hurd on gcc-4.9 (4.9-4.9.0-1). With split stack enabled 95 libgo tests PASS and 27 FAIL. Many of the failed tests do fail only in a few sub-tests. patch0.diff is debian specific, while the rest are for upstream. patch0.diff

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

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

2014-04-12 Thread Ian Lance Taylor
On Sat, Apr 12, 2014 at 7:04 AM, Svante Signell wrote: > > (cd src/libgo;automake-1.11) > aclocal.m4:16: warning: this file was generated for autoconf 2.64. > You have another version of autoconf. It may work, but is not > guaranteed to. To rebuild any of the GCC configuration generated files, y

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

2014-04-12 Thread Svante Signell
On Sat, 2014-04-12 at 16:04 +0200, Svante Signell wrote: > On Fri, 2014-04-11 at 07:48 -0700, Ian Lance Taylor wrote: > > On Fri, Apr 11, 2014 at 5:47 AM, Svante Signell > > wrote: > > > > I don't understand this comment. The GCC libraries do still use > > automake. I regularly use automake to

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

2014-04-12 Thread Svante Signell
On Fri, 2014-04-11 at 07:48 -0700, Ian Lance Taylor wrote: > On Fri, Apr 11, 2014 at 5:47 AM, Svante Signell > wrote: > > > > Attached are patches to enable gccgo to build properly on Debian > > GNU/Hurd on gcc-4.9 (4.9-20140406). > > Thanks. Will review after 4.9 has branched. Thanks! Modified

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

2014-04-11 Thread Samuel Thibault
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, no. Is it really needed? > @@ -682,7 +686,7 @@ > go_net_cgo_file =

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

2014-04-11 Thread Ian Lance Taylor
On Fri, Apr 11, 2014 at 5:47 AM, Svante Signell wrote: > > Attached are patches to enable gccgo to build properly on Debian > GNU/Hurd on gcc-4.9 (4.9-20140406). Thanks. Will review after 4.9 has branched. > Note: Creating the Makefile.in is hard (unnecessary) work since automake > is no longer

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

2014-04-11 Thread Svante Signell
Hi, Attached are patches to enable gccgo to build properly on Debian GNU/Hurd on gcc-4.9 (4.9-20140406). With split stack disabled around 70 libgo tests PASS and 50 FAIL (result seems to be somewhat random, alignment problems there too?). With split stack enabled _all_ tests fail, see https://list