From patchwork Fri Apr 6 17:22:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Svante Signell X-Patchwork-Id: 895791 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-476008-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="xbUPfA3d"; 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 40HmjK6xyQz9s1R for ; Sat, 7 Apr 2018 03:22:28 +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 :message-id:subject:from:reply-to:to:cc:date:content-type :mime-version; q=dns; s=default; b=aIN42xY8n1cPH+MeckDz4jz/lvu3k FOKHDpomX6hGXWt7+YNMch9bpVBg+KOH+WQQaPQGzsD9Vn0zZ/3Ilt1/YYowcRVK 73SNcnPQzZcAOSG97+aP79hP79Z4XmUDWNFuwB1032ppHNNvBxBYuSum5BdiZWLj 4IMM6m67dgD8FY= 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=t1nwsAugSqY2Nr98lb198HHpoq4=; b=xbU PfA3dhNPZAvoBmDlxvergU8ZXzj3dsZpf1/QR/oHh6Gb/X4p6Fxb6S/UPotI+09K 4dY41RPgykqQdFSisk5U9CVqDpqk3RNRsONaL7xhfCjF9RyYGxtFEm4e7JWgUcRD EnI+jP0SYq7npASiSLyoGzUUDryKHB42lIUrNee0= Received: (qmail 40023 invoked by alias); 6 Apr 2018 17:22:16 -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 39990 invoked by uid 89); 6 Apr 2018 17:22:15 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-8.0 required=5.0 tests=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=UD:Write, sem, chan, LICENSE X-HELO: mail-lf0-f46.google.com Received: from mail-lf0-f46.google.com (HELO mail-lf0-f46.google.com) (209.85.215.46) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Apr 2018 17:22:04 +0000 Received: by mail-lf0-f46.google.com with SMTP id j20-v6so1565200lfk.2 for ; Fri, 06 Apr 2018 10:22:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:reply-to:to:cc:date :organization:mime-version; bh=ZY5RFfAdX1HbSUohMd1wZ7utoWk1Nc0I3JsNoaF2JRc=; b=A/P9QdAvYfHJtfaDGeOW17QVBwGXuq0zWwbb00OdV0RSRHBTqpFNiUVtWLOVAn+4mE 5Udlk3I3L+4CJ/zocgLOt7w0yo88N5R3PyqvKVYRUaWD9sGwH+G5w7F7KvZ8yn4Ks14y AEZNltajr2GeFP7E+nhjeiOxRQ8qPW7KlgwnviIslXZywfu+3bH+aE7+RtgCIA9pBvH4 K46ZLAn2d8EqJ3FEBADCloY7ROBa2DD3B7c+oHpXdbyoFf703dqJRtmFFWE8Y5waEXM3 qkMMT132VxVVmryeOaUdRcu2wsHybFmKn1NyUnLrNQoO9VlfZlqaQfDN4sGHErOIBiAK oFhw== X-Gm-Message-State: ALQs6tDhDn3YnxjfK3DZjr33qjogyEB9r6Wl1RNFfJFxT/fKMvbOmeZm MG6eChv86tbTKkXGIBnWfLo= X-Google-Smtp-Source: AIpwx4+c8GHHGUHImfxcd3vM6Y0qgVED7ECYMixwjGQfwpUn+z3cZ/FSl4zrMoHLV5bqflAr2d+PtQ== X-Received: by 2002:a19:181b:: with SMTP id o27-v6mr16276011lfi.132.1523035320717; Fri, 06 Apr 2018 10:22:00 -0700 (PDT) Received: from G3620.lan (178-78-231-178.customers.ownit.se. [178.78.231.178]) by smtp.gmail.com with ESMTPSA id j16sm1847287ljg.77.2018.04.06.10.21.58 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Apr 2018 10:21:59 -0700 (PDT) Message-ID: <1523035337.3197.93.camel@gmail.com> Subject: Retitle 894080: Please add the gccgo GNU/Hurd patches for gcc-8 again (and commit upstream) From: Svante Signell Reply-To: svante.signell@gmail.com To: 894080@bugs.debian.org, debian-gcc , gcc-patches Cc: Ian Lance Taylor Date: Fri, 06 Apr 2018 19:22:17 +0200 Mime-Version: 1.0 retitle 894080 Please add the gccgo GNU/Hurd patches for gcc-8 again (and commit upstream) found 894080 8-20180402-1 tags patch thanks gccgo for gcc-{4,5,6,7,8} has been building for a long time now on Debian GNU/Hurd. Now is really the time to upstream those patches. However, with the release of 8-20180402-1 and an attempt in 8-20180308-1 to remove the patches no gccgo packages are built any longer. The test results are as follows: tail build/gcc/testsuite/go/go.sum                 === go Summary === # of expected passes            518 # of untested testcases         834 The result is the same for e.g. the amd64 architecture and is due to  checksyms: found unexpected symbol "__libc_start_main@@GLIBC_2.2.5" FAIL: checksyms see #892167. tail build/i686-gnu/libgo/libgo.sum                 === libgo Summary === # of expected passes            139 # of unexpected failures        23 Attached is (again) a complete set of patches directly applicable to the latest version of Debian gcc-8 (8-20180402-1). Additionally, this version of gcc-8 has also been built on GNU/Linux amd64 with the patches applied without problems. Thanks! Index: gcc-8-8-20171108-1.1/src/libgo/testsuite/gotest =================================================================== --- gcc-8-8-20171108-1.1.orig/src/libgo/testsuite/gotest +++ gcc-8-8-20171108-1.1/src/libgo/testsuite/gotest @@ -624,7 +624,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