-
Notifications
You must be signed in to change notification settings - Fork 239
'html-test' crashes on 8.4.1 #767
Comments
I experienced this as well. |
here are some observations I made:
|
I've observed the same with
Unfortunately |
This indeed only hits me when I'm building Haddock myself, and only on files using TH (no matter how small). -- Main.hs
{-# LANGUAGE TemplateHaskell #-}
main = pure ()
$(pure []) |
It appears the unexpected behaviour comes from |
Should this be filed against GHC? (Maybe there already is a ticket?) |
This is a mess. I suspect Cabal is partially to blame.
At this point, I am at a complete loss for what to try next. Ideas welcome. |
This is still happening with 8.4.2 for me, using doctest. Can anyone else confirm? |
This appears to still be broken in 8.4.2. 😢 |
Alright, I think I'm close to nailing this. I think there is something suspicious about the Note that the symbols provided by this object file are already in the static library of the same name. Furthermore, when I manually install GHC (after building from source), this troublesome file is not present. I'm obviously still investigating, but I figured I'd ask if anyone knows any reason EDITFurther evidence this is the issue: GHC 8.4.1 and GHC 8.4.2 are the versions that cause this issue. They are also the only versions where the tarball distributed at https://downloads.haskell.org includes the problematic object file. |
This was never fixed in the GHC 8.4.*. It is however fixed in GHC 8.6.*. Closing since this ended up being a GHC-side bug (and it is now fixed upstream). |
On MacOS and using the newly released GHC-8.4.1,
html-tests
fail at runtime.Here is the output from re-running the last command:
/cc @bgamari this is what I was talking about.
The text was updated successfully, but these errors were encountered: