Hi, On Tue, Feb 21, 2023 at 04:25:38PM +0100, Marc Espie wrote: > 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.
It's probably just a matter of the build system, which will change completely with ghc-9.4.x. When we update to that, we can have another look how to pass flags only to the linker. Ciao, Kili