From tcallawa at redhat.com  Thu Oct 16 22:38:15 2008
From: tcallawa at redhat.com (Tom "spot" Callaway)
Date: Thu, 16 Oct 2008 16:38:15 -0400
Subject: [Rd] Configure error when compiling on "sh" architecture
Message-ID: <1224189495.8216.6.camel@localhost.localdomain>

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>


[Rd] Configure error when compiling on "sh" architecture
Tom "spot" Callaway