* libgo patch committed: Fix cgo tests for AIX
@ 2017-08-18 14:49 Ian Lance Taylor
0 siblings, 0 replies; only message in thread
From: Ian Lance Taylor @ 2017-08-18 14:49 UTC (permalink / raw)
To: gcc-patches, gofrontend-dev
[-- Attachment #1: Type: text/plain, Size: 143 bytes --]
This libgo patch by Tony Reix fixes the cgo tests for AIX.
Bootstrapped and ran testsuite on x86_64-pc-linux-gnu. Committed to
mainline.
Ian
[-- Attachment #2: patch.txt --]
[-- Type: text/plain, Size: 1363 bytes --]
Index: gcc/go/gofrontend/MERGE
===================================================================
--- gcc/go/gofrontend/MERGE (revision 251179)
+++ gcc/go/gofrontend/MERGE (working copy)
@@ -1,4 +1,4 @@
-9ff49c64ea6dbb5e08d1fa859b99b06049413279
+28e49825162465172ed706283628bf5cc1996260
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.
Index: libgo/misc/cgo/test/cthread_unix.c
===================================================================
--- libgo/misc/cgo/test/cthread_unix.c (revision 250873)
+++ libgo/misc/cgo/test/cthread_unix.c (working copy)
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build darwin dragonfly freebsd linux netbsd openbsd solaris
+// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
#include <pthread.h>
#include "_cgo_export.h"
Index: libgo/misc/cgo/test/issue18146.go
===================================================================
--- libgo/misc/cgo/test/issue18146.go (revision 250873)
+++ libgo/misc/cgo/test/issue18146.go (working copy)
@@ -50,6 +50,8 @@ func test18146(t *testing.T) {
nproc = 6
case "darwin", "dragonfly", "freebsd", "netbsd", "openbsd":
nproc = 7
+ case "aix":
+ nproc = 9
}
if setNproc {
var rlim syscall.Rlimit
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-08-18 14:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-18 14:49 libgo patch committed: Fix cgo tests for AIX Ian Lance Taylor
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).