Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Link errors with GHC 7.4.2 using the current package from git. #61
This isn't a GHC bug but an ImplicitCAD one. It's the result of me being sloppy when merging someone's work into master: they created a file (Graphics.Implicit.Export.TextBuilderUtils?) and I forgot to add it to ImplicitCAD's cabal file. Thus cabal didn't install that module and so ImplicitCAD seems to install fine, but if you try to build something using ImplicitCAD, part of it is missing and so it fails in linking.
If you look carefully at the error messages from ld, you'll see:
which is the missing file and exports a function buildTruncFloat.
You don't see this if you work in the ImplicitCAD folder because it uses the local copy, so this didn't get caught earlier.
Sorry about any confusion and thanks for catching this bug! It's now fixed!
Yes, both problems are now fixed(both the link error and the exporting of Primitives). Thank you. I wouldn't be so hard on myself if I were you though. Even if this isn't a bug in GHC, it is certainly a bug in cabal. Cabal shouldn't let you generate an invalid binary period! haskell/cabal#939