Message ID | 1520857753.3197.32.camel@gmail.com |
---|---|
State | New |
Headers | show |
Series | PATCH: Hurd port of go to gcc-8 (gcc-8-8-20180310+) 16 patches | expand |
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
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_runtime.diff > > src_libgo_build.diff > > Correction: five: > add-gnu-to-libgo-headers.diff And src_libgo_go_syscall.diff, eventually more. Best to use the complete set. Regarding test suites the go test results are the same as for e.g. amd64: This time the problem is with the symbol __libc_start_main@@GLIBC_2.2.6. tail build/gcc/testsuite/go/go.sum === go Summary === # of expected passes 518 # of untested testcases 834 grep ^FAIL: build/gcc/testsuite/go/go.log FAIL: checksyms x 8 checksyms: found unexpected symbol "__libc_start_main@@GLIBC_2.2.6" These problems are reported in debian bug #892167
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