From: Stuart Henderson Subject: Re: GHC on OpenBSD/arm64 -> retguard fail? To: Greg Steuck Cc: حبيب محمد الأمين محمد الهادي , ports@openbsd.org Date: Mon, 18 Nov 2024 18:14:29 +0000 On 2024/11/17 19:47, Greg Steuck wrote: > writes: > > > My bad, looks like those references do have something to do with it. > > > > I made some more changes to the cross-build script, and tried again, > > and the result was that the sysroot shows up in the linker's -L args > > when compiling with that GHC, then stops showing up after removing > > those references from the package.conf.d files for ghc-internal and > > running ghc-pkg recache, then shows up with a new library directory if I > > manually add it to the conf file and recache again. > > To be honest, I'm focusing on putting together a monster of a hack > environment on arm64 by cross-compiling just enough stuff. I suspect > polishing the cross-build flow is too much trouble for one use that we > need to happen. The next one is likely to be RISCV whenever this is. Reminder that opaque FILE has not happened yet, we may possibly need some cross-compile-like scaffolding to deal with that..