From patchwork Fri Aug 18 14:06:04 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 803252 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-460574-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="A4Us4jZO"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xYlHZ0PTXz9s82 for ; Sat, 19 Aug 2017 00:06:17 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; q= dns; s=default; b=uJ7N+CpGFvCwh3HUVCDMvMaYFAR2EnqPckU/3lardWHVoa s9mVsl7OgyURLiwRLsRuUcb6yYZC6fTk9a4CO/hQo51avSDtpW+Qx++t63nDnlww x0rSWUBfx1dUmReTPfVxtZjUr0XqdCiKw3LbURyDJ5iUNSFVFwpnk9EGzyy9E= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:from:date:message-id:subject:to:content-type; s= default; bh=HAkMWArYy+bGUcVdPOkswAkPC2g=; b=A4Us4jZOwLJddmIWXqUL wLezKNycmPmRYpJZnGgA6jJ82VKdysjU6egoW/2wDLa52d9M/xQvxOrKV2/iMhIN CL5CznF6HtCRoy0iqnu1lG6bQ3V34cIY60drbfhJDYwRReSoz30aJz7iI2oQqvqg 0n5lnYE8Re8spI6fuCWoeBc= Received: (qmail 67505 invoked by alias); 18 Aug 2017 14:06:09 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 65913 invoked by uid 89); 18 Aug 2017 14:06:07 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-10.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-oi0-f47.google.com Received: from mail-oi0-f47.google.com (HELO mail-oi0-f47.google.com) (209.85.218.47) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 18 Aug 2017 14:06:06 +0000 Received: by mail-oi0-f47.google.com with SMTP id g131so97191220oic.3 for ; Fri, 18 Aug 2017 07:06:06 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nfLzEgyjOD86meNibHV0BnJ+MJOPAhmwfyvKg6kxWRc=; b=bv3byKzerKjQP2pruugxX+fv5KKpHi/4rDVA6UAXNg3two57M4ZKnfwtuG2FQYigbE 4S/JHWDx4jGAF63ChIcD7Xzwc/rQ3noxNj4ECTTXQoVZE7MOJnU2JIBrGF0dnXEBB2Dv 2XnUq0ifWtojJ6HoWtWHZaPFYTayAlXMzG9LqEcW5/lULe9Fz6UA5jWALxO1n0pp4oaC lOfv6IidVt3CITJb3QlEtZcLFRyhv4LA+OQbkOyBMdRXxxDDU+c4gZgpZWCEXeBQMUyT nIYFCQKV9mB0JtHNb4l0mcfK7F79hIBqdCndeZ4IPHE4cz8hBFsMPttVbGiN1YIQnA7I wMlw== X-Gm-Message-State: AHYfb5hmgCPMlvX7wVGs1Q0YFzpSR99Rv5bK22p5lRqZK3NNgURZDase xy/o0k67KB3d1q4X5M1ECkl8i8n7tUYZIhc= X-Received: by 10.202.48.9 with SMTP id w9mr11018522oiw.270.1503065165028; Fri, 18 Aug 2017 07:06:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.168.74.13 with HTTP; Fri, 18 Aug 2017 07:06:04 -0700 (PDT) From: Ian Lance Taylor Date: Fri, 18 Aug 2017 07:06:04 -0700 Message-ID: Subject: libgo patch committed: Fix cgo tests for AIX To: gcc-patches , "gofrontend-dev@googlegroups.com" 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 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 #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