Created attachment 317761 [details] R-2.7.2-filter_asoption.patch Description of problem: This patch enables to compile R on sh architecture. On this arch, gcc(gfortran) passes "-little" option to gas when compiling for backward compatibility. The configure script fails because of it. I also sent a patch for autoconf package beacuse this configure script was generated by autoconf. (see Bug #456886) --- R-2.7.2/configure.org 2008-09-25 15:00:20.000000000 +0900 +++ R-2.7.2/configure 2008-09-25 15:00:35.000000000 +0900 @@ -26995,7 +26995,7 @@ ;; # Ignore these flags. - -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | -LANG:=* | LIST:* | -LNO:*) + -little | -lang* | -lcrt*.o | -lc | -lgcc* | -lSystem | -libmil | LANG:=* | -LIST:* | -LNO:*) ;; -lkernel32) test x"$CYGWIN" != xyes && ac_cv_f77_libs="$ac_cv_f77_libs $ac_arg" Version-Release number of selected component (if applicable): R-2.7.2-1
Also need this patch to R.spec. Please apply. --- R.spec.org 2008-09-25 14:56:54.000000000 +0900 +++ R.spec 2008-09-25 15:01:49.000000000 +0900 @@ -137,7 +139,7 @@ export F77="gfortran -m64" export FC="gfortran -m64" ;; - ia64|alpha) + ia64|alpha|sh*) export CC="gcc" export CXX="g++" export F77="gfortran"
Fixes committed to rawhide and mailed to upstream for inclusion, closing out.