Patchwork GCC on FreeBSD/ia64: No rule to make target .../libgcc/crtfastmath.o

login
register
mail settings
Submitter Gerald Pfeifer
Date Sept. 9, 2010, 10:43 p.m.
Message ID <alpine.LNX.2.00.1009092324250.17560@acrux.dbai.tuwien.ac.at>
Download mbox | patch
Permalink /patch/64339/
State New
Headers show

Comments

Gerald Pfeifer - Sept. 9, 2010, 10:43 p.m.
[ gcc -> gcc-patches ]

On Tue, 7 Sep 2010, Anton Shterenlikht wrote:
> Just to add that I this "bug" to bugzilla a year ago:
> 
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40959

Thanks everyone who helped with this, especially Steve and H.J.  After I 
created the patch below, I realized Andrew had suggested exactly the same 
in Bugzilla.

Tested on ia64-unknown-freebsd9.0 in combination with another, unrelated 
patch that fixes a different regression on FreeBSD/ia64.  Together these
patches allow a full bootstrap and also the testsuite went well (until
the remote and slow tester I managed to locate ran into troubles), the
gcc and g++ testsuites only show a handfull or two of FAILs each.

Installed as obvious.

I plan on backporting this regression fix to GCC 4.5 and 4.4 over the
next week(s).

Gerald


2010-09-09  Gerald Pfeifer  <gerald@pfeifer.com>
	    Andrew Pinski  <pinskia@gmail.com>

	PR target/40959	
	* config.host (ia64*-*-freebsd*): Set extra_parts.  Set tmake_file.

Patch

Index: config.host
===================================================================
--- config.host	(revision 163977)
+++ config.host	(working copy)
@@ -347,6 +347,8 @@ 
 	tmake_file="ia64/t-ia64"
 	;;
 ia64*-*-freebsd*)
+	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"
+	tmake_file="ia64/t-ia64"
 	;;
 ia64*-*-linux*)
 	extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o crtfastmath.o"