ld: warning: -single_module is obsolete
Summary
On macos 14.1 (Sonoma), I see "ld: warning: -single_module is obsolete" as each library component is linked. It doesn't happen with executable components, or at least not always. Perhaps related to Apple's newer linker, similar to #24167 (closed) ?
Steps to reproduce
Build packages with stack or cabal.
Expected behavior
Not show the warning.
Environment
- GHC version used: 9.6.3
Optional:
- Operating System: macos
- System Architecture: m1