From patchwork Sat Feb 3 15:16:11 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Maciej W. Rozycki" X-Patchwork-Id: 868939 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-472573-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="Qr8QTjRZ"; 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 3zYjfr6Bk8z9t2Q for ; Sun, 4 Feb 2018 05:53:22 +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:date :from:to:cc:subject:message-id:mime-version:content-type; q=dns; s=default; b=YqtCeqqt+z106YhMrFSB3oEZW+b3QNGV5jn8v+VaZ7Jut5hmw+ 8pc6VT7cg/7OnBCzv4fZ/j2B0jYPM6r7aUFLyYRO8fnGlRD4P49wlr35rfmcop3J tIeb09Q8JJ60PbvP9a3y+o+EGwPTuGo5ue/leFWESn7eerjBJK8ssmc4k= 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:date :from:to:cc:subject:message-id:mime-version:content-type; s= default; bh=CwVHNgfOHsghKYQqrDwT6wcnoLM=; b=Qr8QTjRZXe893a9KbTX6 0v8/NeDidRPOFTy0cdFfrJ+4aZOsSUsnXToYSPAjrvzxxa6MjXK/TthISqnGwsyv FalNaURw9LsdPwHsdjKeesgfYA0F2rfZuzWO2DjWKFLyBq44trOkj2vm/uoRlRev uwF+uIADHmkBeT36HN5H7sE= Received: (qmail 71918 invoked by alias); 3 Feb 2018 18:52:50 -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 71787 invoked by uid 89); 3 Feb 2018 18:52:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-9.5 required=5.0 tests=AWL, BAYES_00, DATE_IN_PAST_03_06, GIT_PATCH_2, GIT_PATCH_3, KAM_ASCII_DIVIDERS, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1721, 11919 X-HELO: 9pmail.ess.barracuda.com Received: from 9pmail.ess.barracuda.com (HELO 9pmail.ess.barracuda.com) (64.235.150.224) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sat, 03 Feb 2018 18:52:46 +0000 Received: from MIPSMAIL01.mipstec.com (mailrelay.mips.com [12.201.5.28]) by mx4.ess.sfj.cudaops.com (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NO); Sat, 03 Feb 2018 18:52:40 +0000 Received: from [10.20.78.155] (10.20.78.155) by mips01.mipstec.com (10.20.43.31) with Microsoft SMTP Server id 14.3.361.1; Sat, 3 Feb 2018 07:16:20 -0800 Date: Sat, 3 Feb 2018 15:16:11 +0000 From: "Maciej W. Rozycki" To: CC: , , Pip Cet Subject: [PATCH] WebAssembly: Disable subdirectory configuration for unsupported LD Message-ID: User-Agent: Alpine 2.00 (DEB 1167 2008-08-23) MIME-Version: 1.0 X-BESS-ID: 1517683952-298555-13168-15132-14 X-BESS-VER: 2018.1-r1801291959 X-BESS-Apparent-Source-IP: 12.201.5.28 X-BESS-Outbound-Spam-Score: 1.09 X-BESS-Outbound-Spam-Report: Code version 3.2, rules version 3.2.2.189653 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------- 0.00 BSF_BESS_OUTBOUND META: BESS Outbound 0.01 DATE_IN_PAST_03_06 HEADER: Date: is 3 to 6 hours before Received: date 1.08 DATE_IN_PAST_03_06_2 META: X-BESS-Outbound-Spam-Status: SCORE=1.09 using account:ESS59374 scores of KILL_LEVEL=7.0 tests=BSF_BESS_OUTBOUND, DATE_IN_PAST_03_06, DATE_IN_PAST_03_06_2 X-BESS-BRTS-Status: 1 Remove an LD subdirectory configuration error: *** ld does not support target wasm32-unknown-none *** see ld/configure.tgt for supported targets make[1]: *** [configure-ld] Error 1 which prevents binutils for the WebAssembly target from being built unless an explicit `--disable-ld' configuration option has been given. Users must not have to disable features selected by default to get a working configuration. / * configure.ac (noconfigdirs): Add `ld'. * configure: Regenerate. --- Hi, It should be obvious. Also this causes troubles with cross-target testing. OK to apply? Maciej --- configure | 3 +++ configure.ac | 3 +++ 2 files changed, 6 insertions(+) binutils-wasm32-no-ld.diff Index: binutils/configure =================================================================== --- binutils.orig/configure 2018-01-28 00:48:43.000000000 +0000 +++ binutils/configure 2018-02-02 05:48:19.239569799 +0000 @@ -3860,6 +3860,9 @@ case "${target}" in vax-*-*) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;; + wasm32-*-*) + noconfigdirs="$noconfigdirs ld" + ;; esac # If we aren't building newlib, then don't build libgloss, since libgloss Index: binutils/configure.ac =================================================================== --- binutils.orig/configure.ac 2018-01-28 00:48:43.000000000 +0000 +++ binutils/configure.ac 2018-02-02 05:48:09.444938712 +0000 @@ -1191,6 +1191,9 @@ case "${target}" in vax-*-*) noconfigdirs="$noconfigdirs target-newlib target-libgloss" ;; + wasm32-*-*) + noconfigdirs="$noconfigdirs ld" + ;; esac # If we aren't building newlib, then don't build libgloss, since libgloss