From: حبيب محمد الأمين محمد الهادي Subject: Re: GHC on OpenBSD/arm64 -> retguard fail? To: Greg Steuck Cc: ports@openbsd.org Date: Sat, 16 Nov 2024 19:23:44 +0000 Okay, those references have nothing to do with it. I'm starting a build from scratch. I did find it interesting at the time that your -fno-ret-protector on the ghc.c.opts actually baked in the argument, not just to the build process itself, but when I ran the GHC compiler manually on the hello world. So I'm gonna rebuild without any of the ghc.c.opts and ghc.link.opts except the -fno-ret-protector, and I'll see if we can't find other ways of passing any necessary arguments in the build process without baking them in. That means even if we have to make more changes to the Hadrian build scripts. We've gotten this far, we've made a bunch of changes that should be upstreamed, we may as well keep going and turn this into a beautiful PR, not just a beautiful ticket with some patches. Cheers, Habib