r2070 - trunk/gcc

matthew at linuxfromscratch.org matthew at linuxfromscratch.org
Fri May 1 10:31:35 PDT 2009


Author: matthew
Date: 2009-05-01 11:31:35 -0600 (Fri, 01 May 2009)
New Revision: 2070

Added:
   trunk/gcc/gcc-4.4.0-startfiles_fix-1.patch
Log:
Add startfiles patch for GCC-4.4.0.

Added: trunk/gcc/gcc-4.4.0-startfiles_fix-1.patch
===================================================================
--- trunk/gcc/gcc-4.4.0-startfiles_fix-1.patch	                        (rev 0)
+++ trunk/gcc/gcc-4.4.0-startfiles_fix-1.patch	2009-05-01 17:31:35 UTC (rev 2070)
@@ -0,0 +1,33 @@
+Submitted By: Jeremy Huntwork (jhuntwork AT linuxfromscratch DOT org)
+Date: 2008-12-05
+Initial Package Version: 4.3.2
+Upstream Status: See below.
+Origin: DIY Linux, See below.
+Description: Original patch follows:
+
+# DIY Linux Patch
+Date: 2008-09-09
+Author: Refer Origin.
+Origin: Partial revert of http://gcc.gnu.org/ml/gcc-cvs/2006-11/msg00416.html
+Maker: Greg Schafer <gschafer at zip.com.au>
+Upstream Status: Not applicable. Tweak only for Temptools phase GCC-Pass2.
+Description: Partially revert GCC driver to pre-GCC-4.3 state to allow startfiles to be
+  found in $prefix when GCC is configured for a non-standard prefix eg: /temptools. Full
+  background info in thread starting here: http://gcc.gnu.org/ml/gcc/2008-03/msg00095.html
+  and GCC bugzilla here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35532
+
+diff -Naur gcc-4.3.0-RC-20080222.orig/gcc/gcc.c gcc-4.3.0-RC-20080222/gcc/gcc.c
+--- gcc-4.3.0-RC-20080222.orig/gcc/gcc.c	2008-01-24 18:57:12.000000000 +0000
++++ gcc-4.3.0-RC-20080222/gcc/gcc.c	2008-03-02 06:07:36.000000000 +0000
+@@ -6370,6 +6370,11 @@
+ 			      machine_suffix, 
+ 			      standard_startfile_prefix, NULL),
+ 		      NULL, PREFIX_PRIORITY_LAST, 0, 1);
++	  add_prefix (&startfile_prefixes,
++		      concat (standard_exec_prefix,
++			      machine_suffix,
++			      standard_startfile_prefix, NULL),
++		      NULL, PREFIX_PRIORITY_LAST, 0, 1);
+ 	}
+ 
+       /* Sysrooted prefixes are relocated because target_system_root is




More information about the patches mailing list