Amusingly enough, the SuperH (or sh for short) architecture isn't one of the many I have handy, but someone seems to be porting Fedora to that arch. They filed a bug against R, which isn't really an R bug, but is more an inherited bug from autoconf. Specifically, the R configure script invokes gcc(gfortran) which then passes "-little" to gas when compiling for backward compatibility. This fails on sh, and they proposed that it be added to the list of "flags to ignore" in configure.
See: https://bugzilla.redhat.com/show_bug.cgi?id=464055 https://bugzilla.redhat.com/show_bug.cgi?id=456886 I've attached the same patch that is in 464055 to this email. Hopefully, at some point before the sun explodes, that fix will end up in autoconf, and upstreams will pick it up when they run the fixed autoconf on their tree. Thanks, ~tom
--- 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"
______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel