
#14041: ghc-8.2.1 installation fails on OpenBSD 6.1 -------------------------------------+------------------------------------- Reporter: romanzolotarev | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Research | needed Component: None | Version: 8.2.1 Resolution: fixed | Keywords: Operating System: OpenBSD | Architecture: x86_64 Type of failure: Installing GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by pggiarrusso):
It sounds like we will need separate bindists for OpenBSD 6.0 and 6.1. Arg.
Thanks for the bindist! For the record, that seems to be the general rule for OpenBSD—their minor releases aren't necessarily compatible, as we learned on the stack side :-|. Let me quote https://github.com/commercialhaskell/stack/issues/416#issuecomment-282689118:
I've asked the OpenBSD mailing list whether static binaries compiled on an older release (X) are expected to run on a newer release (X+1, X+2) [0]. I've received the following - expected - answer from Sebastien Marie [1]:
The generic answer will be "no".
The example is the switch from 5.4 to 5.5 release which included time_t change (32 to 64 bits) - see https://www.openbsd.org/faq/upgrade55.html#time_t
But generally, an old binary (from release X) is able to run on a new kernel (from release X+1), but nothing more could be expected: old things are cleaned, so an old binary could be able to run or not (it just depends if relying on old API/ABI with kernel - syscalls, struct size...). [0] http://marc.info/?l=openbsd-misc&m=148793092509010&w=2
-- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14041#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler