From: Khem Raj <raj.khem@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] gcc-4.8: Fix ICE on ppc/spe targets
Date: Thu, 27 Jun 2013 08:38:37 -0700 [thread overview]
Message-ID: <1372347517-26868-1-git-send-email-raj.khem@gmail.com> (raw)
Rename patches to make them easly to apply with git
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta/recipes-devtools/gcc/gcc-4.8.inc | 5 +++--
....8-PR56797.patch => 0037-gcc-4.8-PR56797.patch} | 0
...ld-args.patch => 0038-gcc-4.8-build-args.patch} | 0
.../gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch | 23 ++++++++++++++++++++
4 files changed, 26 insertions(+), 2 deletions(-)
rename meta/recipes-devtools/gcc/gcc-4.8/{gcc-4.8-PR56797.patch => 0037-gcc-4.8-PR56797.patch} (100%)
rename meta/recipes-devtools/gcc/gcc-4.8/{gcc-4.8-build-args.patch => 0038-gcc-4.8-build-args.patch} (100%)
create mode 100644 meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch
diff --git a/meta/recipes-devtools/gcc/gcc-4.8.inc b/meta/recipes-devtools/gcc/gcc-4.8.inc
index bfdb766..3219e0c 100644
--- a/meta/recipes-devtools/gcc/gcc-4.8.inc
+++ b/meta/recipes-devtools/gcc/gcc-4.8.inc
@@ -66,8 +66,9 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
file://0034-Use-the-multilib-config-files-from-B-instead-of-usin.patch \
file://0035-wcast-qual-PR-55383.patch \
file://0036-PR-target-56102.patch \
- file://gcc-4.8-PR56797.patch \
- file://gcc-4.8-build-args.patch \
+ file://0037-gcc-4.8-PR56797.patch \
+ file://0038-gcc-4.8-build-args.patch \
+ file://0039-gcc-4.8-PR57717.patch \
"
SRC_URI[md5sum] = "3b2386c114cd74185aa3754b58a79304"
SRC_URI[sha256sum] = "545b44be3ad9f2c4e90e6880f5c9d4f0a8f0e5f67e1ffb0d45da9fa01bb05813"
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/gcc-4.8-PR56797.patch b/meta/recipes-devtools/gcc/gcc-4.8/0037-gcc-4.8-PR56797.patch
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-4.8/gcc-4.8-PR56797.patch
rename to meta/recipes-devtools/gcc/gcc-4.8/0037-gcc-4.8-PR56797.patch
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/gcc-4.8-build-args.patch b/meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch
similarity index 100%
rename from meta/recipes-devtools/gcc/gcc-4.8/gcc-4.8-build-args.patch
rename to meta/recipes-devtools/gcc/gcc-4.8/0038-gcc-4.8-build-args.patch
diff --git a/meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch b/meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch
new file mode 100644
index 0000000..f983f70
--- /dev/null
+++ b/meta/recipes-devtools/gcc/gcc-4.8/0039-gcc-4.8-PR57717.patch
@@ -0,0 +1,23 @@
+This backports fix from http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57717
+
+Upstream-Status: Backport
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+Index: gcc-4.8.1/gcc/config/rs6000/rs6000.c
+===================================================================
+--- gcc-4.8.1.orig/gcc/config/rs6000/rs6000.c 2013-05-09 18:54:06.000000000 -0700
++++ gcc-4.8.1/gcc/config/rs6000/rs6000.c 2013-06-27 08:22:40.459021366 -0700
+@@ -5431,11 +5431,12 @@
+
+ case TFmode:
+ case TDmode:
+- case TImode:
+ if (TARGET_E500_DOUBLE)
+ return (SPE_CONST_OFFSET_OK (offset)
+ && SPE_CONST_OFFSET_OK (offset + 8));
++ /* Fall through. */
+
++ case TImode:
+ extra = 8;
+ if (!worst_case)
+ break;
--
1.7.9.5
reply other threads:[~2013-06-27 15:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1372347517-26868-1-git-send-email-raj.khem@gmail.com \
--to=raj.khem@gmail.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox