diff -up gcc-3.4.6/gcc/configure.newgas gcc-3.4.6/gcc/configure --- gcc-3.4.6/gcc/configure.newgas 2005-06-01 18:32:31.000000000 +0200 +++ gcc-3.4.6/gcc/configure 2012-09-09 12:05:30.363537700 +0200 @@ -10577,7 +10577,7 @@ L2:' > conftest.s # arbitrary sections are supported and try the test. as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q` if echo "$as_ver" | grep GNU > /dev/null; then - as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'` + as_ver=`echo $as_ver | sed -e 's/GNU assembler.* \([0-9.][0-9.]*\).*/\1/'` as_major=`echo $as_ver | sed 's/\..*//'` as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'` if test $as_major -eq 2 && test $as_minor -lt 11