diff mbox series

Retitle 894080: Please add the gccgo GNU/Hurd patches for gcc-8 again (and commit upstream)

Message ID 1523035337.3197.93.camel@gmail.com
State New
Headers show
Series Retitle 894080: Please add the gccgo GNU/Hurd patches for gcc-8 again (and commit upstream) | expand

Commit Message

Svante Signell April 6, 2018, 5:22 p.m. UTC
retitle 894080 Please add the gccgo GNU/Hurd patches for gcc-8 again (and commit
upstream)
found 894080 8-20180402-1
tags patch
thanks

gccgo for gcc-{4,5,6,7,8} has been building for a long time now on Debian
GNU/Hurd. Now is really the time to upstream those patches. However, with the
release of 8-20180402-1 and an attempt in 8-20180308-1 to remove the patches no
gccgo packages are built any longer. The test results are as follows:

tail build/gcc/testsuite/go/go.sum

                === go Summary ===

# of expected passes            518
# of untested testcases         834

The result is the same for e.g. the amd64 architecture and is due to 
checksyms: found unexpected symbol "__libc_start_main@@GLIBC_2.2.5"
FAIL: checksyms
see #892167.

tail build/i686-gnu/libgo/libgo.sum

                === libgo Summary ===

# of expected passes            139
# of unexpected failures        23

Attached is (again) a complete set of patches directly applicable to the latest
version of Debian gcc-8 (8-20180402-1). Additionally, this version of gcc-8 has
also been built on GNU/Linux amd64 with the patches applied without problems.

Thanks!
diff mbox series

Patch

Index: gcc-8-8-20171108-1.1/src/libgo/testsuite/gotest
===================================================================
--- gcc-8-8-20171108-1.1.orig/src/libgo/testsuite/gotest
+++ gcc-8-8-20171108-1.1/src/libgo/testsuite/gotest
@@ -624,7 +624,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" = "gnu"; 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