On Sun, Feb 19, 2023 at 07:16:01PM -0800, Greg Steuck wrote: > Hi Matthias, > > We get this annoying line all over the place now in Haskell ports logs: > > cc: warning: -Wl,--no-execute-only: 'linker' input unused > [-Wunused-command-line-argument] > > I don't know of a simple way to stick the --no-execute-only flag only > into the link and not the compiler line of ghc/settings. So I propose > we suppress this with a simple patch, OK?
I agree with the short-term fix, but I think you guys should try to educate upstream. Not understanding the difference between compile and link options is a very very bad idea and may sooner or later lead to other problems ! It's a very good thing that the llvm toolchain is very picky about that! -- Marc