From patchwork Wed Mar 4 00:59:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Martin Sebor X-Patchwork-Id: 445993 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 34F871400DD for ; Wed, 4 Mar 2015 11:59:20 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass reason="1024-bit key; unprotected key" header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=QMFUKm6u; dkim-adsp=none (unprotected policy); 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 :message-id:date:from:mime-version:to:subject:content-type; q= dns; s=default; b=kRxBDshztBim6etRA3FwpYAEBHx7rxLmadqLm4QQoGLxg8 u0YyZuab+M6vlsZmVHmYQnESQ5dg4wq/bIY7r+aX1givRiI/gFF4Q1hZJViii4RU pewpM81rwEx/HbeymhHp9b8GvoM076GCGX1llr+eKlGiYBtMe3XxLWB2a+xO8= 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:date:from:mime-version:to:subject:content-type; s= default; bh=fLPu+CUg4aUQA4SZViviJl6SBm4=; b=QMFUKm6uRj1e6SfwTeOW mPbde0C7I9TL+fWvWdBUXrQIJj1WNuJ97rAbtSJTrQXVecEoavm6uiCej+cHNJwD kcmMUBj32CEbBCrymPbqfTsL8HG0s+BtU0whuPJtcQ0hm9CuTEEy48Ndi/GNHEgZ 27uX05T+pofjwwUa8kM8N8c= Received: (qmail 101335 invoked by alias); 4 Mar 2015 00:59:12 -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 101300 invoked by uid 89); 4 Mar 2015 00:59:12 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 04 Mar 2015 00:59:10 +0000 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id t240x85J011492 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL) for ; Tue, 3 Mar 2015 19:59:09 -0500 Received: from [10.10.63.49] (vpn-63-49.rdu2.redhat.com [10.10.63.49]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id t240x8MV024181 for ; Tue, 3 Mar 2015 19:59:08 -0500 Message-ID: <54F658DB.6030200@redhat.com> Date: Tue, 03 Mar 2015 17:59:07 -0700 From: Martin Sebor User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Gcc Patch List Subject: [PATCH] target/65286 - Disable multilib for ppc64le X-IsSubscribed: yes The attached patch resolves PR 65286 by adding --disable-multilib when configuring for a ppc64le target. Martin diff --git a/ChangeLog b/ChangeLog index bd43281..46ec13d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2015-03-03 Martin Sebor + + PR target/65286 + * configure.ac (powerpc64le-*): Disable multilib. + * configure: Regenerate. + 2015-03-13 Jeff Law * MAINTAINERS: Remove Paul Brook as a Fortran and ARM diff --git a/configure b/configure index 9de7295..168bf4c 100755 --- a/configure +++ b/configure @@ -7378,6 +7378,15 @@ if test x${is_cross_compiler} = xyes ; then target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}" fi +# There is no multilib support on ppc64le. Disable it unless it's +# explicitly enabled. +case "$target:$have_compiler:$enable_multilib" in + powerpc64le-*:yes:) + target_configargs="--disable-multilib ${target_configargs}" + enable_multilib=no + ;; +esac + # Special user-friendly check for native x86_64-linux build, if # multilib is not explicitly enabled. case "$target:$have_compiler:$host:$target:$enable_multilib" in diff --git a/configure.ac b/configure.ac index 00f7452..5ad3211 100644 --- a/configure.ac +++ b/configure.ac @@ -3021,6 +3021,15 @@ if test x${is_cross_compiler} = xyes ; then target_configargs="--with-cross-host=${host_noncanonical} ${target_configargs}" fi +# There is no multilib support on ppc64le. Disable it unless it's +# explicitly enabled. +case "$target:$have_compiler:$enable_multilib" in + powerpc64le-*:yes:) + target_configargs="--disable-multilib ${target_configargs}" + enable_multilib=no + ;; +esac + # Special user-friendly check for native x86_64-linux build, if # multilib is not explicitly enabled. case "$target:$have_compiler:$host:$target:$enable_multilib" in