internal error: Misaligned section: 18206e5b on Windows
|Reported by:||joeyhess||Owned by:|
|Type of failure:||GHCi crash||Test Case:|
|Related Tickets:||Differential Rev(s):|
Loading package gnutls-0.1.5 ... ghc.exe: internal error: Misaligned section: 18206e5b
(GHC version 7.6.3 for i386_unknown_mingw32)
Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information.
Only occurs when loading the module in as part of a build involving TH. A non-TH-using program using this library links successfully.
I have installed a gnutls built for Windows, from http://josefsson.org/gnutls4win/. Different versions have different section offsets, but all the versions I've tried fail like this.
I've also gotten the same error linking gnuidn, instead of gnutls, with gnuidn from ftp://ftp.gnu.org/gnu/libidn/libidn-1.28-win32.zip This makes me think this may be a general ghci on windows bug, rather than a misbuilt library.