Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH V2] glibc: Do not use thumb1 ISA on armv6
@ 2018-10-13 16:43 Khem Raj
  0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2018-10-13 16:43 UTC (permalink / raw)
  To: openembedded-core

This does not work and is unsupported so lets compile glibc in ARM mode
always on armv6 SOCs

Fixes [YOCTO #12929]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
V2: mark glibc extra recipes with same ISA settings as glibc

 meta/recipes-core/glibc/glibc-collateral.inc | 1 +
 meta/recipes-core/glibc/glibc.inc            | 1 +
 2 files changed, 2 insertions(+)

diff --git a/meta/recipes-core/glibc/glibc-collateral.inc b/meta/recipes-core/glibc/glibc-collateral.inc
index aa871ac83d..536edfb040 100644
--- a/meta/recipes-core/glibc/glibc-collateral.inc
+++ b/meta/recipes-core/glibc/glibc-collateral.inc
@@ -9,6 +9,7 @@ HOMEPAGE = "http://www.gnu.org/software/libc/index.html"
 # http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
+ARM_INSTRUCTION_SET_armv6 = "arm"
 
 deltask do_fetch
 deltask do_unpack
diff --git a/meta/recipes-core/glibc/glibc.inc b/meta/recipes-core/glibc/glibc.inc
index ddf0c6b80e..99c92ce46e 100644
--- a/meta/recipes-core/glibc/glibc.inc
+++ b/meta/recipes-core/glibc/glibc.inc
@@ -56,6 +56,7 @@ INHIBIT_DEFAULT_DEPS = "1"
 # http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html
 ARM_INSTRUCTION_SET_armv4 = "arm"
 ARM_INSTRUCTION_SET_armv5 = "arm"
+ARM_INSTRUCTION_SET_armv6 = "arm"
 
 # glibc uses PARALLELMFLAGS variable to pass parallel build info so transfer
 # PARALLEL_MAKE into PARALLELMFLAGS and empty out PARALLEL_MAKE
-- 
2.19.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-10-13 16:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-13 16:43 [PATCH V2] glibc: Do not use thumb1 ISA on armv6 Khem Raj

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox