I’m using GHC 9.0.1 on an M1 Mac and I’m seeing the following error, but only at what seems random intervals:
<no location info>: error:
Warning: Couldn't figure out C compiler information!
Make sure you're using GNU gcc, or clang
clang: warning: argument unused during compilation: '-fno-common' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-U __PIC__' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-D __PIC__' [-Wunused-command-line-argument]
At other times everything compiles without these notices.
Before I bother the GHC maintainers with this issue, is this something I haven’t setup correctly in macOS and GHCUP?
TIA,
Stu