Skip to content

R 4.5 requires gfortran 14.2

2 messages · Jennifer Wokaty, Simon Urbanek

#
We're seeing the following messages with a recent install of R 4.5 for R
CMD check for both Mac Intel and Apple Silicon that it expects gfortran 14.2

ld: warning: directory not found for option
'-L/opt/gfortran/lib/gcc/x86_64-apple-darwin20.0/14.2.0'
ld: library not found for -lemutls_w

ld: warning: search path
'/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/14.2.0' not found
ld: library 'emutls_w' not found

I see that the gfortran version on https://mac.r-project.org/tools/ has
been updated to 14.2. Was there an announcement somewhere I missed?

(Note: the link https://mac.r-project.org/tools/gfortran-14.2-universal.pkg
appears to be broken.)

Andres Wokaty
#
Jennifer,

as usual, it was announced on the mac.R-project.org webpage since it only affects the builds there. R-devel is "unstable" so it may be subject to change, but at this point gfortran 14.2 seems most likely to be the compiler we'll use for 4.5.0 unless we find any issues with that.

Cheers,
Simon