Re: Unbreak ghc

2017-12-18 Thread Matthias Kilian
Hi Karel, On Thu, Dec 14, 2017 at 01:35:30PM +0100, Karel Gardas wrote: > 8.2 and later, including HEAD should be better and better. I've done > some work on this (mainly passing your patches to the HEAD of that > time) I'm aware of it, and I really appreciate it. > and also some core GHC

Re: Unbreak ghc

2017-12-14 Thread Karel Gardas
> Curious how far my current build of ghc-8.2.2 will go... 8.2 and later, including HEAD should be better and better. I've done some work on this (mainly passing your patches to the HEAD of that time) and also some core GHC developers (Ben Gamari IIRC) are testing on OpenBSD (latest release) now,

Re: Unbreak ghc

2017-12-14 Thread Karel Gardas
On Sun, Dec 10, 2017 at 9:52 PM, Matthias Kilian wrote: > Hi Karel, > > On Sun, Dec 10, 2017 at 08:22:54PM +0100, Karel Gardas wrote: >> rts/Linker.c includes elf.h for all platform except OpenBSD where it >> includes elf_abi.h. In recent snapshots elf_abi.h got removed

Re: Unbreak ghc

2017-12-11 Thread Matthias Kilian
On Sun, Dec 10, 2017 at 09:52:27PM +0100, Matthias Kilian wrote: > My plan is to get a newer version of ghc (8.2.x) in the ports tree first. > *Then* we can start to add patches to the port (when needed) which may > also be appropriate for upstream. BTW: rts/Linker.c is now split up into several

Re: Unbreak ghc

2017-12-10 Thread Matthias Kilian
Hi Karel, On Sun, Dec 10, 2017 at 08:22:54PM +0100, Karel Gardas wrote: > rts/Linker.c includes elf.h for all platform except OpenBSD where it > includes elf_abi.h. In recent snapshots elf_abi.h got removed thanks > to work of Martin Pieuchot. But it's still there, even in todays snapshots: $

Re: Unbreak ghc

2017-12-10 Thread Karel Gardas
rts/Linker.c includes elf.h for all platform except OpenBSD where it includes elf_abi.h. In recent snapshots elf_abi.h got removed thanks to work of Martin Pieuchot. This way, rts/Linker.c includes non-existent .h file which fails. My "fix" for now is simple to just s/elf_abi/elf and be done with

Re: Unbreak ghc

2017-12-06 Thread Matthias Kilian
Hi Karel, On Mon, Dec 04, 2017 at 11:09:33PM +0100, Karel Gardas wrote: > attached patch unbreaks GHC compilation issue on snapshot. I would > rather keep that simple/stupid before cleaning more those bits in > OpenBSD #ifdef. Good for now IMHO. Well, src and the snapshot i tried yesterday

Re: Unbreak ghc

2017-12-04 Thread Karel Gardas
On Tue, Dec 5, 2017 at 12:19 AM, Matthias Kilian wrote: > Hi Karel, > > On Mon, Dec 04, 2017 at 11:09:33PM +0100, Karel Gardas wrote: >> attached patch unbreaks GHC compilation issue on snapshot. I would >> rather keep that simple/stupid before cleaning more those bits in

Re: Unbreak ghc

2017-12-04 Thread Matthias Kilian
Hi Karel, On Mon, Dec 04, 2017 at 11:09:33PM +0100, Karel Gardas wrote: > attached patch unbreaks GHC compilation issue on snapshot. I would > rather keep that simple/stupid before cleaning more those bits in > OpenBSD #ifdef. Good for now IMHO. Thanks for your patch. I'll have a look on

Unbreak ghc

2017-12-04 Thread Karel Gardas
Hi, attached patch unbreaks GHC compilation issue on snapshot. I would rather keep that simple/stupid before cleaning more those bits in OpenBSD #ifdef. Good for now IMHO. Thanks, Karel ghc.patch Description: Binary data