------- Comment #7 from sje at cup dot hp dot com 2009-11-16 18:14 ------- The patch worked for me after changing some leading spaces to tabs If you grabbed it with a cut-n-paste the patch may have had spaces in it instead of tabs (or perhaps it was put in the report that way). You can either change the spaces to tabs by hand and use patch or you could just apply the patch by hand, there is only one instance of ia64*freebsd in the libgcc/config.host file and all you need to do is add the two new lines to the file at that location.
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40959