diff mbox series

GOOS updated: Port of gccgo to GNU/Hurd

Message ID 1540665825.3351.2.camel@gmail.com
State New
Headers show
Series GOOS updated: Port of gccgo to GNU/Hurd | expand

Commit Message

Svante Signell Oct. 27, 2018, 6:43 p.m. UTC
Hello,

As advised by the Debian gcc maintainer Matthias Klose and golang
developer Ian Lance Taylor I'm (re-)submitting the patches for
the port of gccgo to GNU/Hurd again. Now GOOS value is changed from gnu
to hurd as requested.

The 13 patches are:
src_gcc_config_i386_gnu.h.diff
src_libgo_build.diff
src_libgo_go_crypto.diff
src_libgo_go_go_build_syslist.go.diff
src_libgo_go_net.diff
src_libgo_go_os.diff
src_libgo_go_runtime.diff
src_libgo_go_syscall.diff
src_libgo_go_syscall_syscall_gnu_test.go.diff
src_libgo_runtime.diff
src_libgo_testsuite_gotest.diff
add-gnu-to-libgo-headers.diff
add-gnu-to-libgo-test-headers.diff

Preliminary ChangeLog entries are included in each patch.

With them the latest the latest Debian gcc-snapshot (20181019-1) has
been successfully built. Test results for libgo and go:

                === libgo Summary ===

# of expected passes            162
# of unexpected failures        21

                === go Summary ===

# of expected passes            7394
# of unexpected failures        10
# of expected failures          1
# of untested testcases         7
# of unsupported tests          2

Thanks!

Comments

Svante Signell Nov. 3, 2018, 4:03 p.m. UTC | #1
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
> the port of gccgo to GNU/Hurd again. Now GOOS value is changed from
> gnu
> to hurd as requested.
> 
> The 13 patches are:
> src_gcc_config_i386_gnu.h.diff
> src_libgo_build.diff
> src_libgo_go_crypto.diff
> src_libgo_go_go_build_syslist.go.diff
> src_libgo_go_net.diff
> src_libgo_go_os.diff
> src_libgo_go_runtime.diff
> src_libgo_go_syscall.diff
> src_libgo_go_syscall_syscall_gnu_test.go.diff
> src_libgo_runtime.diff
> src_libgo_testsuite_gotest.diff
> add-gnu-to-libgo-headers.diff
> add-gnu-to-libgo-test-headers.diff
> 
> Preliminary ChangeLog entries are included in each patch.
> 
> With them the latest the latest Debian gcc-snapshot (20181019-1) has
> been successfully built. Test results for libgo and go:
> 
>                 === libgo Summary ===
> 
> # of expected passes            162
> # of unexpected failures        21
> 
>                 === go Summary ===
> 
> # of expected passes            7394
> # of unexpected failures        10
> # of expected failures          1
> # of untested testcases         7
> # of unsupported tests          2
> 
> Thanks!
Ian Lance Taylor Nov. 5, 2018, 11:29 p.m. UTC | #2
On Sat, Nov 3, 2018 at 9:03 AM, Svante Signell <svante.signell@gmail.com> wrote:
> ping, no feedback so far, is anything missing/are the patches rejected?

I haven't had time to look at them yet.

As I've probably said before you will get a faster response if you are
able to follow the contribution guidelines described at
https://golang.org/doc/contribute.html .  Absent that it's going to
have to wait.  I have promised to look at these patches before the GCC
9 release.

Ian


> 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
>> the port of gccgo to GNU/Hurd again. Now GOOS value is changed from
>> gnu
>> to hurd as requested.
>>
>> The 13 patches are:
>> src_gcc_config_i386_gnu.h.diff
>> src_libgo_build.diff
>> src_libgo_go_crypto.diff
>> src_libgo_go_go_build_syslist.go.diff
>> src_libgo_go_net.diff
>> src_libgo_go_os.diff
>> src_libgo_go_runtime.diff
>> src_libgo_go_syscall.diff
>> src_libgo_go_syscall_syscall_gnu_test.go.diff
>> src_libgo_runtime.diff
>> src_libgo_testsuite_gotest.diff
>> add-gnu-to-libgo-headers.diff
>> add-gnu-to-libgo-test-headers.diff
>>
>> Preliminary ChangeLog entries are included in each patch.
>>
>> With them the latest the latest Debian gcc-snapshot (20181019-1) has
>> been successfully built. Test results for libgo and go:
>>
>>                 === libgo Summary ===
>>
>> # of expected passes            162
>> # of unexpected failures        21
>>
>>                 === go Summary ===
>>
>> # of expected passes            7394
>> # of unexpected failures        10
>> # of expected failures          1
>> # of untested testcases         7
>> # of unsupported tests          2
>>
>> Thanks!
diff mbox series

Patch

libgo/ChangeLog

2018-10-20  Svante Signell <svante.signell@gmail.com>
  * libgo/testsuite/gotest: Remove ps -o comm option for GNU/Hurd.

Index: gcc-snapshot-20181019-1.1/src/libgo/testsuite/gotest
===================================================================
--- gcc-snapshot-20181019-1.1.orig/src/libgo/testsuite/gotest
+++ gcc-snapshot-20181019-1.1/src/libgo/testsuite/gotest
@@ -628,7 +628,11 @@  xno)
 		wait $pid
 		status=$?
 		if ! test -f gotest-timeout; then
-		    sleeppid=`ps -o pid,ppid,comm | grep " $alarmpid " | grep sleep | sed -e 's/ *\([0-9]*\) .*$/\1/'`
+		    if test "$goos" = "hurd"; then
+			sleeppid=`ps -o pid,ppid | grep " $alarmpid " | grep sleep | sed -e 's/ *\([0-9]*\) .*$/\1/'`
+		    else
+			sleeppid=`ps -o pid,ppid,comm | grep " $alarmpid " | grep sleep | sed -e 's/ *\([0-9]*\) .*$/\1/'`
+		    fi
 		    kill $alarmpid
 		    wait $alarmpid
 		    if test "$sleeppid" != ""; then