From patchwork Mon Mar 12 12:29:13 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Svante Signell X-Patchwork-Id: 884473 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-474584-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="MJhxnguC"; 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 400HP147H0z9s1d for ; Mon, 12 Mar 2018 23:29:39 +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=A/rdP+ADolRfn5DMpUqZZxOFy4YJP tKN4IQrLQNn/0pvldvLXa03dmu4+JAHjWLPGrRSxyK8ZUEUD6WeZCthHXkXzFgiT gNE5nVVE5umjl4byMUHweJYdVgIu75GUWO/i3obQOSjUEs84yHNAh4UnW3MCTa3i N0DpJPc0H+07kI= 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=ZYovKUaAx8+c2ecjZQyROkOLsao=; b=MJh xnguCH3Hrr+au6orpxO6ftY0cQ+KbzpLnOTbyyFseZPK9NrNivMNBlrSr5zQY6Fo i2LgIHfI56HXdMWTemFznFnCRDfOAe93dVcw6dXg+M1vwXr2UGz9NIffkkyR5Woo R/8+hfWseZ+QgojacbNruoUpCdV+ZaX1X0jKs74U= Received: (qmail 122218 invoked by alias); 12 Mar 2018 12:29: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 122201 invoked by uid 89); 12 Mar 2018 12:29:25 -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=lo, Family, Times, pp 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; Mon, 12 Mar 2018 12:29:15 +0000 Received: by mail-lf0-f46.google.com with SMTP id w16-v6so1806095lfc.13 for ; Mon, 12 Mar 2018 05:29:14 -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=/eMHFjc31zLZFlaTsIyjZ+KWDu9LKTv4Xb8u562Y6G8=; b=hdHZbCeoFG+mamOZCgpxt3dvsxDUbYhH1Ck6lsnRWOF80yfPMJtSch/7QJgCPsPg08 9gajyGtQggfJI6Ek9eZsVuOEmHUUckDUZ1iDn3sJR6OmTYUsArzgxYJXOwQ6grFvKWSV R9H3tx87kzN276AHOGQGUPygTDC4EqYyNSkOVTtacgByUjOzcHmXQkZ2C55AQAPG4h0e q2SRkdFveZJBfmstZi4PWvTapCWBqzrShgQhgHf0Qo4g76XU7MPaQEaPfee1sZVuVB/s 8tBwUubfAnBygQgwjFkOPlBY3F4FHL+Iz1/3nHatVa8PMcKpjED52MbpJhcfbnHV4vb9 rW7Q== X-Gm-Message-State: AElRT7EXDO+5eM72dk4pNBU8PRzpfxQax5Oo25IK5gztvSWDgPXRJe1S 1mGvFI0I8Fpd+7+v8o3uW9o= X-Google-Smtp-Source: AG47ELsy8Qx9v2PCT75SKT1opZ+aLC920JIgwEbwBZqmx/6ZdvA9UmNSOCKisPJQNRz5eGCN4bhVig== X-Received: by 2002:a19:518d:: with SMTP id g13-v6mr4717595lfl.19.1520857752314; Mon, 12 Mar 2018 05:29:12 -0700 (PDT) Received: from G3620.lan (178-78-231-178.customers.ownit.se. [178.78.231.178]) by smtp.gmail.com with ESMTPSA id y88sm1742645lje.10.2018.03.12.05.29.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 12 Mar 2018 05:29:11 -0700 (PDT) Message-ID: <1520857753.3197.32.camel@gmail.com> Subject: PATCH: Hurd port of go to gcc-8 (gcc-8-8-20180310+) 16 patches From: Svante Signell Reply-To: svante.signell@gmail.com To: bug-hurd Cc: gcc-patches , Debian GCC Maintainers Date: Mon, 12 Mar 2018 13:29:13 +0100 Mime-Version: 1.0 Hi, Attached are patches to enable gccgo to build properly on Debian GNU/Hurd on gcc-8 (8-8-20180308/10-1). The gcc-8-8-2018030810-1 version did FTBFS due to a regression in the gcc/ gcc/lra*.c code. Finding the reverting commit and applying it gcc.git-b12c2c48c2c6aa1db9e6c50f6b26330deeee9caf.patch gcc+gccgo builds fine again. I know that 8-8-20180312-1,2 versions are released. I will report the build status when the latest version is built. (an eventually provide updated patches) The libgo tests results are improved further:                 === libgo Summary === # of expected passes            141 # of unexpected failures        21 The patches really changed are only four: src_libgo_runtime.diff src_libgo_go_go_build_syslist.go.diff src_libgo_go_runtime.diff src_libgo_build.diff but for completeness, and hopefully an upstream accept, the whole set (16 patches) is supplied here. Only 14 of them are upstream material, 2 of them are Debian specific. Additionally, a part of src_libgo_build.diff pacthing mksigtab.sh is already committed upstream: mksigtab.sh.patch commit a5c86484648ca0d6eb54b13a0c9e740b16568f68 but included here until Debian updates gccgo from upstream. 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