Skip to contentSkip to conversation

gcc: append PR to S to match oe-core and fix do_headerfix

PATCH In review Denys Dmytriyenko 2 participants 6 messages Aug 12, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gcc: append PR to S to match oe-core and fix do_headerfix

From: Denys Dmytriyenko <[email protected]>

This fixes the gcc-cross-inital failure, as reported here:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/6150

---
 meta-oe/recipes-devtools/gcc/gcc-4.5.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/gcc/gcc-4.5.inc +1 -1
index 662402c..aabc1cf 100644
@@ -232,7 +232,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \
 FORTRAN = ""
 JAVA = ""
 
-S = "${TMPDIR}/work-shared/gcc-${PV}/${BRANCH}"
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}"
 B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}"
 
 #EXTRA_OECONF_BASE = "  --enable-cheaders=c_std \
Signature · 1 line
1.7.0.4
#1 lore raw
Quoted 4 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This fixes the gcc-cross-inital failure, as reported here:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/6150

BTW, one of the Linaro patches fails because the file got previously updated by do_headerfix(), which runs before do_patch(). A little manual intervention is currently required through TERMCMDRUN...

Signature · 1 line
Denys
Quoted 26 lines
---
 meta-oe/recipes-devtools/gcc/gcc-4.5.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
meta-oe/recipes-devtools/gcc/gcc-4.5.inc +1 -1
index 662402c..aabc1cf 100644
@@ -232,7 +232,7 @@ SRC_URI = "svn://gcc.gnu.org/svn/gcc/branches;module=${BRANCH};proto=http \
 FORTRAN = ""
 JAVA = ""
 
-S = "${TMPDIR}/work-shared/gcc-${PV}/${BRANCH}"
+S = "${TMPDIR}/work-shared/gcc-${PV}-${PR}/${BRANCH}"
 B = "${WORKDIR}/${BRANCH}/build.${HOST_SYS}.${TARGET_SYS}"
 
 #EXTRA_OECONF_BASE = "  --enable-cheaders=c_std \
Signature · 7 lines
1.7.0.4


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

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

Quoted 11 lines · Denys Dmytriyenko
Quoted 6 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This fixes the gcc-cross-inital failure, as reported here:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/6150

BTW, one of the Linaro patches fails because the file got previously updated by do_headerfix(), which runs before do_patch(). A little manual intervention is currently required through TERMCMDRUN...

would you mind submitting a patch refresh ?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk5EysEACgkQuwUzVZGdMxSltwCeLhuIjrTEkz7fMOc30aP8PZyM Zf8AmwbvdZgbS1jn+ZDXe+q7nDui/uW4
=qCGh
-----END PGP SIGNATURE-----

#3 lore raw

PATCH 1/1 gcc-4.5: update 64bithack.patch to skip changing GLIBC_DYNAMIC_LINKER64

From: Denys Dmytriyenko <[email protected]>

GLIBC_DYNAMIC_LINKER* is now updated by do_headerfix() from oe-core

---
 .../recipes-devtools/gcc/gcc-4.5/64bithack.patch   |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
meta-oe/recipes-devtools/gcc/gcc-4.5/64bithack.patch +0 -13
index 067676a..b5ba8a4 100644
@@ -18,16 +18,3 @@ Index: gcc-4.5.0/gcc/config/i386/t-linux64
  
  LIBGCC = stmp-multilib
  INSTALL_LIBGCC = install-multilib
-Index: gcc-4.5.0/gcc/config/i386/linux64.h
-===================================================================
---- gcc-4.5.0.orig/gcc/config/i386/linux64.h	2010-08-10 15:49:06.000000000 +0100
-+++ gcc-4.5.0/gcc/config/i386/linux64.h	2010-08-10 15:49:16.000000000 +0100
-@@ -59,7 +59,7 @@
-    done.  */
- 
- #define GLIBC_DYNAMIC_LINKER32 "/lib/ld-linux.so.2"
--#define GLIBC_DYNAMIC_LINKER64 "/lib64/ld-linux-x86-64.so.2"
-+#define GLIBC_DYNAMIC_LINKER64 "/lib/ld-linux-x86-64.so.2"
- 
- #if TARGET_64BIT_DEFAULT
- #define SPEC_32 "m32"
Signature · 1 line
1.7.0.4
#4 lore raw
In reply to Khem Raj
Quoted 11 lines · Khem Raj

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

Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This fixes the gcc-cross-inital failure, as reported here:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/6150

Quoted 6 lines
Quoted 4 lines

BTW, one of the Linaro patches fails because the file got previously updated by do_headerfix(), which runs before do_patch(). A little manual intervention is currently required through TERMCMDRUN...

would you mind submitting a patch refresh ?

Sure, should follow shortly.

Signature · 1 line
Denys
#5 lore raw
Quoted 12 lines · Denys Dmytriyenko
Quoted 11 lines · Khem Raj

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

Quoted 7 lines · Denys Dmytriyenko
Quoted 6 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

This fixes the gcc-cross-inital failure, as reported here:
http://thread.gmane.org/gmane.comp.handhelds.openembedded.core/6150

Quoted 8 lines
Quoted 6 lines
Quoted 4 lines

BTW, one of the Linaro patches fails because the file got previously updated by do_headerfix(), which runs before do_patch(). A little manual intervention is currently required through TERMCMDRUN...

would you mind submitting a patch refresh ?

Sure, should follow shortly.

Ah, forgot to clarify - it wasn't Linaro patch, it was old RP's 64bithack.patch. See my other patch in this thread with the fix.

Signature · 1 line
Denys