From patchwork Wed Oct 7 17:31:37 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthias Klose X-Patchwork-Id: 527387 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 98399140D72 for ; Thu, 8 Oct 2015 04:31:50 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b=DakWJVEt; 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 :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; q=dns; s= default; b=ixRdje+BEQrGlD7d44XhDyQEjp9S00zrTw81d5cjHoYmDE3GU7fQE VV7z51WfZHlcjV1e+htqGZlwvqGBfIfLorVtjPz3nfOVRYRfWmVBymW9Wk8M8os2 8gBK+pL1Gy0E9nYvcKaoqlB6sm2Ljj8///8yiBss+TYIQF40lt+Aw0= 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 :subject:to:references:cc:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=default; bh=yYL2uB1r7UtWuCaUmwTYro3Z30c=; b=DakWJVEtpmnwUKyFgU4pZyirZg9y ur/COpjX4Uknv3G2PJhZx1f89x06rmXxULd+piZf4TX//Pfd2+QWAbqVpktV5AN1 uGfCvOR91bEMyaDONam+Rm2vmUvehIn04j4ujmrRv4SVUx7D8jWcd3dX/VvnqbuG QQeb6smmgt/ETKM= Received: (qmail 104200 invoked by alias); 7 Oct 2015 17:31:43 -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 104186 invoked by uid 89); 7 Oct 2015 17:31:43 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL, BAYES_00, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 X-HELO: einhorn.in-berlin.de Received: from einhorn.in-berlin.de (HELO einhorn.in-berlin.de) (192.109.42.8) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Wed, 07 Oct 2015 17:31:41 +0000 X-Envelope-From: doko@ubuntu.com Received: from [192.168.178.23] (ip5f5bf74a.dynamic.kabel-deutschland.de [95.91.247.74] (may be forged)) (authenticated bits=0) by einhorn.in-berlin.de (8.14.4/8.14.4/Debian-4) with ESMTP id t97HVbuk025610 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 7 Oct 2015 19:31:37 +0200 Subject: Re: [PATCH] PR66870 PowerPC64 Enable gold linker with split stack To: "Lynn A. Boger" , Ian Lance Taylor References: <55D39752.5090602@linux.vnet.ibm.com> <55D4DA0B.6000106@ubuntu.com> <55D50BBA.6060909@linux.vnet.ibm.com> <55DF7A72.2040208@linux.vnet.ibm.com> <55F86277.8010100@linux.vnet.ibm.com> <55FB10E7.9090607@linux.vnet.ibm.com> <56101F0E.8000003@ubuntu.com> <56153C00.2000209@linux.vnet.ibm.com> Cc: David Edelsohn , gcc-patches , Alan Modra From: Matthias Klose Message-ID: <561556F9.8030802@ubuntu.com> Date: Wed, 7 Oct 2015 19:31:37 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <56153C00.2000209@linux.vnet.ibm.com> On 07.10.2015 17:36, Lynn A. Boger wrote: > Pretty sure this is the fix, but still doing some testing. linux.h isn't included for multilib enabled builds defaulting to powerpc-linux-gnu, I am currently testing --- gcc/config/rs6000/sysv4.h (revision 228571) +++ gcc/config/rs6000/sysv4.h (working copy) @@ -943,8 +943,9 @@ /* On ppc64 and ppc64le, split stack is only support for 64 bit. */ #undef TARGET_CAN_SPLIT_STACK_64BIT -#if TARGET_GLIBC_MAJOR > 2 \ - || (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 18) +#if TARGET_64BIT \ + && (TARGET_GLIBC_MAJOR > 2 \ + || (TARGET_GLIBC_MAJOR == 2 && TARGET_GLIBC_MINOR >= 18)) #define TARGET_CAN_SPLIT_STACK_64BIT #endif