Now gcc-13: [Fwd: [PATCH] gcc-12: Re-enable split-stack support for GNU/Hurd.]

2023-03-15 Thread Svante Signell via Gcc-patches
Package: gcc-snapshot Version: 1:20230315-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Affects: gcc-snapshot X-Debbugs-CC: debian-h...@lists.debian.org Hello, seems like the patch gcc_config_gnu.h.diff, in debian gcc-12 named: pr104290-followup.diff was lost

gcc-snapshot: FTBFS on hurd-i386 (and other archs?)

2023-01-16 Thread Svante Signell via Gcc-patches
Source: gcc-snapshot Version: 20230108-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd X-Debbugs-CC: debian-h...@lists.debian.org Hi, gcc-snapshot in sid FTBFS on hurd-i386 due to that some patches are not applied when building gcc-snapshot. After the

gcc-snapshot: FTBFS on hurd-i386 (and other archs?)

2023-01-16 Thread Svante Signell via Gcc-bugs
Source: gcc-snapshot Version: 20230108-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd X-Debbugs-CC: debian-h...@lists.debian.org Hi, gcc-snapshot in sid FTBFS on hurd-i386 due to that some patches are not applied when building gcc-snapshot. After the

gcc-11: FTBFS on hurd-i386

2023-01-03 Thread Svante Signell via Gcc-patches
Source: gcc-11 Version: 11.3.0-10 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Affects: gcc-11, gcc-snapshot X-Debbugs-CC: debian-h...@lists.debian.org Hi, gcc-11-11.3.0-10 in sid FTBFS on hurd-i386 due to failing linkage of pthread_once (same error already

gcc-11: FTBFS on hurd-i386

2023-01-03 Thread Svante Signell via Gcc-bugs
Source: gcc-11 Version: 11.3.0-10 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Affects: gcc-11, gcc-snapshot X-Debbugs-CC: debian-h...@lists.debian.org Hi, gcc-11-11.3.0-10 in sid FTBFS on hurd-i386 due to failing linkage of pthread_once (same error already

gcc-12: FTBFS on hurd-i386

2022-10-06 Thread Svante Signell via Gcc-patches
Source: gcc-12 Version: 12_12.2.0-5 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Affects: gcc-11, gcc-snapshot X-Debbugs-CC: debian-h...@lists.debian.org Hi, gcc-12-12.2.0-4/5 in sid FTBFS on hurd-i386 due to failing linkage of pthread_once (same error for

gcc-12: FTBFS on hurd-i386

2022-10-06 Thread Svante Signell via Gcc-bugs
Source: gcc-12 Version: 12_12.2.0-5 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Affects: gcc-11, gcc-snapshot X-Debbugs-CC: debian-h...@lists.debian.org Hi, gcc-12-12.2.0-4/5 in sid FTBFS on hurd-i386 due to failing linkage of pthread_once (same error for

Re: [PATCH] gcc-12: Re-enable split-stack support for GNU/Hurd.

2022-03-17 Thread Svante Signell via Gcc-patches
ping On Wed, 2022-02-23 at 11:13 +0100, Svante Signell wrote: > Hello, > > In line of porting the latest build of libgo/go with gcc-12 to GNU/Hurd, > support > of split-stack was found to be removed. > > After patching the files in libgo the build of gotools fails: > go

[PATCH] gcc-12: Re-enable split-stack support for GNU/Hurd.

2022-02-23 Thread Svante Signell via Gcc-patches
Hello, In line of porting the latest build of libgo/go with gcc-12 to GNU/Hurd, support of split-stack was found to be removed. After patching the files in libgo the build of gotools fails: go1: error: '-fsplit-stack' currently only supported on GNU/Linux go1: error: '-fsplit-stack' is not

Re: Bug#1005297: gcc-12-12-20220214: FTBFS on hurd-i386; Was: gcc-12-12-20220206: FTBFS on hurd-i386

2022-02-18 Thread Svante Signell via Gcc-bugs
retitle 1005297 gcc-12-12-29229214: FTBFS on hurd-i386 thanks On Thu, 2022-02-10 at 19:34 +0100, Svante Signell wrote: > Source: gcc-12 > Version: 12_12-20220206-1 > Severity: important > Tags: patch > User: debian-h...@lists.debian.org > Usertags: hurd Hi again, At

gcc-12-12-20220206: FTBFS on hurd-i386

2022-02-10 Thread Svante Signell via Gcc-bugs
Source: gcc-12 Version: 12_12-20220206-1 Severity: important Tags: patch User: debian-h...@lists.debian.org Usertags: hurd Hi, gcc-12-12-20220206 in experimental FTBFS on hurd-i386 due to missing patches for gccgo, gnu.h and an yet unresolved bug in src/Makefile.in. Attached are patches needed

[PATCH] New patch for the port of gccgo to GNU/Hurd

2020-09-25 Thread Svante Signell via Gcc-patches
Hello, Latest Debian snapshot of gcc (20200917-1) FTBFS due to a missing hurd entry in the // +build line of libgo/go/net/fd_posix.go. Attached is a patch for that missing entry. With it the latest Debian snapshot has been successfully built. Test results for libgo and go are:

Re: [Bug other/93049] limits.h generated by fixincludes breaks cross-compilation

2019-12-23 Thread Svante Signell
On Mon, 2019-12-23 at 10:09 +, sch...@linux-m68k.org wrote: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93049 > > --- Comment #1 from Andreas Schwab --- > Make sure you have sysroot properly set up so that the gcc Makefile finds the > system limits.h. Do you mean this:

Re: [PATCH] Updated patches for the port of gccgo to GNU/Hurd

2019-02-11 Thread Svante Signell
On Mon, 2019-02-11 at 10:27 -0800, Ian Lance Taylor wrote: > On Mon, Feb 11, 2019 at 3:10 AM Svante Signell > wrote: > > On Sun, 2019-02-10 at 22:08 -0800, Ian Lance Taylor wrote: > > > On Sun, Feb 10, 2019 at 3:41 AM Svante Signell > > > wrote: > > > >

Re: [PATCH] Updated patches for the port of gccgo to GNU/Hurd

2019-02-11 Thread Svante Signell
On Sun, 2019-02-10 at 22:08 -0800, Ian Lance Taylor wrote: > On Sun, Feb 10, 2019 at 3:41 AM Svante Signell > wrote: > > On Sat, 2019-02-09 at 23:57 +0100, Svante Signell wrote: > > > On Sat, 2019-02-09 at 14:40 -0800, Ian Lance Taylor wrote: > > > > On Fri, Feb

Re: [PATCH] Updated patches for the port of gccgo to GNU/Hurd

2019-02-10 Thread Svante Signell
On Sat, 2019-02-09 at 23:57 +0100, Svante Signell wrote: > On Sat, 2019-02-09 at 14:40 -0800, Ian Lance Taylor wrote: > > On Fri, Feb 8, 2019 at 3:07 PM Matthias Klose wrote: > > > On 07.02.19 06:04, Ian Lance Taylor wrote: > > What are the lines before that in the log?

Re: [PATCH] Updated patches for the port of gccgo to GNU/Hurd

2019-02-09 Thread Svante Signell
On Sat, 2019-02-09 at 14:40 -0800, Ian Lance Taylor wrote: > On Fri, Feb 8, 2019 at 3:07 PM Matthias Klose wrote: > > On 07.02.19 06:04, Ian Lance Taylor wrote: > What are the lines before that in the log? For some reason libtool is > being invoke with no source files. The lines before the

Add split_stack support for GNU/Hurd

2019-01-12 Thread Svante Signell
Lance Taylor and Matthis Klose. Thanks! gcc/config/ChangeLog 2018-10-10 Svante Signell * gcc/config/i386/gnu.h: Enable split-stack support Index: gcc-snapshot-20181019-1.1/src/gcc/config/i386/gnu.h === --- gcc-snapshot-20181019

Re: GOOS updated: Port of gccgo to GNU/Hurd

2018-11-03 Thread Svante Signell
ping, no feedback so far, is anything missing/are the patches rejected? On Sat, 2018-10-27 at 20:43 +0200, Svante Signell wrote: > Hello, > > As advised by the Debian gcc maintainer Matthias Klose and golang > developer Ian Lance Taylor I'm (re-)submitting the patches for > th

Re: Port of gccgo to GNU/Hurd

2018-10-22 Thread Svante Signell
On Mon, 2018-10-22 at 11:15 +0200, Svante Signell wrote: > Hello, > > As advised by the Debian gcc maintainer Matthias Klose and golang > developer Ian Lance Taylor (Cc:ed) I'm (re-)submitting the patches > for the port of gccgo to GNU/Hurd. > > The 13 patches are: Due t

Re: PATCH: Hurd port of go to gcc-8 (gcc-8-8-20180310+) 16 patches

2018-03-13 Thread Svante Signell
On Mon, 2018-03-12 at 14:44 +0100, Svante Signell wrote: > On Mon, 2018-03-12 at 13:29 +0100, Svante Signell wrote: > > > > The patches really changed are only four: > > src_libgo_runtime.diff > > src_libgo_go_go_build_syslist.go.diff > > src_libgo_go_runt

Re: PATCH: Hurd port of go to gcc-8 (gcc-8-8-20180310+) 16 patches

2018-03-12 Thread Svante Signell
On Mon, 2018-03-12 at 13:29 +0100, Svante Signell wrote: > The patches really changed are only four: > src_libgo_runtime.diff > src_libgo_go_go_build_syslist.go.diff > src_libgo_go_runtime.diff > src_libgo_build.diff Correction: five: add-gnu-to-libgo-headers.diff

Update: Hurd port for gcc-7 go : 7.3.0-8+ for glibc 2.26+

2018-03-10 Thread Svante Signell
Hi, Attached is the updated patch, src_libgo_build.diff, to build gccgo properly on Debian GNU/Hurd on gcc-7 (7-7.3.0-{8,9,10}) again after the update of glibc to 2.26+ The libgo tests show the following: === libgo Summary === # of expected passes119 # of unexpected

Re: Fix gcc-7 and gcc-8 build of GO for Hurd and not kFreeBSD in debian/rules.defs

2017-11-20 Thread Svante Signell
On Mon, 2017-11-20 at 14:04 +0100, Aurelien Jarno wrote: > On 2017-11-20 13:20, Svante Signell wrote: > > On Thu, 2017-11-16 at 20:39 +0100, Svante Signell wrote: > > > > Seeing the recent update of debian/rules.defs in gcc-7 a mistake was > > revealed in the patch deb

Fix gcc-7 and gcc-8 build of GO for Hurd and not kFreeBSD in debian/rules.defs

2017-11-20 Thread Svante Signell
On Thu, 2017-11-16 at 20:39 +0100, Svante Signell wrote: Seeing the recent update of debian/rules.defs in gcc-7 a mistake was revealed in the patch debian_rules.defs for both gcc-7 and gcc-8. The correct patch is inlined below: --- a/debian/rules.defs 2017-11-20 12:59:25.0 +0100 +++ b

Re: Hurd port for gcc-7 go PATCH 1-3(15)

2017-11-16 Thread Svante Signell
On Thu, 2017-11-16 at 14:12 +0100, Svante Signell wrote: > On Wed, 2017-11-15 at 21:54 +0100, Svante Signell wrote: > > > > Attached is an updated patch for gcc-7. An updated patch for gcc-8 will follow > shortly when I have build tested gcc-8 go on both Linux and Hurd. >

Re: Hurd port for gcc-7 go PATCH 1-3(15)

2017-11-16 Thread Svante Signell
On Wed, 2017-11-15 at 21:54 +0100, Svante Signell wrote: > On Wed, 2017-11-15 at 21:40 +0100, Matthias Klose wrote: > > On 06.11.2017 16:36, Svante Signell wrote: > > > Hi, > > > > > > Attached are patches to enable gccgo to build properly on Debian

Re: Hurd port for gcc-7 go PATCH 1-3(15)

2017-11-15 Thread Svante Signell
On Wed, 2017-11-15 at 21:40 +0100, Matthias Klose wrote: > On 06.11.2017 16:36, Svante Signell wrote: > > Hi, > > > > Attached are patches to enable gccgo to build properly on Debian > > GNU/Hurd on gcc-7 (7-7.2.0-12). > > sysinfo.go:6744:7: error: redefinition

Hurd port for gcc-8 go PATCH 11-15(15)

2017-11-10 Thread Svante Signell
* add-gnu-to-libgo-headers.diff: Add gnu to libgo headers for build. * add-gnu-to-libgo-test-headers.diff: Add gnu to libgo headers for tests. * src_libgo_go_go_build_syslist.go.diff: Add gnu to the goosList. * src_libgo_go_syscall_syscall_gnu_test.go.diff: gnu-specific file for tests involving

Hurd port for gcc-8 go PATCH 4-10(15)

2017-11-10 Thread Svante Signell
* src_libgo_build.diff: configure.ac, Makefile.* and shell script patches. * src_libgo_go_crypto.diff: Certificate go files. * src_libgo_go_net.diff: OS-specific net go files. * src_libgo_go_os.diff: OS-specific os go files. * src_libgo_go_runtime.diff: OS-specific runtime go files. *

Hurd port for gcc-8 go PATCH 1-3(15)

2017-11-10 Thread Svante Signell
Hi, Attached are patches to enable gccgo to build properly on Debian GNU/Hurd on gcc-8 (8-8-20171108-1). The first two patches are Debian-specific: Enable build of gccgo for GNU/Hurd: * debian_rules.defs.diff Define patches for the generated series file: * debian_rules.patch.diff The third

Hurd port for gcc-7 go PATCH 11-15(15)

2017-11-06 Thread Svante Signell
* add-gnu-to-libgo-headers.diff: Add gnu to libgo headers for build. * add-gnu-to-libgo-test-headers.diff: Add gnu to libgo headers for tests. * src_libgo_go_go_build_syslist.go.diff: Add gnu to the goosList. * src_libgo_go_syscall_syscall_gnu_test.go.diff: gnu-specific file for tests involving

Hurd port for gcc-7 go PATCH 4-10(15)

2017-11-06 Thread Svante Signell
* src_libgo_build.diff: configure.ac, Makefile.* and shell script patches. * src_libgo_go_crypto.diff: Certificate go files. * src_libgo_go_net.diff: OS-specific net go files. * src_libgo_go_os.diff: OS-specific os go files. * src_libgo_go_runtime.diff: OS-specific runtime go files. *

Hurd port for gcc-7 go PATCH 1-3(15)

2017-11-06 Thread Svante Signell
Hi, Attached are patches to enable gccgo to build properly on Debian GNU/Hurd on gcc-7 (7-7.2.0-12). The first two patches are Debian-specific: Enable build of gccgo for GNU/Hurd: * debian_rules.defs.diff Define patches for the generated series file: * debian_rules.patch.diff The third enables

Re: Hurd port for gcc go PATCH 1-4(23)

2016-12-07 Thread Svante Signell
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, > > >

Re: Hurd port for gcc go PATCH 1-4(23)

2016-12-07 Thread Svante Signell
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://blo

Re: Hurd port for gcc go PATCH 1-4(23)

2016-12-07 Thread Svante Signell
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 32b

Re: Hurd port for gcc go PATCH 1-4(23)

2016-11-27 Thread Svante Signell
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

Hurd port for gcc go PATCH 19-23(23)

2016-11-25 Thread Svante Signell
* 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 *

Hurd port for gcc go PATCH 11-18(23)

2016-11-25 Thread Svante Signell
* 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:

Hurd port for gcc go PATCH 1-4(23)

2016-11-25 Thread Svante Signell
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

Hurd port for gcc go PATCH 5-10(23)

2016-11-25 Thread Svante Signell
* 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  

Re: Please include ada-hurd.diff upstream (try2)

2016-05-04 Thread Svante Signell
On Wed, 2016-05-04 at 23:06 +0200, Samuel Thibault wrote: > Svante Signell, on Wed 04 May 2016 19:43:27 +0200, wrote: > > May I comment on Debian way of apt-get source gcc-*: Doing that > > does > > not unpack the sources, neither does it apply the patches, you have > &

Re: Please include ada-hurd.diff upstream (try2)

2016-05-04 Thread Svante Signell
On Wed, 2016-05-04 at 18:43 +0200, Svante Signell wrote: > OnSamuel Thibault, on Wed 04 May 2016 17:29:48 +0200, wrote: > > > > > -   --  From: /usr/include/unistd.h __getpagesize or > > > getpagesize?? > > > -   function Get_Page_Size return int; > >

Re: Please include ada-hurd.diff upstream (try2)

2016-05-04 Thread Svante Signell
On Wed, 2016-05-04 at 17:34 +0200, Samuel Thibault wrote: > Samuel Thibault, on Wed 04 May 2016 17:29:48 +0200, wrote: > > The gcc-6 build failed. I see that one of the change is: > > > > -   --  From: /usr/include/unistd.h __getpagesize or getpagesize?? > > -   function Get_Page_Size return int;

Re: Please include ada-hurd.diff upstream (try2)

2016-04-27 Thread Svante Signell
line and 6 branch (not sure it will be in the 6.1 release). > > > 2016-04-27  Svante Signell  <svante.sign...@gmail.com> > > * gcc-interface/Makefile.in (x86 GNU/Hurd): Use s-osinte-gnu.adb. > * s-osinte-gnu.ads: Small tweaks. > * s-osinte-gnu.adb: New file. I

Re: Please include ada-hurd.diff upstream (try2)

2016-04-25 Thread Svante Signell
c new file, yes that's fine. Attaching the modified ada-hurd.diff. Maybe it is ready for inclusion in upstream now? 2016-03-31 Svante Signell <svante.sign...@gmail.com> * gcc-interface/Makefile.in: Add support for x86 GNU/Hurd. * s-osinte-gnu.ads: New specification file.

Re: Please include ada-hurd.diff upstream (try2)

2016-04-25 Thread Svante Signell
On Tue, 2016-04-19 at 10:29 +0200, Arnaud Charlet wrote: > > > > The updated attachment was included in message > > https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01659.html > You should just put a FSF copyright on s-osinte-gnu.adb > > OK with this change. Is replacing +-- Copyright

Re: Please include ada-hurd.diff upstream (try2)

2016-04-19 Thread Svante Signell
ping! The updated attachment was included in message https://gcc.gnu.org/ml/gcc-patches/2016-03/msg01659.html On Thu, 2016-03-31 at 11:33 +0200, Svante Signell wrote: > On Thu, 2016-03-17 at 08:51 +0100, Arnaud Charlet wrote: > > > > > > > > > > > >

Re: Please include ada-hurd.diff upstream (try2)

2016-03-31 Thread Svante Signell
d be > copyright FSF, not AdaCore. Attached is an updated ada-hurd.diff with your comments above taken care of. OK now? Thanks!2016-03-31 Svante Signell <svante.sign...@gmail.com> * gcc-interface/Makefile.in: Add support for x86 GNU/Hurd. * s-osinte-gnu.ads: New specifica

Re: Please include ada-hurd.diff upstream (try2)

2016-03-19 Thread Svante Signell
Sorry for manually creating this mail. Replying to Arnauds message crashes my mail client (evolution). On Wed, 2016-03-16 at 11:53 +0100, Arnaud Charlet wrote: > Yes, you are right, somehow I submitted the old patch. Attached is the > updated one, with a proposed ChangeLog entry included. > >

Re: Please include ada-hurd.diff upstream (try2)

2016-03-16 Thread Svante Signell
re is only s-osinte-gnu.ads in the posted patch. Yes, you are right, somehow I submitted the old patch. Attached is the updated one, with a proposed ChangeLog entry included. Thanks!2016-03-16 Svante Signell <svante.sign...@gmail.com> * gcc-interface/Makefile.in: Add support for x86 GNU

Re: Please include ada-hurd.diff upstream (try2)

2016-03-16 Thread Svante Signell
es, patches need ChangeLog.  This one is small though so I have applied it: > > 2016-03-16  Svante Signell  <svante.sign...@gmail.com> > > * gcc-interface/Makefile.in: Add support for x86 GNU/Hurd. > * s-osinte-gnu.ads: New file. Hi Eric, Sorry for not supplying

Please include ada-hurd.diff upstream (try2)

2016-03-01 Thread Svante Signell
Hello, As time progresses, the ada-hurd.diff patch has now been living in Debian since gcc-4.6 and is now in gcc-5 and gcc-6. Last try to get it included upstream was in 2012, and 2014, e.g see https://gcc.gnu.org/ml/gcc-patches/2012-06/msg0.html and follow-ups. Maybe the time has come now

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-08-20 Thread Svante Signell
On Wed, 2014-05-21 at 10:48 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 10:44:54 +0200, a écrit : On Wed, 2014-05-21 at 10:33 +0200, Arnaud Charlet wrote: I think the majority of work has bee done, Now that patch will change slightly for every missing feature

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-21 Thread Svante Signell
On Mon, 2014-05-19 at 16:25 +0200, Arnaud Charlet wrote: That's actually the biggest concern when people submit a new port: they submit it, get it approved, commit it and then are no longer available for any maintenance when these files need to be updated/become outdated/ no longer

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-21 Thread Svante Signell
On Wed, 2014-05-21 at 10:03 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 09:49:59 +0200, a écrit : Thomas and Samuel: It looks like upstream don't accept patches unless a Hurd port maintainer commits to it. What's the use of all this job? Well, simply to keep

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-21 Thread Svante Signell
On Wed, 2014-05-21 at 10:29 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 10:20:16 +0200, a écrit : On Wed, 2014-05-21 at 10:03 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 09:49:59 +0200, a écrit : Thomas and Samuel: It looks like upstream don't

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-21 Thread Svante Signell
On Wed, 2014-05-21 at 10:33 +0200, Arnaud Charlet wrote: I think the majority of work has bee done, Now that patch will change slightly for every missing feature added to Hurd. Then it's all good, it's a matter of what I said above. Don't forget also the part where general changes

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-21 Thread Svante Signell
On Wed, 2014-05-21 at 10:47 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 10:40:37 +0200, a écrit : What kind of person do you have to be to be accepted, a GNU/Hurd developer or a GNU/Ada developer having a gnu.org account? Nothing special, just like

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-21 Thread Svante Signell
On Wed, 2014-05-21 at 11:27 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 11:22:44 +0200, a écrit : On Wed, 2014-05-21 at 10:47 +0200, Samuel Thibault wrote: Svante Signell, le Wed 21 May 2014 10:40:37 +0200, a écrit : What kind of person do you have

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-19 Thread Svante Signell
On Wed, 2014-05-14 at 12:53 +0200, Eric Botcazou wrote: Attached is a patch for support of GNU/Hurd in gnat-4.9. This patch has been used and updated in Debian since gnat-4.6, and is currently used to build gnat-4.9. Now when the body file s-osinte-posix.adb in gcc-4.9 defines tv_nsec in

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-19 Thread Svante Signell
On Mon, 2014-05-19 at 14:50 +0200, Arnaud Charlet wrote: The build went fine. Is something still missing? We never keep commented out code, except with a ??? comment explaining why. Do you want me to remove all GNU/Hurd specific header file info? We don't use 'FIXME', we use ??? instead.

Re: [PATCH] Add support for GNU/Hurd in gnat-4.9

2014-05-19 Thread Svante Signell
On Mon, 2014-05-19 at 15:53 +0200, Arnaud Charlet wrote: Do you want me to remove all GNU/Hurd specific header file info? No, I want you to remove commented out code, such as: +-- SIGLTHRRES : constant := 32; -- GNU/LinuxThreads restart signal +-- SIGLTHRCAN : constant := 33; --

Re: patch8.diff updated Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate

2014-05-16 Thread Svante Signell
On Wed, 2014-05-07 at 10:18 +0200, Svante Signell wrote: On Tue, 2014-05-06 at 15:26 +0200, Samuel Thibault wrote: Attached is an updated patch8.diff. Arch specific code to src/libgo/mksysinfo.sh has been added, now other systems are not affected by the patch except the SYS_FCNTL part

patch1.diff updated + test results Was: Re: GCC's -fsplit-stack disturbing Mach's vm_allocate

2014-05-07 Thread Svante Signell
On Tue, 2014-05-06 at 15:26 +0200, Samuel Thibault wrote: Svante Signell, le Tue 06 May 2014 15:25:38 +0200, a écrit : On Tue, 2014-05-06 at 15:07 +0200, Samuel Thibault wrote: Svante Signell, le Tue 06 May 2014 15:05:20 +0200, a écrit : On Tue, 2014-05-06 at 14:51 +0200, Samuel Thibault

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

2014-05-06 Thread Svante Signell
On Fri, 2014-05-02 at 12:52 +0200, Samuel Thibault wrote: Svante Signell, le Fri 02 May 2014 12:45:56 +0200, a écrit : On Fri, 2014-05-02 at 12:00 +0200, Samuel Thibault wrote: Samuel Thibault, le Fri 02 May 2014 11:57:53 +0200, a écrit : So we just need to fix guardsize in our

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.

Hurd port for gcc go PATCH 4-6 (9)

2014-05-06 Thread Svante Signell
(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:

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

2014-05-06 Thread Svante Signell
(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

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

2014-05-06 Thread Svante Signell
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 occurrence

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

2014-05-06 Thread Svante Signell
On Tue, 2014-05-06 at 14:51 +0200, Samuel Thibault wrote: Just to explicitly ask for it: Svante Signell, le Tue 06 May 2014 10:06:49 +0200, a écrit : For some (yet) unknown reason all libgo tests fails with a segfault when run in the build tree: make, sh or something else, the test

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

2014-05-06 Thread Svante Signell
On Tue, 2014-05-06 at 15:07 +0200, Samuel Thibault wrote: Svante Signell, le Tue 06 May 2014 15:05:20 +0200, a écrit : On Tue, 2014-05-06 at 14:51 +0200, Samuel Thibault wrote: Just to explicitly ask for it: Svante Signell, le Tue 06 May 2014 10:06:49 +0200, a écrit : For some

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

2014-05-02 Thread Svante Signell
On Fri, 2014-05-02 at 00:45 +0200, Samuel Thibault wrote: Hello, Svante Signell, le Thu 24 Apr 2014 10:39:10 +0200, a écrit : - Without split stack enabled around 70 libgo tests pass and 50 fails, most of them with a segfault. - Enabling split stack and using the libc Samuel built all

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

2014-05-02 Thread Svante Signell
On Fri, 2014-05-02 at 12:00 +0200, Samuel Thibault wrote: Samuel Thibault, le Fri 02 May 2014 11:57:53 +0200, a écrit : So we just need to fix guardsize in our libpthread. (And I'll have a look at it). Maybe this can fix the around 40 segfaults (of 50 failures) when split stack is disabled

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

2014-04-26 Thread Svante Signell
±On Sat, 2014-04-26 at 08:53 +0200, Justus Winter wrote: Quoting Svante Signell (2014-04-24 10:39:10) On Fri, 2014-04-18 at 10:03 +0200, Samuel Thibault wrote: Samuel Thibault, le Thu 17 Apr 2014 00:03:45 +0200, a écrit : Thomas Schwinge, le Wed 09 Apr 2014 09:36:42 +0200, a écrit

[PATCH] Add support for GNU/Hurd in gnat-4.9

2014-04-25 Thread Svante Signell
Hello, Attached is a patch for support of GNU/Hurd in gnat-4.9. This patch has been used and updated in Debian since gnat-4.6, and is currently used to build gnat-4.9. Now when the body file s-osinte-posix.adb in gcc-4.9 defines tv_nsec in timespec POSIX-correctly as long again, we think it is

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

2014-04-24 Thread Svante Signell
On Fri, 2014-04-18 at 10:03 +0200, Samuel Thibault wrote: Samuel Thibault, le Thu 17 Apr 2014 00:03:45 +0200, a écrit : Thomas Schwinge, le Wed 09 Apr 2014 09:36:42 +0200, a écrit : Well, the first step is to verify that TARGET_THREAD_SPLIT_STACK_OFFSET and similar configury is correct

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

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 +210,11

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 +# /usr/include/i386-gnu

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 svante.sign...@gmail.com 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

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 svante.sign...@gmail.com wrote: I don't understand this comment. The GCC libraries do still use automake. I regularly

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

[Fwd: Hurd port for gcc go PATCH 4-6 (9)]

2014-04-11 Thread Svante Signell
---BeginMessage--- (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 for

[Fwd: Hurd port for gcc go PATCH 7-9 (9)]

2014-04-11 Thread Svante Signell
---BeginMessage--- (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

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

2014-04-09 Thread Svante Signell
On Fri, 2014-04-04 at 21:14 +0200, Samuel Thibault wrote: Hello, Thomas Schwinge, le Wed 26 Jun 2013 23:30:03 +0200, a écrit : On Sat, 22 Jun 2013 08:15:46 -0700, Ian Lance Taylor i...@google.com wrote: Go can work without split stack. In that case libgo will use much larger stacks

Re: Please revert the patches in bug #54040 and #59346 and special case x32

2014-04-09 Thread Svante Signell
On Wed, 2014-04-09 at 14:41 +0200, Arnaud Charlet wrote: What do you think, Arno? I think that the POSIX breakage (and its fallout for the other Unices) is ugly and worth the additional complication. Yes, your patch looks good to me. Would it be possible to have s-osinte-posix.adb also

Re: Please revert the patches in bug #54040 and #59346 and special case x32

2014-04-09 Thread Svante Signell
On Wed, 2014-04-09 at 16:24 +0200, Eric Botcazou wrote: Would it be possible to have s-osinte-posix.adb also for x32 and in s-osinte-x32.ads use the following construct: ... type timespec is private; ... type timespec is record tv_sec : time_t; tv_nsec : long

Re: Please revert the patches in bug #54040 and #59346 and special case x32

2014-04-08 Thread Svante Signell
On Tue, 2014-04-08 at 09:26 +0200, Eric Botcazou wrote: Attached is a patch reverting the two commits for PR ada/54040: http://gcc.gnu.org/git/?p=gcc.gita=searchh=HEADst=commits=PR+ada% 2F54040 I don't think that's sufficient though, IIRC there were followup changes, so you'd better

Re: Please revert the patches in bug #54040 and #59346 and special case x32

2014-04-01 Thread Svante Signell
On Wed, 2014-03-26 at 00:25 +0100, Eric Botcazou wrote: Should I file a bug to get feedback on this issue? I know Ada is not the most prioritized language for gcc, but anyway. The current implementation is not POSIX-compliant. Can you post a complete patch doing the reversion? Breaking

Re: gcc-4.9: How to generate Makefile.in from a modified Makefile.am?

2014-03-27 Thread Svante Signell
On Thu, 2014-03-27 at 13:36 +0800, Chung-Ju Wu wrote: 2014-03-26 18:24 GMT+08:00 Svante Signell svante.sign...@gmail.com: Hi, With the recent changes of not using automake for the build, only auto{re}conf I have problems generating an updated Makefile.in from a modified Makfile.am

Re: gcc-4.9: How to generate Makefile.in from a modified Makefile.am?

2014-03-27 Thread Svante Signell
On Thu, 2014-03-27 at 10:10 +, Jonathan Wakely wrote: On 27 March 2014 09:35, Svante Signell wrote: - In an ideal situation no generated files should be shipped with a distribution, i.e. only configure.ac and Makefile.am, no configure, Makefile.in Makefile when not needed

gcc-4.9: How to generate Makefile.in from a modified Makefile.am?

2014-03-26 Thread Svante Signell
Hi, With the recent changes of not using automake for the build, only auto{re}conf I have problems generating an updated Makefile.in from a modified Makfile.am. Source is gcc-4.9-4.9-20140322 Some failing attempts: automake 1.14.1: (same with automake-1.11) (cd src/libgo; automake -if)

Re: gcc-4.9: How to generate Makefile.in from a modified Makefile.am?

2014-03-26 Thread Svante Signell
On Wed, 2014-03-26 at 16:20 +0100, Andreas Schwab wrote: Svante Signell svante.sign...@gmail.com writes: autoconf 2.69: You must use autoconf 2.65, exactly. I thought autoconf versions were backwards compatible by now, obviously not. Is this ever going to happen?

Re: gcc-4.9: How to generate Makefile.in from a modified Makefile.am?

2014-03-26 Thread Svante Signell
On Wed, 2014-03-26 at 16:30 +0100, Svante Signell wrote: On Wed, 2014-03-26 at 16:20 +0100, Andreas Schwab wrote: Svante Signell svante.sign...@gmail.com writes: autoconf 2.69: You must use autoconf 2.65, exactly. I thought autoconf versions were backwards compatible by now

Re: Please revert the patches in bug #54040 and #59346 and special case x32

2014-03-26 Thread Svante Signell
On Wed, 2014-03-26 at 00:25 +0100, Eric Botcazou wrote: Should I file a bug to get feedback on this issue? I know Ada is not the most prioritized language for gcc, but anyway. The current implementation is not POSIX-compliant. Can you post a complete patch doing the reversion? Breaking

Re: Please revert the patches in bug #54040 and #59346 and special case x32

2014-03-25 Thread Svante Signell
Hi, Should I file a bug to get feedback on this issue? I know Ada is not the most prioritized language for gcc, but anyway. The current implementation is not POSIX-compliant. On Mon, 2014-03-24 at 14:37 +0100, Svante Signell wrote: In reply to the thread ending with: http://gcc.gnu.org/ml/gcc

Please revert the patches in bug #54040 and #59346 and special case x32

2014-03-24 Thread Svante Signell
In reply to the thread ending with: http://gcc.gnu.org/ml/gcc-patches/2013-11/msg02069.html and bugs: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54040 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59346 Changing s-osinte-posix.adb - tv_nsec = long (Long_Long_Integer (F * 10#1#E9))); + tv_nsec

Re: Hurd port for GCC Go

2013-06-14 Thread Svante Signell
On Fri, 2013-06-14 at 16:42 +0200, Thomas Schwinge wrote: Hi! On Thu, 13 Jun 2013 10:39:58 +0200, I wrote: On Wed, 12 Jun 2013 15:36:39 +0200, Svante Signell svante.sign...@gmail.com wrote: On Tue, 2013-06-11 at 10:31 +0200, Thomas Schwinge wrote: On Fri, 07 Jun 2013 11:14:31 +0200

  1   2   >