Skip to content
Prev 4591 / 63421 Next

R with redhat 7 (PR#732)

hyu@stats.uwo.ca writes:
We (R-core + Martyn Plummer who builds the RPM files on CRAN)
discussed this earlier today. It is a problem with the RedHat
"unofficical 2.96" gcc compiler which seems to be overly zealous on
some optimizations. The build is said to work if you build R
unoptimized.

We're strongly considering to say that R *requires* another gcc
compiler rather than trying to work around bugs in a compiler that
should never have been released.

The powertools version appears to have been built by disabling the
regression test (make check)! It might be worth filing a formal bug
report with RedHat on that matter. (It is not merely a matter of
cosmetics, those machine constants actually get used for determining
convergence criteria and the like. Having them set too low could send
algorithms into infinite loops.)

I think Martyn Plummer is about to produce a working RPM based on a
better compiler. However, if you want to compile add-on packages, it
might still be a good idea to install an alternative compiler for
yourself.