From patchwork Mon Apr 27 00:56:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iain Buclaw X-Patchwork-Id: 1277270 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=gcc.gnu.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=OGBaJiuV; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 499RF367fdz9sRf for ; Mon, 27 Apr 2020 10:56:55 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id B4CDD383F846; Mon, 27 Apr 2020 00:56:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B4CDD383F846 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1587949009; bh=LLL9vu2INKBggxMONlw7/GzjQk5qUN4kubmMNQ4NEy4=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=OGBaJiuV8AUxwSOnoxmnF6z4N2SnODE1Nu2yHs0KNJ5z1wchyVwfWk9GUlaPbxBXu juygYeHc1Tj2Cht3qJKfFKvbPzmNqmF8Fcu5YnEcbDlLb47MztQ7oeNZP1oM46+dXi 3M/7+GFs4UzWPBZeW6cNDzsCnlGdAmCvOginMIBI= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mout-p-102.mailbox.org (mout-p-102.mailbox.org [80.241.56.152]) by sourceware.org (Postfix) with ESMTPS id B2C35385DC1B for ; Mon, 27 Apr 2020 00:56:47 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org B2C35385DC1B Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 499RDt3jTWzKmgJ; Mon, 27 Apr 2020 02:56:46 +0200 (CEST) X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter04.heinlein-hosting.de (spamfilter04.heinlein-hosting.de [80.241.56.122]) (amavisd-new, port 10030) with ESMTP id v7OitMB0MSlY; Mon, 27 Apr 2020 02:56:43 +0200 (CEST) To: gcc-patches@gcc.gnu.org Subject: [committed] libphobos: Add hppa-*-linux* as a supported target Date: Mon, 27 Apr 2020 02:56:41 +0200 Message-Id: <20200427005641.30185-1-ibuclaw@gdcproject.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 7902D177E X-Rspamd-Score: 0.29 / 15.00 / 15.00 X-Spam-Status: No, score=-27.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Iain Buclaw via Gcc-patches From: Iain Buclaw Reply-To: Iain Buclaw Errors-To: gcc-patches-bounces@gcc.gnu.org Sender: "Gcc-patches" Hi, This patch add hppa-*-linux* as a supported target for libphobos. This is has been done based off early testing done back in GCC-9 development by John, and recent testing inside a QEMU container. The hppa64-*-* target has been left out due to thread local storage being completely unusable on the target (PR94758). Testsuite summaries from a native hppa D compiler running inside a QEMU/Docker container: ----------- === libphobos tests === FAIL: libphobos.allocations/tls_gc_integration.d execution test FAIL: libphobos.thread/tlsgc_sections.d execution test === libphobos Summary === # of expected passes 63 # of unexpected failures 2 # of unsupported tests 1 === gdc tests === WARNING: compilable/test15019.d -O2 (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 output-exists test15019.o WARNING: compilable/test15019.d -O2 -frelease (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 -frelease output-exists test15019.o WARNING: compilable/test15019.d -O2 -g (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 -g output-exists test15019.o WARNING: compilable/test15019.d -O2 -frelease -g (test for excess errors) program timed out. FAIL: compilable/test15019.d -O2 -frelease -g output-exists test15019.o === gdc Summary === # of expected passes 21210 # of unexpected failures 4 # of unsupported tests 120 /build/gcc/gdc version 10.0.1 20200426 (experimental) (GCC) ----------- Tested on an emulated hppa-linux-gnu target, committed to mainline. Regards Iain. --- libphobos/ChangeLog: 2020-04-27 Iain Buclaw * configure.tgt: Add hppa-*-linux* as a supported target. --- libphobos/configure.tgt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libphobos/configure.tgt b/libphobos/configure.tgt index ce4cc1f7527..94e42bf5509 100644 --- a/libphobos/configure.tgt +++ b/libphobos/configure.tgt @@ -30,6 +30,9 @@ case "${target}" in arm*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;; + hppa-*-linux*) + LIBPHOBOS_SUPPORTED=yes + ;; mips*-*-linux*) LIBPHOBOS_SUPPORTED=yes ;;