From: Ross Burton <ross.burton@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 1/2] gcc: remove unused patch
Date: Fri, 1 Jul 2016 13:28:55 +0100 [thread overview]
Message-ID: <1467376136-19506-1-git-send-email-ross.burton@intel.com> (raw)
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
| 49 ----------------------
1 file changed, 49 deletions(-)
delete mode 100644 meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch
diff --git a/meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch b/meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch
deleted file mode 100644
index c598a0d..0000000
--- a/meta/recipes-devtools/gcc/0001-gcc-runtime-Symlink-c-header-in-target_triplet-for-S.patch
+++ /dev/null
@@ -1,49 +0,0 @@
-From 0ef3d75514ee5a74b7c04ea36423cff97843fbb8 Mon Sep 17 00:00:00 2001
-From: Khem Raj <raj.khem@gmail.com>
-Date: Tue, 10 May 2016 01:07:24 -0700
-Subject: [PATCH] gcc-runtime: Symlink c++ header in target_triplet for SDK use
-
-We build SDKs such that gcc-cross-candian is built for only one
-target *-*-linux and then use -muclibc or -mmusl to let it compile
-code for other libc variants. This works fine when libc = glibc
-however it does not work for c++ programs when libc != glibc since
-there are c++ headers installed under ${includedir}/c++/${BINV}/${TARGET_SYS}
-which is fine when gcc-runtime and gcc-cross-candian uses same --target options
-gxx includedir searches in right triplet, but it fails with musl/uclibc
-since gcc will look for glibc based triplet but gcc-runtime will install
-them under musl/uclibc triplet.
-
-This patch symlinks the musl/uclibc triplet to glibc triplet when libc != glibc
-
-This fixes SDKs for musl/uclibc
-
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- meta/recipes-devtools/gcc/gcc-runtime.inc | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
-
-diff --git a/meta/recipes-devtools/gcc/gcc-runtime.inc b/meta/recipes-devtools/gcc/gcc-runtime.inc
-index 8639c1c..8e4d5eb 100644
---- a/meta/recipes-devtools/gcc/gcc-runtime.inc
-+++ b/meta/recipes-devtools/gcc/gcc-runtime.inc
-@@ -70,13 +70,15 @@ do_install () {
- if [ -d ${D}${infodir} ]; then
- rmdir --ignore-fail-on-non-empty -p ${D}${infodir}
- fi
-+}
-+
-+do_install_append_class-target () {
- if [ "${TARGET_VENDOR_MULTILIB_ORIGINAL}" != "" -a "${TARGET_VENDOR}" != "${TARGET_VENDOR_MULTILIB_ORIGINAL}" ]; then
- ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR_MULTILIB_ORIGINAL}-${TARGET_OS}
- fi
-- if [ "${TARGET_OS}" = "linux-gnuspe" ]; then
-+ if [ "${TARGET_OS}" = "linux-gnuspe" -o "${TCLIBC}" != "glibc" ]; then
- ln -s ${TARGET_SYS} ${D}${includedir}/c++/${BINV}/${TARGET_ARCH}${TARGET_VENDOR}-linux
- fi
-- chown -R root:root ${D}
- }
-
- INHIBIT_DEFAULT_DEPS = "1"
---
-2.8.2
-
--
2.8.1
next reply other threads:[~2016-07-01 12:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-01 12:28 Ross Burton [this message]
2016-07-01 12:28 ` [PATCH 2/2] gcc: remove GCC 4.9 Ross Burton
2016-07-01 14:36 ` Khem Raj
2016-07-02 6:32 ` Gary Thomas
2016-07-02 6:56 ` Khem Raj
2016-07-01 14:33 ` [PATCH 1/2] gcc: remove unused patch Khem Raj
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=1467376136-19506-1-git-send-email-ross.burton@intel.com \
--to=ross.burton@intel.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