Return-Path: Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe004.messaging.microsoft.com [216.32.181.184]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5B6F4E01570 for ; Wed, 28 Aug 2013 02:30:01 -0700 (PDT) Received: from mail74-ch1-R.bigfish.com (10.43.68.230) by CH1EHSOBE008.bigfish.com (10.43.70.58) with Microsoft SMTP Server id 14.1.225.22; Wed, 28 Aug 2013 09:30:00 +0000 Received: from mail74-ch1 (localhost [127.0.0.1]) by mail74-ch1-R.bigfish.com (Postfix) with ESMTP id 1BDBB3800EF for ; Wed, 28 Aug 2013 09:30:00 +0000 (UTC) X-Forefront-Antispam-Report: CIP:70.37.183.190; KIP:(null); UIP:(null); IPV:NLI; H:mail.freescale.net; RD:none; EFVD:NLI X-SpamScore: -1 X-BigFish: VS-1(zz936eIzz1f42h208ch1ee6h1de0h1fdah2073h1202h1e76h1d1ah1d2ah1fc6hzz1de098h17326ah186068h8275bh8275dh1de097hz2dh2a8h839he5bhf0ah1288h12a5h12a9h12bdh12e5h137ah139eh13b6h1441h1504h1537h162dh1631h1758h1898h18e1h1946h19b5h1ad9h1b0ah1b2fh1fb3h1d0ch1d2eh1d3fh1dc1h1dfeh1dffh1e23h1fe8h1ff5h1155h) Received: from mail74-ch1 (localhost.localdomain [127.0.0.1]) by mail74-ch1 (MessageSwitch) id 1377682198864366_22529; Wed, 28 Aug 2013 09:29:58 +0000 (UTC) Received: from CH1EHSMHS043.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.246]) by mail74-ch1.bigfish.com (Postfix) with ESMTP id CC1821C004A for ; Wed, 28 Aug 2013 09:29:58 +0000 (UTC) Received: from mail.freescale.net (70.37.183.190) by CH1EHSMHS043.bigfish.com (10.43.69.252) with Microsoft SMTP Server (TLS) id 14.16.227.3; Wed, 28 Aug 2013 09:29:55 +0000 Received: from tx30smr01.am.freescale.net (10.81.153.31) by 039-SN1MMR1-003.039d.mgd.msft.net (10.84.1.16) with Microsoft SMTP Server (TLS) id 14.3.146.2; Wed, 28 Aug 2013 09:29:54 +0000 Received: from sbuilder136.ap.freescale.net (sun.ap.freescale.net [10.192.208.136]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id r7S9TpZa015336; Wed, 28 Aug 2013 02:29:52 -0700 From: Chunrong Guo To: Date: Wed, 28 Aug 2013 17:29:43 +0800 Message-ID: <1377682183-12448-1-git-send-email-B40290@freescale.com> X-Mailer: git-send-email 1.7.5.4 MIME-Version: 1.0 X-OriginatorOrg: freescale.com X-FOPE-CONNECTOR: Id%0$Dn%*$RO%0$TLS%0$FQDN%$TlsDn% Subject: [meta-fsl-ppc master][PATCH] Revert "e500v2: workaround for ICE of gcc-4.8.x" X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Aug 2013 09:30:02 -0000 Content-Type: text/plain *This reverts commit 93c57323edc118eb8905980348ad3888664f2382 and commit efd344473c277eab8c1bae56120779983aba6176 *The reason for reverting this is: the below patch fix this problem. the patch url is : http://patches.openembedded.org/patch/56803/ Signed-off-by: Chunrong Guo --- conf/machine/e500v2.inc | 6 --- recipes-core/coreutils/coreutils_8.21.bbappend | 4 -- .../coreutils-fix-dd-segfault-for-e500v2.patch | 37 -------------------- 3 files changed, 0 insertions(+), 47 deletions(-) delete mode 100644 recipes-core/coreutils/coreutils_8.21.bbappend delete mode 100644 recipes-core/coreutils/files/coreutils-fix-dd-segfault-for-e500v2.patch diff --git a/conf/machine/e500v2.inc b/conf/machine/e500v2.inc index aabca6e..9688784 100644 --- a/conf/machine/e500v2.inc +++ b/conf/machine/e500v2.inc @@ -3,12 +3,6 @@ require conf/machine/include/tune-ppce500v2.inc MACHINE_FEATURES = "kernel26 pci ext2 ext3 serial" MACHINE_EXTRA_RRECOMMENDS = "u-boot udev-extraconf" -# FIXME -# Workaround for ICE of gcc-4.8.x when passing -mfloat-gprs=double -# Bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717#c1 -# Replace double-float with single-float, revert the commit when above bug is fixed -TUNE_CCARGS := "${@d.getVar('TUNE_CCARGS', True).replace('-mfloat-gprs=double', '-mfloat-gprs=single')}" - PREFERRED_PROVIDER_virtual/kernel ?= "linux-qoriq-sdk" PREFERRED_VERSION_virtual/kernel ?= "3.0.34" PREFERRED_PROVIDER_linux-libc-headers ?= "linux-qoriq-sdk-headers" diff --git a/recipes-core/coreutils/coreutils_8.21.bbappend b/recipes-core/coreutils/coreutils_8.21.bbappend deleted file mode 100644 index 37d3ce2..0000000 --- a/recipes-core/coreutils/coreutils_8.21.bbappend +++ /dev/null @@ -1,4 +0,0 @@ -FILESEXTRAPATHS_prepend := "${THISDIR}/files:" - -SRC_URI_append_e500v2 = " file://coreutils-fix-dd-segfault-for-e500v2.patch \ -" diff --git a/recipes-core/coreutils/files/coreutils-fix-dd-segfault-for-e500v2.patch b/recipes-core/coreutils/files/coreutils-fix-dd-segfault-for-e500v2.patch deleted file mode 100644 index dbeb9b2..0000000 --- a/recipes-core/coreutils/files/coreutils-fix-dd-segfault-for-e500v2.patch +++ /dev/null @@ -1,37 +0,0 @@ -Upstream-Status: Pending - -Fix the segmentation fault issue when using dd on e500v2 targets, -use %f instead of $Lf, since single-float is used for e500v2 due to -an ICE of gcc-4.8.1. - -Signed-off-by: Zhenhua Luo - ---- coreutils-8.21/lib/human.c.orig 2013-08-16 05:17:24.466225177 -0500 -+++ coreutils-8.21/lib/human.c 2013-08-16 05:17:52.007225123 -0500 -@@ -228,7 +228,7 @@ - - if (! (opts & human_autoscale)) - { -- sprintf (buf, "%.0Lf", adjust_value (inexact_style, damt)); -+ sprintf (buf, "%.0f", adjust_value (inexact_style, damt)); - buflen = strlen (buf); - nonintegerlen = 0; - } -@@ -246,7 +246,7 @@ - - damt /= e; - -- sprintf (buf, "%.1Lf", adjust_value (inexact_style, damt)); -+ sprintf (buf, "%.1f", adjust_value (inexact_style, damt)); - buflen = strlen (buf); - nonintegerlen = decimal_pointlen + 1; - -@@ -254,7 +254,7 @@ - || ((opts & human_suppress_point_zero) - && buf[buflen - 1] == '0')) - { -- sprintf (buf, "%.0Lf", -+ sprintf (buf, "%.0f", - adjust_value (inexact_style, damt * 10) / 10); - buflen = strlen (buf); - nonintegerlen = 0; -- 1.7.5.4