From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111798 invoked by alias); 7 Sep 2019 12:03:58 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 111789 invoked by uid 89); 7 Sep 2019 12:03:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-15.7 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=H*i:sk:CAOyqgc, H*f:sk:CAOyqgc X-HELO: mail-out.m-online.net Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 07 Sep 2019 12:03:56 +0000 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 46QY495QYCz1rK4n; Sat, 7 Sep 2019 14:03:53 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 46QY493rMWz1qqkt; Sat, 7 Sep 2019 14:03:53 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id F_JrhdcaUlZT; Sat, 7 Sep 2019 14:03:52 +0200 (CEST) Received: from igel.home (ppp-46-244-177-25.dynamic.mnet-online.de [46.244.177.25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 7 Sep 2019 14:03:52 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 0F94B2C00D4; Sat, 7 Sep 2019 14:03:52 +0200 (CEST) From: Andreas Schwab To: Ian Lance Taylor Cc: gcc-patches , gofrontend-dev Subject: Re: libgo: Update to Go 1.13beta1 release References: X-Yow: DIDI... is that a MARTIAN name, or, are we in ISRAEL? Date: Sat, 07 Sep 2019 12:03:00 -0000 In-Reply-To: (Ian Lance Taylor's message of "Fri, 6 Sep 2019 11:28:40 -0700") Message-ID: <87a7bgl3dj.fsf@igel.home> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-09/txt/msg00444.txt.bz2 This has dropped support for riscv64: diff --git a/libgo/misc/cgo/testcshared/src/libgo2/dup2.go b/libgo/misc/cgo/testcshared/src/libgo2/dup2.go deleted file mode 100644 index d343aa54d9a..00000000000 --- a/libgo/misc/cgo/testcshared/src/libgo2/dup2.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2015 The Go Authors. All rights reserved. -// 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,!arm64,!riscv64 netbsd openbsd - -package main - -import "syscall" - -func dup2(oldfd, newfd int) error { - return syscall.Dup2(oldfd, newfd) -} diff --git a/libgo/misc/cgo/testcshared/src/libgo2/dup3.go b/libgo/misc/cgo/testcshared/src/libgo2/dup3.go deleted file mode 100644 index 459f0dc1968..00000000000 --- a/libgo/misc/cgo/testcshared/src/libgo2/dup3.go +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2015 The Go Authors. All rights reserved. -// Use of this source code is governed by a BSD-style -// license that can be found in the LICENSE file. - -// +build linux,arm64 linux,riscv64 - -package main - -import "syscall" - -func dup2(oldfd, newfd int) error { - return syscall.Dup3(oldfd, newfd, 0) -} diff --git a/libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go b/libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go new file mode 100644 index 00000000000..d18f0b130d3 --- /dev/null +++ b/libgo/misc/cgo/testcshared/testdata/libgo2/dup2.go @@ -0,0 +1,13 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// 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,!arm64 netbsd openbsd + +package main + +import "syscall" + +func dup2(oldfd, newfd int) error { + return syscall.Dup2(oldfd, newfd) +} diff --git a/libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go b/libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go new file mode 100644 index 00000000000..c9c65a6e3c1 --- /dev/null +++ b/libgo/misc/cgo/testcshared/testdata/libgo2/dup3.go @@ -0,0 +1,13 @@ +// Copyright 2015 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +// +build linux,arm64 + +package main + +import "syscall" + +func dup2(oldfd, newfd int) error { + return syscall.Dup3(oldfd, newfd, 0) +} Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."