-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi all,

I was wondering what the state of the art was on arranging for ghc(i) to
work on OpenBSD 5.6/7-BETA (snaphots). The errors are different
depending on the release, with the former stating

"[...] integer-gmp [...] unhandled ELF relocation(Rel) type 10"

and the latter complaining about duplicate symbols in libiconv. In my
brief testing, the compiler itself works on small pieces of code,
producing only warnings about unsafe string operations in the c
library. I managed to find some amount of discussion about this that
took place at the end of last year [1], but was unable to determine if
any resolutions have since been reached.

In particular, it seems to me that the error on 5.6 may be avoidable by
building GHC using a pure-haskell implementation of the numeric tower
(which became available some time ago [2]) instead of being backed by
GHC. Of course, I know nothing of how to achieve this nor if indeed this
would solve the problem.

I hope that this is the correct mailing list, and that I have not
offended anyone's sensibilities in writing this email.
 
Thanks for your time and consideration,
Tslil

[1] http://openbsd.7691.n7.nabble.com/i386-bulk-build-failures-td240532.html
[2] https://ghc.haskell.org/trac/ghc/ticket/601

PS: I have recently installed OpenBSD (long-time linux user) on an old
laptop (Thinkpad T42) and let me say that OpenBSD is beyond charming. I
really would like to resolve this GHC stickler so that I can become a
full-time user, as it were.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJUxqIQAAoJEP9/1idt89XYLfsP/3G6WmIYC4p6xNrTdODBcb5a
1wKNB99oZMv4jyql3DjCLezjE3QtjEk1nmV6iHZ0gboQ1NLOWkDoPZ4uOk6gnzn1
2V6obeDA1cM0ekMPgDUTi8ZQBL0K+ZCGAyOWdGzQJ/npYUMk8fwa0qGi9WHLpvGv
xy5d5QIipixMdu2aFB19fKoza/hsexJCCBJcOZllVDton8Ztifr/aq7HHVxHt8Ip
/o59nWfJ/jHa5P6QbiE9rE2Su7cd6koZzRnz99U0D3he+j2owPttY3MdZHY3VJ8z
CtvoBxy+4xUvFvQzL4aCRfVumLApssBoV0AEr1sV089kmmIzMudW1u1yxu3Ww9Hm
NlWHB8x5dqy+Y4udrhdWSX6hoogV4P4Rn7/bR/7+WL1/1304PZkGfH4knKCZOCKc
pLfXYeyoWM/7KQg66KJHQiOCISCMofzy42x5mAdNWww+aNrSizuuowYmu1BXDoRc
92MUWg+mg6gAcGhKZhkmX2aWjIr45zjoVNPtnTMZ6MPFrTu9rMq1bPVIp9dddgtt
quZQBdd5UIuXU0pXGYEVTWAyuyjOPq4z0m7ImFaxpjZ6vvzOBh26xOUi8BUklZE/
OGr31gxrkr48QtPNmGiNgcE6xQOfqEsMmlp6bB+NduvijPD4qlqtcxVMX3e5mG0W
80UEH96JZLEeJTi5PmCx
=2j4P
-----END PGP SIGNATURE-----

_______________________________________________
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies

Reply via email to