[oe-commits] org.oe.dev gcc: Fix crossbuild issue on x86_64 hosts (4.1.1/4.1.2)

nail commit openembedded-commits at lists.openembedded.org
Sun Mar 11 20:56:42 UTC 2007


gcc: Fix crossbuild issue on x86_64 hosts (4.1.1/4.1.2)

Author: nail at nslu2-linux.org
Branch: org.openembedded.dev
Revision: e7f88b3d1877bd1013495ae0870737c163c6c433
ViewMTN: http://monotone.openembedded.org/revision.psp?id=e7f88b3d1877bd1013495ae0870737c163c6c433
Files:
1
packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch
packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch
packages/gcc/gcc_4.1.1.bb
packages/gcc/gcc_4.1.2.bb
Diffs:

#
# mt diff -rc68a6aca2c25b6f532621048138a1ab32b6bad56 -re7f88b3d1877bd1013495ae0870737c163c6c433
#
# 
# 
# add_file "packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch"
#  content [53396ff0b48801ca984334418a75a25843b9aa1e]
# 
# add_file "packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch"
#  content [53396ff0b48801ca984334418a75a25843b9aa1e]
# 
# patch "packages/gcc/gcc_4.1.1.bb"
#  from [266029892225d6ca304f0076ffba45f281fdc8de]
#    to [7d77c1171e56c0eaaac7e3265836486413627bef]
# 
# patch "packages/gcc/gcc_4.1.2.bb"
#  from [b82c13bcb1e040c8d9a5ef98e94b1cf35296899c]
#    to [5a24747f8fd8f3844cd09d6c4bd70ca522b2856a]
# 
============================================================
--- packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch	53396ff0b48801ca984334418a75a25843b9aa1e
+++ packages/gcc/gcc-4.1.1/gcc-ignore-cache.patch	53396ff0b48801ca984334418a75a25843b9aa1e
@@ -0,0 +1,15 @@
+--- /gcc/orig-configure	2007-03-11 21:50:28.000000000 +0200
++++ /gcc/configure	2007-03-11 21:53:27.000000000 +0200
+@@ -12272,9 +12272,11 @@
+ 	esac
+ 	saved_CFLAGS="${CFLAGS}"
+ 	CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
++        CONFIG_SITE=""
+ 	${realsrcdir}/configure \
+ 		--enable-languages=${enable_languages-all} \
+-		--target=$target_alias --host=$build_alias --build=$build_alias
++		--target=$target_alias --host=$build_alias --build=$build_alias \
++                --cache-file=./tmp-cache
+ 	CFLAGS="${saved_CFLAGS}"
+ 
+ 	# We just finished tests for the build machine, so rename
============================================================
--- packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch	53396ff0b48801ca984334418a75a25843b9aa1e
+++ packages/gcc/gcc-4.1.2/gcc-ignore-cache.patch	53396ff0b48801ca984334418a75a25843b9aa1e
@@ -0,0 +1,15 @@
+--- /gcc/orig-configure	2007-03-11 21:50:28.000000000 +0200
++++ /gcc/configure	2007-03-11 21:53:27.000000000 +0200
+@@ -12272,9 +12272,11 @@
+ 	esac
+ 	saved_CFLAGS="${CFLAGS}"
+ 	CC="${CC_FOR_BUILD}" CFLAGS="${CFLAGS_FOR_BUILD}" \
++        CONFIG_SITE=""
+ 	${realsrcdir}/configure \
+ 		--enable-languages=${enable_languages-all} \
+-		--target=$target_alias --host=$build_alias --build=$build_alias
++		--target=$target_alias --host=$build_alias --build=$build_alias \
++                --cache-file=./tmp-cache
+ 	CFLAGS="${saved_CFLAGS}"
+ 
+ 	# We just finished tests for the build machine, so rename
============================================================
--- packages/gcc/gcc_4.1.1.bb	266029892225d6ca304f0076ffba45f281fdc8de
+++ packages/gcc/gcc_4.1.1.bb	7d77c1171e56c0eaaac7e3265836486413627bef
@@ -1,4 +1,4 @@
-PR = "r10"
+PR = "r11"
 DESCRIPTION = "The GNU cc and gcc C compilers."
 HOMEPAGE = "http://www.gnu.org/software/gcc/"
 SECTION = "devel"
@@ -32,6 +32,7 @@ SRC_URI = "http://ftp.gnu.org/pub/gnu/gc
 	file://unbreak-armv4t.patch;patch=1 \
         file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \
         file://gcc-4.1.1-pr13685-1.patch;patch=1 \
+        file://gcc-ignore-cache.patch;patch=1 \
 	"
 
 SRC_URI_append_fail-fast = " file://zecke-no-host-includes.patch;patch=1 "
============================================================
--- packages/gcc/gcc_4.1.2.bb	b82c13bcb1e040c8d9a5ef98e94b1cf35296899c
+++ packages/gcc/gcc_4.1.2.bb	5a24747f8fd8f3844cd09d6c4bd70ca522b2856a
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r1"
 DESCRIPTION = "The GNU cc and gcc C compilers."
 HOMEPAGE = "http://www.gnu.org/software/gcc/"
 SECTION = "devel"
@@ -24,6 +24,7 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc
 	file://arm-nolibfloat.patch;patch=1 \
 	file://arm-softfloat.patch;patch=1 \
 	file://gcc41-configure.in.patch;patch=1 \
+	file://gcc-ignore-cache.patch;patch=1 \
 	file://arm-thumb.patch;patch=1 \
 	file://arm-thumb-cache.patch;patch=1 \
 	file://ldflags.patch;patch=1 \






More information about the Openembedded-commits mailing list