------- Comment #11 from laurent at guerby dot net 2009-01-02 11:56 -------
Yep I spotted my obvious mistake :), the patch I'm testing:
Index: gcc/config.host
===================================================================
--- gcc/config.host (revision 143006)
+++ gcc/config.host (working copy)
@@ -148,6 +148,13 @@
;;
esac
+case ${host} in
+ arm*-*-linux-gnueabi )
+ # To avoid stage1 link failure due to linker limitations.
+ host_xmake_file="${host_xmake_file} x-cflags-O1"
+ ;;
+esac
+
# Machine-specific settings.
case ${host} in
alpha*-dec-*vms*)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38523