Samuel Thibault, on Mon 19 Dec 2016 00:25:35 +0100, wrote:
> as the attached patch does, which should really be applied or done
> any other way.
Or rather this patch, which makes it more like the test above.
Matthias, I'm committing this to Debian's gcc-6, along the other go
patches from Svante.
Hello,
Svante Signell, on Fri 25 Nov 2016 20:57:26 +0100, wrote:
> Another more annoying gnumch/hurd/glibc bug is that the
> built program go (go-6 in Debian) gets killed when executed from the
> shell vi path, but not when issued directly: /usr/bin/go-6 works fine.
> go-6
> Segmentation fault (c
On Wed, Dec 7, 2016 at 2:02 PM, Svante Signell wrote:
>
> I'm sorry but neither of you or I are in the position to request changes of
> already existing file names e.g. replacing linux with glibc in:
> os/pipe_linux.go
> crypto/x509/root_linux.go
> syscall/errstr_linux.go
As you know, the name "l
On Wed, 2016-12-07 at 17:25 +0100, Samuel Thibault wrote:
> Svante Signell, on Wed 07 Dec 2016 15:32:31 +0100, wrote:
> > On Wed, 2016-12-07 at 15:08 +0100, Samuel Thibault wrote:
> > > Ok, but then I'd say move the function which change to a separate file,
> > > so that the other functions are kep
Svante Signell, on Wed 07 Dec 2016 15:32:31 +0100, wrote:
> On Wed, 2016-12-07 at 15:08 +0100, Samuel Thibault wrote:
> > Ok, but then I'd say move the function which change to a separate file,
> > so that the other functions are kept shared.
> > Otherwise it'll be tedious to maintain.
>
> One pro
On Wed, 2016-12-07 at 15:08 +0100, Samuel Thibault wrote:
> Svante Signell, on Wed 07 Dec 2016 14:52:35 +0100, wrote:
> > Since go does not have a preprocessor allowing conditional code paths this
> > is
> > how it should be done (and as I did):
> > http://blog.ralch.com/tutorial/golang-conditional
Svante Signell, on Wed 07 Dec 2016 14:52:35 +0100, wrote:
> Since go does not have a preprocessor allowing conditional code paths this is
> how it should be done (and as I did):
> http://blog.ralch.com/tutorial/golang-conditional-compilation/
Ok, but then I'd say move the function which change to
On Sun, 2016-11-27 at 18:02 +0100, Samuel Thibault wrote:
> Hello,
>
> Svante Signell, on Sun 27 Nov 2016 17:33:52 +0100, wrote:
> > > >
> > > And
> > > src_libgo_go_syscall_syscall_gnu_test.go: New file:
> > > Define Type and Whence as 32bit in syscall.Flock_t
> > >
> > > Again, you'll probab
Svante Signell, on Sun 27 Nov 2016 18:17:17 +0100, wrote:
> On Sun, 2016-11-27 at 18:02 +0100, Samuel Thibault wrote:
> > > But as you wish, an updated patch is attached.
> >
> > _Bool
> > Continued (uint32_t *w)
> > {
> > +#ifndef WCONTINUED
> > + *w = 0;
> > + return 0;
> > +#else
> > re
On Sun, 2016-11-27 at 18:02 +0100, Samuel Thibault wrote:
> Hello,
...
> > But as you wish, an updated patch is attached.
>
> _Bool
> Continued (uint32_t *w)
> {
> +#ifndef WCONTINUED
> + *w = 0;
> + return 0;
> +#else
> return WIFCONTINUED (*w) != 0;
> +#endif
> }
>
> Err, recheck the s
Hello,
Svante Signell, on Sun 27 Nov 2016 17:33:52 +0100, wrote:
> > > Index: gcc-6-6.2.1-4.1/src/libgo/go/syscall/wait.c
> > > ===
> > > --- gcc-6-6.2.1-4.1.orig/src/libgo/go/syscall/wait.c
> > > +++ gcc-6-6.2.1-4.1/src/libgo/go/sysc
* src_libgo_runtime_netpoll.goc.diff: Fix restricted word bug.
Rename variable errno to errno1.
* src_libgo_go_os_os_test.go.diff: Allow EFBIG return code to big
seeks.
* src_libgo_go_syscall_syscall_gnu_test.go: New file:
Define Type and Whence as 32bit in syscall.Flock_t
* src_libgo_testsuite
* src_libgo_go_net_sendfile_gnu.go.diff: New file
* src_libgo_go_net_sock_gnu.go.diff: New file
* src_libgo_go_net_sockopt_gnu.go.diff: New file
* src_libgo_go_net_sockoptip_gnu.go.diff: New file
* src_libgo_go_syscall_libcall_gnu_386.go.diff: New file
* src_libgo_go_syscall_libcall_gnu.go.diff: Ne
Hi,
Attached are patches to enable gccgo to build properly on Debian
GNU/Hurd on gcc-6 (6-6.2.1-5).
The first three patches are Debian-specific:
* debian_rules.defs.diff: Enables build of gccgo for GNU/Hurd
Define patches for the generated series file:
* debian_rules.patch.diff: Enables split-
* src_libgo_configure.ac.diff: Define GOOS=gnu and LIBGO_IS_GNU
* src_libgo_Makefile.am.diff: Add support for GNU/Hurd.
* src_libgo_Makefile.in.diff: Update accordingly with autreconf2.64
* src_libgo_mksysinfo.sh.diff: Define SYS_IOCTL to 0 if not defined,
Fix: #define EWOULDBLOCK EAGAIN in
Fix:
Svante Signell, le Tue 06 May 2014 14:13:54 +0200, a écrit :
> > > +# Special treatment of EWOULDBLOCK for GNU/Hurd
> > > +# /usr/include/bits/errno.h: #define EWOULDBLOCK EAGAIN
> > > +egrep '^const EWOULDBLOCK = Errno(_EWOULDBLOCK)' ${OUT} | \
> > > +sed -i.bak -e 's/_EWOULDBLOCK/_EAGAIN/' ${
On Tue, 2014-05-06 at 11:07 +0200, Samuel Thibault wrote:
> Svante Signell, le Tue 06 May 2014 10:58:38 +0200, a écrit :
> > The patch for st_dev by Thomas Schwinge was not liked by Samuel
>
> Uh?
>
> I said “These should be fine, however.” and “a sed rule can't hurt even
> if there is no occurre
Svante Signell, le Tue 06 May 2014 10:58:38 +0200, a écrit :
> The patch for st_dev by Thomas Schwinge was not liked by Samuel
Uh?
I said “These should be fine, however.” and “a sed rule can't hurt even
if there is no occurrence...”
So just keep that precise part back as it was, no need for bein
(continued)
patch7.diff: src/libgo/go/syscall/wait.c
Set WCONTINUED to zero if not defined (same fix as for lto in gcc-4.9)
patch8.diff: src/libgo/mksysinfo.sh
Add special treatment of EWOULDBLOCK, SYS_FCNTL and st_dev since they
are either not defined or defined differently for the script to ca
(continued)
patch4.diff: src/libgo/go/syscall/libcall_posix-1.go: New file, a copy
of libcall_posix.go with the mount, mlockall and munlockall calls
removed. mount/umount functionality exists but is currently part of
Hurd utilities, the outhe two functions are not yet implemented.
patch5.diff: s
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
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
> > > > +# /
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
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
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
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
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
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
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 =
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
--- Begin Message ---
(continued)
patch7.diff: src/libgo/go/syscall/wait.c
Set WCONTINUED to zero if not defined (same fix as for lto in gcc-4.9)
patch8.diff: src/libgo/mksysinfo.sh
Add special treatment of EWOULDBLOCK, SYS_FCNTL and st_dev since they
are either not defined or defined differentl
--- Begin Message ---
(continued)
patch4.diff: src/libgo/go/syscall/libcall_posix-1.go:
New file, a copy of libcall_posix.go with the mount call removed.
mount/umount functionality exists but is currently part of Hurd
utilities.
patch5.diff: src/libgo/go/net/sock_gnu.go
Create a dummy function f
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
t; Fotis and Svante, please base any futher work for the Hurd port for GCC
> Go on that branch. Send patches by email, for now.
>
> > I got as far as having GCC Go compiling with GCC trunk sources; more to
> > come later.
I have just updated tschwinge/t/hurd/go with some further
34 matches
Mail list logo