Skip to contentSkip to conversation

glibc: Do not use thumb1 ISA on armv6

PATCH Superseded Khem Raj 3 participants 6 messages Oct 12, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 glibc: Do not use thumb1 ISA on armv6

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

Fixes [YOCTO #12929]

---
 meta/recipes-core/glibc/glibc.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc.inc +1 -0
index ddf0c6b80e..99c92ce46e 100644
@@ -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
Signature · 1 line
2.19.1
#1 lore raw
Quoted 2 lines · Khem Raj

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

Note the comments in glibc-collateral.inc:

# This needs to match with glibc.inc, otherwise glibc-scripts and glibc-locale

  # will fail to find main glibc, for details see
  # http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html
  ARM_INSTRUCTION_SET_armv4 = "arm"
  ARM_INSTRUCTION_SET_armv5 = "arm"

Either the two recipes need to be kept in sync or the comment no longer applies?

Quoted 27 lines

Fixes [YOCTO #12929]

---
 meta/recipes-core/glibc/glibc.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc.inc +1 -1
index ddf0c6b80e..99c92ce46e 100644
@@ -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

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

author
#2 lore raw
Quoted 7 lines · Andre McCurdy
Quoted 2 lines · Khem Raj

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

Note the comments in glibc-collateral.inc:

Quoted 7 lines

# This needs to match with glibc.inc, otherwise glibc-scripts and glibc-locale

  # will fail to find main glibc, for details see
  # http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html
  ARM_INSTRUCTION_SET_armv4 = "arm"
  ARM_INSTRUCTION_SET_armv5 = "arm"

Either the two recipes need to be kept in sync or the comment no longer applies?

I think we can delete comment in a followup

Quoted 28 lines
Quoted 28 lines

Fixes [YOCTO #12929]

---
 meta/recipes-core/glibc/glibc.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/glibc/glibc.inc +1 -1
index ddf0c6b80e..99c92ce46e 100644
@@ -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

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
Quoted 19 lines · Khem Raj
Quoted 17 lines · Andre McCurdy
Quoted 3 lines · Khem Raj

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

Note the comments in glibc-collateral.inc:

# This needs to match with glibc.inc, otherwise glibc-scripts and
glibc-locale

  # will fail to find main glibc, for details see
  # 
http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html
  ARM_INSTRUCTION_SET_armv4 = "arm"
  ARM_INSTRUCTION_SET_armv5 = "arm"
Quoted 4 lines
Quoted 2 lines

Either the two recipes need to be kept in sync or the comment no longer applies?

I think we can delete comment in a followup

Looking at the link I'd have said that issue still applies?

Cheers,

Richard

author
#4 lore raw
Quoted 21 lines · Richard Purdie
Quoted 19 lines · Khem Raj
Quoted 17 lines · Andre McCurdy
Quoted 3 lines · Khem Raj

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

Note the comments in glibc-collateral.inc:

# This needs to match with glibc.inc, otherwise glibc-scripts and
glibc-locale

  # will fail to find main glibc, for details see
  #
http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html
  ARM_INSTRUCTION_SET_armv4 = "arm"
  ARM_INSTRUCTION_SET_armv5 = "arm"
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Either the two recipes need to be kept in sync or the comment no longer applies?

I think we can delete comment in a followup

Looking at the link I'd have said that issue still applies?

I am not 100% sure, thats why I wanted
to check and come back with followup
if update was needed.

Quoted 4 lines

Cheers,

Richard

#5 lore raw
Quoted 26 lines · Khem Raj
Quoted 24 lines · Richard Purdie
Quoted 22 lines · Khem Raj
Quoted 19 lines · Andre McCurdy
Quoted 3 lines · Khem Raj

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

Note the comments in glibc-collateral.inc:

# This needs to match with glibc.inc, otherwise glibc-scripts and
glibc-locale

  # will fail to find main glibc, for details see
  #
http://lists.openembedded.org/pipermail/openembedded-core/2015-January/100679.html
  ARM_INSTRUCTION_SET_armv4 = "arm"
  ARM_INSTRUCTION_SET_armv5 = "arm"

Either the two recipes need to be kept in sync or the comment no longer applies?

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

I think we can delete comment in a followup

Looking at the link I'd have said that issue still applies?

I am not 100% sure, thats why I wanted
to check and come back with followup
if update was needed.

If you're not sure then it's better to respect the comment and keep the two recipes in sync.