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

Source annotations cause build failure #113

Open
takeoutweight opened this Issue Oct 30, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@takeoutweight
Contributor

takeoutweight commented Oct 30, 2013

For example:

module Main where
import Haste

{-# ANN module "Some Annotation" #-}

main = do
  writeLog $ "hello"

when building gives:

$ hastec --start=asap Main.hs
hastec: 
lookupSymbol failed in relocateSection (RELOC_GOT)
/Users/nathansorenson/.haste/libraries/lib/libHSinteger-gmp-0.5.0.0.a: unknown symbol `_I_toInt64'
hastec: hastec: unable to load package `integer-gmp'

I noticed this when trying to install the profunctors package. It was a bit confusing since the error message is unrelated to annotations. Commenting out the annotations fixes the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment