Skip to contentSkip to conversation

gcc-common-4.6.inc: Set ARM_INSTRUCTION_SET to arm

PATCH Applied Khem Raj 3 participants 5 messages Jun 27, 2011 – Jun 28, 2011

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-common-4.6.inc: Set ARM_INSTRUCTION_SET to arm

Otherwise it will compile libgcc in thumb mode when thumb mode is selected and libgcc in thumb mode does not work well.

---
 meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +2 -1
index 059f441..e5a1fba 100644
@@ -1,3 +1,4 @@
 # this will prepend this layer to FILESPATH
 FILESEXTRAPATHS := "${THISDIR}/gcc-4.6"
-PRINC = "0"
+PRINC = "1"
+ARM_INSTRUCTION_SET = "arm"
Signature · 1 line
1.7.4.1
#1 lore raw

Am Montag, den 27.06.2011, 12:32 -0700 schrieb Khem Raj:

Quoted 14 lines

Otherwise it will compile libgcc in thumb mode when thumb mode is selected and libgcc in thumb mode does not work well.

---
 meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +0 -0
index 059f441..e5a1fba 100644

meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc line 3

Quoted 4 lines
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +1 -1
@@ -1,3 +1,4 @@
 # this will prepend this layer to FILESPATH
 FILESEXTRAPATHS := "${THISDIR}/gcc-4.6"
-PRINC = "0"
+PRINC = "1"

Is that by intention or why is INC_PR not used?

meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc line 4

Quoted 1 line
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +1 -0
+ARM_INSTRUCTION_SET = "arm"

Thanks,

Paul

author
#2 lore raw
Quoted 10 lines · Paul Menzel

Am Montag, den 27.06.2011, 12:32 -0700 schrieb Khem Raj:

Quoted 9 lines

Otherwise it will compile libgcc in thumb mode when thumb mode is selected and libgcc in thumb mode does not work well.

---
 meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc |    3 ++-

 1 files changed, 2 insertions(+), 1 deletions(-)
Quoted 11 lines

meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc line 3

Quoted 9 lines
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +0 -0
index 059f441..e5a1fba 100644
@@ -1,3 +1,4 @@
  # this will prepend this layer to FILESPATH

 FILESEXTRAPATHS := "${THISDIR}/gcc-4.6"

meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +1 -1
-PRINC = "0"
+PRINC = "1"

Is that by intention or why is INC_PR not used?

yes. PRINC is special in oe-core. Where the real pr will run ahead by this amount
so say original pr in oe-core is r4 then with the bbappend this will become r5

Quoted 15 lines
Quoted 2 lines

+ARM_INSTRUCTION_SET = "arm"

Thanks,

Paul

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw

Am Montag, den 27.06.2011, 13:08 -0700 schrieb Khem Raj:

Quoted 24 lines
Quoted 10 lines · Paul Menzel

Am Montag, den 27.06.2011, 12:32 -0700 schrieb Khem Raj:

Quoted 9 lines

Otherwise it will compile libgcc in thumb mode when thumb mode is selected and libgcc in thumb mode does not work well.

---
 meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
Quoted 11 lines

meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc line 3

Quoted 9 lines
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +1 -1
index 059f441..e5a1fba 100644
@@ -1,3 +1,4 @@
 # this will prepend this layer to FILESPATH
 FILESEXTRAPATHS := "${THISDIR}/gcc-4.6"
-PRINC = "0"
+PRINC = "1"

Is that by intention or why is INC_PR not used?

Quoted 2 lines

yes. PRINC is special in oe-core. Where the real pr will run ahead by this amount

Thank you for the explanation. Maybe a comment would be nice since there seems to be no documentation. But this does not concern your patch.

Quoted 3 lines

so say original pr in oe-core is r4 then with the bbappend this will become r5

Quoted 2 lines
Quoted 2 lines
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +1 -0
+ARM_INSTRUCTION_SET = "arm"

Thanks,

Paul

Applied
#4 lore raw
In reply to Khem Raj

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 14 lines · Khem Raj

Otherwise it will compile libgcc in thumb mode when thumb mode is selected and libgcc in thumb mode does not work well.

---
 meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +0 -0
index 059f441..e5a1fba 100644

meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc line 4

Quoted 5 lines
meta-oe/recipes-devtools/gcc/gcc-common-4.6.inc +2 -1
@@ -1,3 +1,4 @@
 # this will prepend this layer to FILESPATH
 FILESEXTRAPATHS := "${THISDIR}/gcc-4.6"
-PRINC = "0"
+PRINC = "1"
+ARM_INSTRUCTION_SET = "arm"

Thanks, applied.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFOCXtbMkyGM64RGpERArJkAJ0Z3VLPnr/R5V/q54eMDv+7hU5NUQCcCbPU OPr+3vAQzTwSq5HQRStntPQ=
=yR3e
-----END PGP SIGNATURE-----