From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 120493 invoked by alias); 8 Oct 2015 20:46:08 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 120474 invoked by uid 89); 8 Oct 2015 20:46:08 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.3 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; Thu, 08 Oct 2015 20:46:06 +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 t98Kk2Gf007859 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Oct 2015 22:46:02 +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> <561556F9.8030802@ubuntu.com> <5616BC63.3060307@linux.vnet.ibm.com> Cc: David Edelsohn , gcc-patches , Alan Modra From: Matthias Klose Message-ID: <5616D609.2000400@ubuntu.com> Date: Thu, 08 Oct 2015 20:46:00 -0000 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: <5616BC63.3060307@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2015-10/txt/msg00903.txt.bz2 On 08.10.2015 20:56, Lynn A. Boger wrote: > I think my original fix with linux.h doing the #undef on > TARGET_CAN_SPLIT_STACK_64BIT is the right fix at least > for powerpc-linux-gnu 32 bit only. > > It works for powerpc-linux-gnu without multilib and doesn't break > powerpc64-linux-gnu or powerpc64le-linux-gnu. > > Can you tell me how you are configuring the multilib build that defaults to > powerpc-linux-gnu and how it > fails? Maybe there is another problem for that combination. Configured with: -v --with-pkgversion='Ubuntu 20151005-0ubuntu1' --with-bugurl='file:///usr/share/doc/gcc-snapshot/README.Bugs' --enable-languages=c,ada,c++,java,go,fortran,objc,obj-c++ --prefix=/usr/lib/gcc-snapshot --enable-shared --enable-linker-build-id --disable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-libitm --disable-libquadmath --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-6-snap-powerpc/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-6-snap-powerpc --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-6-snap-powerpc --with-arch-directory=ppc --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-secureplt --disable-softfloat --with-cpu=default32 --disable-softfloat --enable-targets=powerpc-linux,powerpc64-linux --enable-multiarch --disable-werror --with-long-double-128 --enable-multilib --enable-checking=yes --build=powerpc-linux-gnu --host=powerpc-linux-gnu --target=powerpc-linux-gnu fails in gotools with: cc1: error: '-fsplit-stack' currently only supported on PowerPC64 GNU/Linux with glibc-2.18 or later cc1: error: '-fsplit-stack' is not supported by this compiler configuration this information is from the log below, but it's a parallel build, so a bit useless https://launchpadlibrarian.net/220374353/buildlog_ubuntu-wily-powerpc.gcc-snapshot_20151005-0ubuntu1_BUILDING.txt.gz > As David noted, the use of TARGET_64BIT or TARGET_POWERPC64 won't work for this > #define. I found that out too =) Note that ada builds are currently broken on the trunk. Matthias