-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails to build on Windows with GHC 8.6.3 #3
Comments
@ygale is there something I could do besides setting up Windows CI and waiting for GHC-8.6.4? |
@phadej Not that I know of. If you (or anyone else) happen to have a GHC HEAD on Windows, it would be great to verify that postgresql-simple builds there. I am mainly reporting here so that other people who run into trouble will understand what is happening and know what to do - stick with 8.6.2 or some other earlier GHC version for now. Or go with GHC HEAD if you dare. We're a yesod shop using stackage LTS by policy, so we're stuck on 8.4.4 for now. Which is a problem, due to a different TH bug (not just on Windows) that was only fixed in 8.6. But at least we have a (somewhat annoying) work-around for that one by this time. |
The library itself builds. Compilation of the test suite segfaults though:
|
@ygale oh yes, the |
I got the same problem which forces me to stick to ghc 8.6.2 |
I can confirm that using the no-th branch last commits I can compile with ghc 8.6.3 and everything looks OK |
When compiling 0.6 on Windows with GHC 8.6.3, the compilation hangs while trying to compile
Database.PostgreSQL.Simple.FromField
.It compiles fine with GHC 8.6.2.
The module where it fails contains TH splices. So we suspect this might be caused by GHC bug #16057, which was introduced in GHC 8.6.3 and will be fixed in 8.6.4. This behavior is similar to what happens with other packages that are affected by this bug, such as yesodweb/shakespeare#233.
The text was updated successfully, but these errors were encountered: