From patchwork Wed Feb 6 21:13:47 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Frederic Roussel X-Patchwork-Id: 218755 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]) by ozlabs.org (Postfix) with SMTP id 122432C02EC for ; Thu, 7 Feb 2013 08:17:11 +1100 (EST) Comment: DKIM? See http://www.dkim.org DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=sourceware.org; s=default; x=1360790232; h=Comment: DomainKey-Signature:Received:Received:Received:Received:Received: Content-Type:MIME-Version:Content-Transfer-Encoding:Subject: Message-Id:In-Reply-To:References:User-Agent:Date:From:To:Cc: Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe: List-Archive:List-Post:List-Help:Sender:Delivered-To; bh=FeBkk4r VWqovYk1e7AyMHs7TRE0=; b=POGmOGi+rFDfKeFhzZlyLmQF9VFgddcTWvBzY5O BkaxIj9W9FnfbSBAnlpbfSwM5vvKVBlhgmcCs0TIHIpLgCLB5y4oj7Q9Ns9Pr0KK Q/G/Bt+1eCgivZSxZkmKtgV6FdFWukrpEY+6ZdEnLBTeL3VLMyRvCRaiN3rLVETV 66Ak= Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=sourceware.org; h=Received:Received:X-SWARE-Spam-Status:X-Spam-Check-By:Received:Received:X-Received:Received:Content-Type:MIME-Version:Content-Transfer-Encoding:Subject:X-Mercurial-Node:Message-Id:In-Reply-To:References:User-Agent:Date:From:To:Cc:X-IsSubscribed:Mailing-List:Precedence:List-Id:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-Help:Sender:Delivered-To; b=mU5DZ5tDC92uOHNWnnVvXLCqKcTtXpQ7xWrgxJ0/G4NdM0Aeqn8HwoZD2BZnPg jZgnKEK7ZWk4wLQj2B1NxMM0ZlrwFLoOKEKqeQAiBzYswFgH/3t9xUl9477X0gU1 gEsR4bcvwtcLWDAkVXKQDZXDUGJYoIfM/cmDAb6Lre6/I=; Received: (qmail 22488 invoked by alias); 6 Feb 2013 21:16:05 -0000 Received: (qmail 22453 invoked by uid 22791); 6 Feb 2013 21:16:01 -0000 X-SWARE-Spam-Status: No, hits=-4.3 required=5.0 tests=AWL, BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, FREEMAIL_FROM, KHOP_RCVD_TRUST, KHOP_SPAMHAUS_DROP, KHOP_THREADED, RCVD_IN_DNSWL_LOW, RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-ia0-f179.google.com (HELO mail-ia0-f179.google.com) (209.85.210.179) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 06 Feb 2013 21:15:53 +0000 Received: by mail-ia0-f179.google.com with SMTP id x24so2160731iak.24 for ; Wed, 06 Feb 2013 13:15:52 -0800 (PST) X-Received: by 10.42.159.194 with SMTP id m2mr31684525icx.13.1360185352327; Wed, 06 Feb 2013 13:15:52 -0800 (PST) Received: from [127.0.1.1] (c-50-143-158-73.hsd1.ca.comcast.net. [50.143.158.73]) by mx.google.com with ESMTPS id bg10sm5085738igc.6.2013.02.06.13.15.50 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 06 Feb 2013 13:15:51 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH 1 of 1] component: libc/glibc, patch to fix build for PowerPC64 X-Mercurial-Node: 7585f649ad60b23c4a31ef747322d0b171f948b5 Message-Id: <7585f649ad60b23c4a31.1360185227@x58> In-Reply-To: References: User-Agent: Mercurial-patchbomb/2.0.2 Date: Wed, 06 Feb 2013 13:13:47 -0800 From: Frederic Roussel To: "Yann E. MORIN" Cc: crossgcc@sourceware.org X-IsSubscribed: yes Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Delivered-To: mailing list crossgcc@sourceware.org # HG changeset patch # User "Frederic Roussel" # Date 1360185106 28800 # Node ID 7585f649ad60b23c4a31ef747322d0b171f948b5 # Parent 20f2459b97bf5eb89e2f125e0aede9541e7fc049 component: libc/glibc, patch to fix build for PowerPC64. For a PowerPC64 build, avoid erroneous inline optimization of initfini.s Signed-off-by: "Frederic R. ROUSSEL" --- For unsubscribe information see http://sourceware.org/lists.html#faq diff -r 20f2459b97bf -r 7585f649ad60 patches/glibc/2.13/950-initfini-ppc64.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.13/950-initfini-ppc64.patch Wed Feb 06 13:11:46 2013 -0800 @@ -0,0 +1,20 @@ +Prevent erroneous inline optimization of initfini.s on PowerPC64. + +The problem and the fix was reported there: +http://sourceware.org/ml/libc-alpha/2012-01/msg00195.html +Git commit: +commit 1fe05ea95e1460e5e1cf1568a8ce3982f0f02de6 +Author: Ryan S. Arnold +Date: Tue May 3 17:26:17 2011 -0500 + +--- glibc.orig/sysdeps/powerpc/powerpc64/Makefile 2012-12-22 19:10:06.713568781 -0800 ++++ glibc/sysdeps/powerpc/powerpc64/Makefile 2012-12-22 19:10:50.318605517 -0800 +@@ -31,7 +31,7 @@ + ifneq ($(elf),no) + # The initfini generation code doesn't work in the presence of -fPIC, so + # we use -fpic instead which is much better. +-CFLAGS-initfini.s += -fpic -O1 ++CFLAGS-initfini.s += -fpic -O1 -fno-inline + endif + endif + diff -r 20f2459b97bf -r 7585f649ad60 patches/glibc/2.14.1/950-initfini-ppc64.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.14.1/950-initfini-ppc64.patch Wed Feb 06 13:11:46 2013 -0800 @@ -0,0 +1,20 @@ +Prevent erroneous inline optimization of initfini.s on PowerPC64. + +The problem and the fix was reported there: +http://sourceware.org/ml/libc-alpha/2012-01/msg00195.html +Git commit: +commit 1fe05ea95e1460e5e1cf1568a8ce3982f0f02de6 +Author: Ryan S. Arnold +Date: Tue May 3 17:26:17 2011 -0500 + +--- glibc.orig/sysdeps/powerpc/powerpc64/Makefile 2012-12-22 19:10:06.713568781 -0800 ++++ glibc/sysdeps/powerpc/powerpc64/Makefile 2012-12-22 19:10:50.318605517 -0800 +@@ -31,7 +31,7 @@ + ifneq ($(elf),no) + # The initfini generation code doesn't work in the presence of -fPIC, so + # we use -fpic instead which is much better. +-CFLAGS-initfini.s += -fpic -O1 ++CFLAGS-initfini.s += -fpic -O1 -fno-inline + endif + endif + diff -r 20f2459b97bf -r 7585f649ad60 patches/glibc/2.14/950-initfini-ppc64.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/patches/glibc/2.14/950-initfini-ppc64.patch Wed Feb 06 13:11:46 2013 -0800 @@ -0,0 +1,20 @@ +Prevent erroneous inline optimization of initfini.s on PowerPC64. + +The problem and the fix was reported there: +http://sourceware.org/ml/libc-alpha/2012-01/msg00195.html +Git commit: +commit 1fe05ea95e1460e5e1cf1568a8ce3982f0f02de6 +Author: Ryan S. Arnold +Date: Tue May 3 17:26:17 2011 -0500 + +--- glibc.orig/sysdeps/powerpc/powerpc64/Makefile 2012-12-22 19:10:06.713568781 -0800 ++++ glibc/sysdeps/powerpc/powerpc64/Makefile 2012-12-22 19:10:50.318605517 -0800 +@@ -31,7 +31,7 @@ + ifneq ($(elf),no) + # The initfini generation code doesn't work in the presence of -fPIC, so + # we use -fpic instead which is much better. +-CFLAGS-initfini.s += -fpic -O1 ++CFLAGS-initfini.s += -fpic -O1 -fno-inline + endif + endif +