summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-07-10 06:48:50 +0000
committerMike Frysinger <vapier@gentoo.org>2005-07-10 06:48:50 +0000
commit6afae4a7383d33a2f7d31b860bbea1a331bb8f58 (patch)
tree0974c635c38f909b5b11f7540204c3f450bbc270
parentversion bump (diff)
downloadhistorical-6afae4a7383d33a2f7d31b860bbea1a331bb8f58.tar.gz
historical-6afae4a7383d33a2f7d31b860bbea1a331bb8f58.tar.bz2
historical-6afae4a7383d33a2f7d31b860bbea1a331bb8f58.zip
fix cross compile for i?86 targets
Package-Manager: portage-2.0.51.22-r1
-rw-r--r--sys-devel/gcc/Manifest8
-rw-r--r--sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch15
2 files changed, 19 insertions, 4 deletions
diff --git a/sys-devel/gcc/Manifest b/sys-devel/gcc/Manifest
index dd70732905af..8d2949fc2b02 100644
--- a/sys-devel/gcc/Manifest
+++ b/sys-devel/gcc/Manifest
@@ -83,7 +83,7 @@ MD5 9ba0bd0b103cf9535927ad7c482fe780 files/3.3.3/gcc333-debian-arm-getoff.patch
MD5 3210d5fd70806c44d4426c3dceebd480 files/3.3.3/gcc333_pre20040408-stack-size.patch 653
MD5 ff6d7b5082c5e39fab8a5d8932c1a8b7 files/3.3.3/gcc-3.3.3-uclibc-add-ssp.patch 461
MD5 25eda9981106a55c413d1df3d3a87db5 files/3.3.3/gcc333-debian-arm-ldm.patch 3383
-MD5 b4e64ad5d47ee85e35b724b037f134ea files/3.3.6/gcc-3.3.6-cross-compile.patch 1512
+MD5 c313cea9fdb0a3a796f7e869a471da80 files/3.3.6/gcc-3.3.6-cross-compile.patch 2018
MD5 4edccdf0b4f6dbbc9f7bc9370c255e0c files/3.4.0/gcc34-reiser4-fix.patch 587
MD5 3f6d070c2a4a899e7d879fdb55eecba4 files/3.4.3/libffi-nogcj-lib-path-fix.patch 1691
MD5 007c62d92efd70fd44c4d2e6a326036b files/3.4.3/libffi-without-libgcj.patch 1658
@@ -97,7 +97,7 @@ MD5 7c29f54dd8d50385ac42fae65459c744 files/3.3.5/gcc-3.3.5-ffecom_gfrt_basictype
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFC0Ka/gIKl8Uu19MoRApBNAJ4zRlOXJAKhWfwy8PEz5KK08C2iFgCeKwA7
-wQUt8VHW0HoF9qYm3JYbsqc=
-=vmBo
+iD8DBQFC0MUYgIKl8Uu19MoRAlaxAJ9PAR9XGTlwN64MOk1SS79Q5C6eMgCdF/dN
+OODWqHW+ZuRhjGqyxA45XoU=
+=uTbl
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch b/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch
index 064bc8dd08eb..9fdb5dc0a5b2 100644
--- a/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch
+++ b/sys-devel/gcc/files/3.3.6/gcc-3.3.6-cross-compile.patch
@@ -41,3 +41,18 @@
goto SUCCESS; \
} while (0)
+#endif /* inhibit_libc */
+--- gcc/config/i386/linux.h
++++ gcc/config/i386/linux.h
+@@ -240,6 +240,7 @@
+ /* Do code reading to identify a signal frame, and set the frame
+ state data appropriately. See unwind-dw2.c for the structs. */
+
++#ifndef inhibit_libc
+ #ifdef IN_LIBGCC2
+ /* There's no sys/ucontext.h for some (all?) libc1, so no
+ signal-turned-exceptions for them. There's also no configure-run for
+@@ -304,3 +305,4 @@
+ } while (0)
+ #endif /* not USE_GNULIBC_1 */
+ #endif /* IN_LIBGCC2 */
++#endif /* inhibit_libc */