From patchwork Fri Nov 22 20:39:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ian Lance Taylor X-Patchwork-Id: 293588 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)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id BF67D2C00E2 for ; Sat, 23 Nov 2013 07:40:06 +1100 (EST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; q=dns; s=default; b=HdPbaLFja5XbIQfmne pth7Zv5NopGZdEzsU9Bh0OWy0OVVlwZFCc46H/NfCB2oIgY4wCUG7dI//DT2OVHB 8FA0yDqNySuWpxCWWM/oaqX8MSzkK1UahO7sqD6V+u4c7WLqVBBI7RtJd/5VEQYw LlTnMG1RK/pUja+SCutTxJ5no= 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 :mime-version:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; s=default; bh=x12sNr7M8z2VlS9f1s2sScgA BAI=; b=w2bwhO9QMBeaHVQrOZAijf1PZvDNXFTfYzfobfnBdyQcZqgxTUu5fCjr sWhNSNQgpvwKy8/oTvVWzDBeYYYwUR8PHUzpWTV/1p+W9YJnAO6nskYhGCaxyJeB rIVOjVboDVEGlV2/GdmE5cHHD5CfE3dd+i4Wdmqjwyhbj0y0Q6M= Received: (qmail 20865 invoked by alias); 22 Nov 2013 20:39:57 -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 20853 invoked by uid 89); 22 Nov 2013 20:39:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL, BAYES_40, RDNS_NONE, SPF_PASS autolearn=no version=3.3.2 X-HELO: mail-ob0-f177.google.com Received: from Unknown (HELO mail-ob0-f177.google.com) (209.85.214.177) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 22 Nov 2013 20:39:56 +0000 Received: by mail-ob0-f177.google.com with SMTP id va2so1845210obc.36 for ; Fri, 22 Nov 2013 12:39:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=xvE/5jaYrHRMRBcNe5kEp2DqCgaS6IQdUcEGCp5Vhpg=; b=L17Xc1qC/HOAb3i7Vju/miPtx3Rc1F4cC9Z4/Xt5zbD45fgiDDJyFwuKJ6ZKaiqUPE ab/Nr81oW6HKYD7dtp4NCGT75eeOmCwpT1EWjjWKV41toPkA1RBWqi+fi4jxedr0jsWw fEDIAz5RqgZ+5qWxcP8lc+Zjb529cCiu019Q+2Mnqw63ca/N6e8OqoPB8Sm6uwrGavNk oDIG9MKFl/MDejvL1ycl236k6hX1CXMNUFfCNKhHYlc3jPn4kihlQM4/KzEOC/ogsId5 72xks7UotTNXV2OhRlwmR6JENZZ3PvBzQ5NN+KQXgiMSfb8T4GvhSKwo0MurPP68ljam /AKw== X-Gm-Message-State: ALoCoQmrWrtAewMYHZgcpmpQ4u0KNYIOifouyCdap1WNmUtVPlZrb9RlfcuMPlpc4STb2UbEbLTRg8by4cWcJkh3i3xL0s2iyU3hzJ6i1tmxqgpOj2z2FH7KGWMgZhl7IcEnhCtUrchvtiR5b+MA+AC0Cq7EQx+SWXgMRjD4ELBsGol/RqPxfGbpPkgEEf9qWHiQ+GDixG8aWbywa3gwlc/Sjm6d8rgnRg== MIME-Version: 1.0 X-Received: by 10.60.51.7 with SMTP id g7mr12556325oeo.6.1385152788223; Fri, 22 Nov 2013 12:39:48 -0800 (PST) Received: by 10.60.145.144 with HTTP; Fri, 22 Nov 2013 12:39:48 -0800 (PST) In-Reply-To: References: <201311172200.rAHM0DdB016094@d06av02.portsmouth.uk.ibm.com> Date: Fri, 22 Nov 2013 12:39:48 -0800 Message-ID: Subject: Re: Problems with Go on powerpc64le-linux From: Ian Lance Taylor To: Ulrich Weigand Cc: gcc-patches , "gofrontend-dev@googlegroups.com" X-IsSubscribed: yes On Mon, Nov 18, 2013 at 9:57 AM, Ulrich Weigand wrote: > Ian Lance Taylor wrote on 18.11.2013 18:32:08: >> On Sun, Nov 17, 2013 at 2:00 PM, Ulrich Weigand > wrote: >> > >> > - It seems you've already updated libgo's libtool.m4 to support > powerpc64le. >> > However, the patch to fix this unfortunately went through a number of >> > iterations, and the version that's now in the gcc libgo sources is > one of >> > the intermediate ones, not the final version that went upstream. > This is >> > not a big deal, but would probably be nice to get fixed at some > point. >> >> Alan Modra sent me a patch for that. If you can send me a patch for >> the final update, I'd be happy to apply it. > > This patch brings it up to date with the current version (as in GCC's main > libtool.m4): > (See attached file: libgo-libtool.diff) Thanks. Committed to mainline. Ian diff -r 635b8c6e7505 libgo/config/libtool.m4 --- a/libgo/config/libtool.m4 Fri Nov 22 08:19:40 2013 -0800 +++ b/libgo/config/libtool.m4 Fri Nov 22 12:38:13 2013 -0800 @@ -1239,10 +1239,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_i386" ;; - powerpc64le-*) + powerpc64le-*linux*) LD="${LD-ld} -m elf32lppclinux" ;; - powerpc64-*) + powerpc64-*linux*) LD="${LD-ld} -m elf32ppclinux" ;; s390x-*linux*) @@ -1261,10 +1261,10 @@ x86_64-*linux*) LD="${LD-ld} -m elf_x86_64" ;; - powerpcle-*) + powerpcle-*linux*) LD="${LD-ld} -m elf64lppc" ;; - powerpc-*) + powerpc-*linux*) LD="${LD-ld} -m elf64ppc" ;; s390*-*linux*|s390*-*tpf*)