[Rd] Configure error when compiling on "sh" architecture

Tom "spot" Callaway tcallawa at redhat.com
Thu Oct 16 22:38:15 CEST 2008


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: R-2.7.2-filter_asoption.patch
Type: text/x-patch
Size: 505 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20081016/3a7457f5/attachment.bin>


More information about the R-devel mailing list