Skip to end of metadata
Go to start of metadata

This page has a list of known issues for the MacOS X operating system (all compilers).


gfortran compiler fails with missing reference fedisableexcept

The compilation failure message may be seen when using the gnu compiler, gfortran, on MacOS X when compiling drhook.c.

To compile OpenIFS correctly on a mac requires a small change to the configuration files to add a pre-processor symbol. In addition, please be aware that the FCM command will hang if more than one thread is being used (see below).

For the required compiler/build option, make a copy of the configuration. e.g. assuming the use of the GNU compilers:

cd cfg
cp gnu-opt.cfg mac-opt.cfg

Edit mac_gnu-opt.cfg and find the line which defines the pre-processor symbols for the C compiler (gcc):


add 'DARWIN' to this line:


and save the file.

To compile OpenIFS with this new configuration file set:

export OIFS_COMP=mac
export OIFS_BUILD=opt

which tells the build system to use the file: mac-opt.cfg. The same change can be made to the un-optimized compilation configuration: gnu-noopt.cfg.



FCM hangs if more than one thread is used

There is a known issue where more than one thread causes the fcm command to hang. Until this is fixed only use 1 thread for compilation e.g.

fcm make -j1

This will unfortunately result in longer compile times.