From patchwork Mon Oct 22 09:15:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Svante Signell X-Patchwork-Id: 987545 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-488004-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="amwAnvvb"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="oC57pD7x"; 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 42drVy2q7nz9sCV for ; Mon, 22 Oct 2018 20:16:40 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :message-id:subject:from:reply-to:to:cc:date:content-type :mime-version; q=dns; s=default; b=N7BhepeaxXDd5eK3Tm53aMGcXwUaC /z945H8i4smOnnK4yV/YxTvJuTGU8Av2akSaPUanNXwwcJ6yKcRl535NfPlVIRDQ RpH3poRiQH8uh02wAlDNKJV7Jz7UUCA/Wc7s0ZVLKct0W+nuFfSBlTq1R5728KVe RkfqjUVgKSgh4w= 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 :message-id:subject:from:reply-to:to:cc:date:content-type :mime-version; s=default; bh=oAK6dXKBxnFZt3gedqQaI1gMmOU=; b=amw Anvvbt6dfHa0XdZ5XJ2wgOFWs8uwQT01990wbp3hje4RH4gOHExL3AnT7f8vPDye WTgA5S7L9p3d56W4AOG6wecxYVkTJBhO+HahoFEFucWE/OLUh0YFwnJfI9paLTYE 0pweRqK93wrSR2dZHoJzTL6Uww/nYaMjhj0Pyfc8= Received: (qmail 107186 invoked by alias); 22 Oct 2018 09:16:26 -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 107055 invoked by uid 89); 22 Oct 2018 09:16:20 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-7.2 required=5.0 tests=BAYES_50, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS, TIME_LIMIT_EXCEEDED, UNSUBSCRIBE_BODY autolearn=unavailable version=3.3.2 spammy=certification, bus, Package, processes X-HELO: mail-wr1-f45.google.com Received: from mail-wr1-f45.google.com (HELO mail-wr1-f45.google.com) (209.85.221.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 22 Oct 2018 09:16:10 +0000 Received: by mail-wr1-f45.google.com with SMTP id u1-v6so8274227wrn.0 for ; Mon, 22 Oct 2018 02:16:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:subject:from:reply-to:to:cc:date:mime-version; bh=fl8sZR3um/R8fpMVWtp+6Wj8GQq+j98g3Ye+Ql29sRM=; b=oC57pD7xqECv+lNr328lHBmqgibkWCM6x/3OLfem+DNAUeulyeGF6Nv4rnKcPW40Ei zJFyj6Es35/kKs0OdMSfO0KB4Um1WHOE+TJUefcYXu+jumRTmKe4HZX6wiFvFyr0F+yS fkGS3o56XQILgzDrDC2aawu7SF4iWd1rJKQx4aUzXXj5O7Gu4kMYDsdyF2suG5u7d+nZ tnwBJ/jM97MMndwXo/L7fhNbXdR0qL15QmrRD9FpcEuuLWf/MRu9jUW7/JA/oGV7qJxc 9gOmQZZZBr0LueWd02HutErYcCS1qupPdr8Oig/rdY9EIXVmUipfNVg99/NDD/E9nk2m 9mVg== Received: from devuan.lan ([148.63.102.92]) by smtp.googlemail.com with ESMTPSA id m12sm26966572wrx.75.2018.10.22.02.16.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 22 Oct 2018 02:16:06 -0700 (PDT) Message-ID: <1540199758.3631.22.camel@gmail.com> Subject: Port of gccgo to GNU/Hurd From: Svante Signell Reply-To: svante.signell@gmail.com To: gcc-patches Cc: Ian Lance Taylor Date: Mon, 22 Oct 2018 11:15:58 +0200 Mime-Version: 1.0 Hello, As advised by the Debian gcc maintainer Matthias Klose and golang developer Ian Lance Taylor (Cc:ed) I'm (re-)submitting the patches for the port of gccgo to GNU/Hurd. The 13 patches are: src_gcc_config_i386_gnu.h.diff src_libgo_build.diff src_libgo_go_crypto.diff src_libgo_go_go_build_syslist.go.diff src_libgo_go_net.diff src_libgo_go_os.diff src_libgo_go_runtime.diff src_libgo_go_syscall.diff src_libgo_go_syscall_syscall_gnu_test.go.diff src_libgo_runtime.diff src_libgo_testsuite_gotest.diff add-gnu-to-libgo-headers.diff add-gnu-to-libgo-test-headers.diff Preliminary ChangeLog entries are included in each patch. With them the latest the latest Debian gcc-snapshot (20181019-1) has been successfully built. Test results for libgo and go:                 === libgo Summary === # of expected passes            162 # of unexpected failures        21                 === go Summary === # of expected passes            7394 # of unexpected failures        10 # of expected failures          1 # of untested testcases         7 # of unsupported tests          2 Thanks! libgo/ChangeLog 2018-10-20 Svante Signell * libgo/testsuite/gotest: Remove ps -o comm option for GNU. Index: gcc-snapshot-20181019-1.1/src/libgo/testsuite/gotest =================================================================== --- gcc-snapshot-20181019-1.1.orig/src/libgo/testsuite/gotest +++ gcc-snapshot-20181019-1.1/src/libgo/testsuite/gotest @@ -628,7 +628,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