getting linker errors for every nontrivial build on an m1 mac with ghc 9.4.3
The 9.4.3 m1 mac configure is full stop broken, i had to use the settings file from my 9.4.2 ghc install to get a working environment! (and this is even if i pass the "dont get smart about linker stuff" flag at ./configure time for the installer)
the 9.4.2 bit of settings file
,("ld flags", "")
,("ld supports compact unwind", "YES")
,("ld supports build-id", "NO")
,("ld supports filelist", "YES")
,("ld is GNU ld", "NO")
,("Merge objects command", "ld")
the one from 9.4.3
,("ld supports compact unwind", "NO")
,("ld supports build-id", "NO")
,("ld supports filelist", "NO")
,("ld is GNU ld", "YES")
,("Merge objects command", "ld.lld")
this is made even more confusing to track down because of the litany of issues like ghc trying to do gc-sections and that not being supported by the linker?