From patchwork Sat Oct 27 18:43:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Svante Signell X-Patchwork-Id: 989927 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-488460-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="LyLLhnZX"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="BzEjVACF"; 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 42j8sh3qrwz9sCT for ; Sun, 28 Oct 2018 05:44:21 +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=GnnfpQ1qj3kaTJYg2Tr/m2v+p9CRI KBRO7oCu48BcDgHH9SoJ9VSOuUZJfl0jvP26jGRkm6GnfU7QpU/uU5EAnDsryOM1 W+ym4ABx4zVBvDuVGDmOcR+KXvCKwFINNN7nTuNocQnx5WIGhhfIUbNN5pgEnrEy IAkWY9VAy2udL0= 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=rtdR/EeGQjCmwMQW75Xisqzo4QE=; b=LyL LhnZXi9V0VHGvpA7kMgrE2YsfvaffnD+wJXbCgV0q2eJk7EyZhfDYZs8NbgG7JD8 SudBGMBP4T7FMAoQ03uk/YoCrWBoZXDaGmRmOtPQCg1GiwAxAX0JX1uqIKJ+68HE PuuTXNyORPN9fT2YRfaG24scAGjwj1Xp8r7gBPjQ= Received: (qmail 77962 invoked by alias); 27 Oct 2018 18:44:07 -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 77947 invoked by uid 89); 27 Oct 2018 18:44:03 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.0 required=5.0 tests=BAYES_40, 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, cares, 1000000000, raising X-HELO: mail-wm1-f41.google.com Received: from mail-wm1-f41.google.com (HELO mail-wm1-f41.google.com) (209.85.128.41) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 27 Oct 2018 18:43:52 +0000 Received: by mail-wm1-f41.google.com with SMTP id 189-v6so4394211wmw.2 for ; Sat, 27 Oct 2018 11:43:51 -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=8CCkBa8+XkqgZe5R7RMlk5GBZ0biyLNJEA+KNbaufeo=; b=BzEjVACF/fFtP44U4NXpDBoO18EIe+94QyM02Axit+HSLv3xPojxwKJaBE5k+HW5OU Nal2+ALHBC3pKS5E2rZ5wB+2mbUeHIPqWd3srum/EzEhomdDY35qIdeUES2Dt124U1gd nr+2Q5n+QJlFU2LHPFJ+IVMLMOv7O41NWDv/a8bMG5vSRd5HYIvtsM5aE0HImgroeblA BX5sEXdn6NU6lY3hHpJ5d7yNffPgLUTgX87Y0m2crJvtBeVQ+Ql20VjycH4//YKgfpJm 0P/nWYX2wY1GRf85q8524tQb4v/3OQMG9dq7sxgKSOrpM/4X4wpE+mhdpgvNmLgJyxLF C1kQ== Received: from devuan.lan ([148.63.102.92]) by smtp.googlemail.com with ESMTPSA id l67-v6sm22181385wma.20.2018.10.27.11.43.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 27 Oct 2018 11:43:48 -0700 (PDT) Message-ID: <1540665825.3351.2.camel@gmail.com> Subject: GOOS updated: Port of gccgo to GNU/Hurd From: Svante Signell Reply-To: svante.signell@gmail.com To: gcc-patches Cc: Ian Lance Taylor , Matthias Klose Date: Sat, 27 Oct 2018 20:43:45 +0200 Mime-Version: 1.0 Hello, As advised by the Debian gcc maintainer Matthias Klose and golang developer Ian Lance Taylor I'm (re-)submitting the patches for the port of gccgo to GNU/Hurd again. Now GOOS value is changed from gnu to hurd as requested. 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/Hurd. 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" = "hurd"; 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