From patchwork Mon May 8 14:37:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Preudhomme X-Patchwork-Id: 759658 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org 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 3wM4pc4Xbdz9s7C for ; Tue, 9 May 2017 00:37:27 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="FDwxajmp"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:to:cc :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=qNRkMJlh5uFR29PkY7Gk4hZ9heyFSC2l8Wz+sPyVHmHhw1iBnm YKK+IhyHmnDzBJS9xk7YD7i08mmN2GlTJrDhk0ZmHlcVNCSKEbXqqCR9/XYfyVFW YBAB6b4Bim5hSblZVbSKHOL6ZLbkXZPasLY01ZiXAYlgINzMC3znKyNv0= 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:to:cc :from:subject:message-id:date:mime-version:content-type; s= default; bh=/xtR4390OWHXEFkouUKWiWA4m2c=; b=FDwxajmphbvW7+qitwMp DYLOLzxzGYMbUoyWn4nD2UBhpcI1gmn+glnUX29/mtRrxABAXz2h3jzIN1Rn6S46 GnyAp2r5GopHBxlqutW1HZQR9w8S7RYLow2ci2K+a055PvnE1nugU2k1gx6aguwe pa7/VZ8jWyN02jz+VMf8TQA= Received: (qmail 83258 invoked by alias); 8 May 2017 14:37:17 -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 82168 invoked by uid 89); 8 May 2017 14:37:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-25.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_LAZY_DOMAIN_SECURITY, RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy= X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 May 2017 14:37:14 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 554EE1516; Mon, 8 May 2017 07:37:16 -0700 (PDT) Received: from [10.2.206.52] (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 95C703F4FF; Mon, 8 May 2017 07:37:15 -0700 (PDT) To: "gcc-patches@gcc.gnu.org" Cc: Kyrill Tkachov , Ramana Radhakrishnan , Richard Earnshaw From: Thomas Preudhomme Subject: [PATCH, GCC/ARM, FYI] Define TM_MULTILIB_CONFIG for ARM multilib Message-ID: <61b64c63-9b4b-58f3-ec00-c6d7aaac7f5d@foss.arm.com> Date: Mon, 8 May 2017 15:37:14 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi, TM_MULTILIB_CONFIG is not set in config.gcc when building with multilib for arm targets, leading to config/arm/t-multilib not including any of the files (t-aprofile and t-rmprofile) definining the architecture and FPU to build multilib for. This patch fixes that by setting TM_MULTILIB_CONFIG to with_multilib_list's value after it has been checked. It also fix a trailing whitespace issue. ChangeLog entry is as follows: *** gcc/ChangeLog ** 2017-05-08 Thomas Preud'homme * config.gcc (arm*-*-*): Set TM_MULTILIB_CONFIG from with_multilib_list after it has been checked. Committing as obvious. Best regards, Thomas diff --git a/gcc/config.gcc b/gcc/config.gcc index fd7caebf0d155df0b25cc6a8374af57555707fc3..e8aaf2df9d709bf9d95f0a249c79f5813519d51f 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3803,7 +3803,7 @@ case "${target}" in ;; esac done - fi + fi if test "x${tmake_profile_file}" != x ; then # arm/t-aprofile and arm/t-rmprofile are only @@ -3820,6 +3820,7 @@ case "${target}" in fi tmake_file="${tmake_file} ${tmake_profile_file}" + TM_MULTILIB_CONFIG="$with_multilib_list" fi fi ;;