[R-sig-Fedora] redhat-hardened in CFLAGS

Jeroen Ooms jeroen.ooms at stat.ucla.edu
Fri Jan 15 13:50:27 CET 2016


Installed R-devel 3.2.3 on a vanilla F23 box. Installing any package
with C code fails with:

gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory

This parameter originates from R's CFLAGS:

  $ R CMD config CFLAGS
-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-m64 -mtune=generic



More information about the R-SIG-Fedora mailing list