From patchwork Sat Aug 6 15:59:02 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 656368 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3s67f25tr1z9t1d for ; Sun, 7 Aug 2016 01:59:21 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=g+zJmnIN; dkim-atps=neutral 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:cc:content-type; q=dns; s=default; b=w9Q20yoN6V/vXI1HMBKWdDcNiQgNV2NgSoDcE5LK6we rdZSUNckeu1Bk0lWJ4O2uTBj7XMC4Bi2yqNYTxfv0T9RyZrzamVt+eB6pfPmurGJ ESmEf9ONGESroC2kD9Hr5GjhcEBv0K94jGRdNd2J+ql2Hpdwxo81bmCaj4jfj6Gc = 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:cc:content-type; s=default; bh=Wk8u5p+UeKq35sRAngwqjI7eCJQ=; b=g+zJmnINBahh5SAqx u4DUFHDOa4TcsotnaHiiC+Lx7PmBdrpZKWkJ3xAe6ZqsxTxwzW6DU41qoWj7Vjlv R2Y46r0AD12uBCZQG2yUxwUa5K/FMwdvolG9B9mefAo4jHz7JPA1wabA3w8tbpy4 fKUhz4vaCLnHsmoziW91iSAJbA= Received: (qmail 4479 invoked by alias); 6 Aug 2016 15:59:14 -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 4470 invoked by uid 89); 6 Aug 2016 15:59:14 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL, BAYES_00, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=no version=3.3.2 spammy=MERGE, UD:match.sh, matchsh, match.sh X-HELO: mail-it0-f44.google.com Received: from mail-it0-f44.google.com (HELO mail-it0-f44.google.com) (209.85.214.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Sat, 06 Aug 2016 15:59:04 +0000 Received: by mail-it0-f44.google.com with SMTP id u186so44425955ita.0 for ; Sat, 06 Aug 2016 08:59:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=3P2e8eVXjKbcFYMnm003xiXDUMV+LffT47vkv2VzjCY=; b=W1XtOLUYzYcgD9Yu9Ij2mZsY1tPTRlt284Qj+lKPjHH+5mrltJvzriOhmOTguwl36Q m8ZHF2hxVnfCRmVVX39qXdpz8RNtNa9ae/Bp4m9JFVMKisSaxyVKtwsBese/tmJ+9ajw 1urZhdgSj+Vm3tBN4Jm+LL6kTaEW2T5M1aJpcEKX/ZRnHwznrntLu8tbWOeYT7kQJUcX +l48I6dLutz2Khe/reX1vJh7Zfto9ISVJMWKdeu1UUIMU9SRFh/Qx4B4iV20YG5FETAW AOyR4GcrxD2wMsolluHaKgwC8M4URw+TrYGtvBgfYxdT1J8qnh/b8M1aubEhCi3kumMd V09w== X-Gm-Message-State: AEkoouvrBFHlSUp+OZVqJMod/Dnd+1kfEsKmArC5hL9Q3y5XUwItOmxSh4JzXxLZImcEAmpbic0uH/dukumtqA== X-Received: by 10.36.142.129 with SMTP id h123mr10543789ite.66.1470499142549; Sat, 06 Aug 2016 08:59:02 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.35.199 with HTTP; Sat, 6 Aug 2016 08:59:02 -0700 (PDT) From: Ian Lance Taylor Date: Sat, 6 Aug 2016 08:59:02 -0700 Message-ID: Subject: libgo patch committed: fix build for 32-bit PPC To: gcc-patches , "gofrontend-dev@googlegroups.com" Cc: Segher Boessenkool This patch fixes the libgo build for 32-bit PPC, by adding a "ppc" build constraint to the internal/syscall/unix library. Tested by verifying that match.sh returned the right file, and by verifying that the build on x86_64-pc-linux-gnu did not change. Ian Index: gcc/go/gofrontend/MERGE =================================================================== --- gcc/go/gofrontend/MERGE (revision 239189) +++ gcc/go/gofrontend/MERGE (working copy) @@ -1,4 +1,4 @@ -8473b709ebd46c03c0e36e140656bd8c5d32d883 +b50a0c3fa975186f934b76e25dae42eb65148d67 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. Index: libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go =================================================================== --- libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go (revision 238662) +++ libgo/go/internal/syscall/unix/getrandom_linux_ppc64x.go (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 ppc64 ppc64le +// +build ppc ppc64 ppc64le package unix