GHC "helpfully" aborts compilation when -split-sections is a no-op.
On macOS -split-sections
is apparently a no-op. GHC warns about this (great!), but also aborts the compilation (instead of just carrying on as usual). This is rather annoying since I have a single cabal
config I share across machines on multiple platforms which sets split-sections: True
. I think this is the wrong choice, since if -split-sections
isn't useful GHC could just carry on as if it isn't set.