[Haskell-cafe] strange GHC assembler failure

Tim Newsham newsham at lava.net
Sat Feb 2 20:24:40 EST 2008


I'm getting a weird build error:
[ 9 of 95] Compiling Plugin.Pl.Common ( Plugin/Pl/Common.hs, 
dist/build/lambdabot/lambdabot-tmp/Plugin/Pl/Common.o )
/tmp/ghc52608_0/ghc52608_0.s: Assembler messages:

/tmp/ghc52608_0/ghc52608_0.s:36:0:  Error: unassigned file number 1
[... more of these ...]

I narrowed this down -- this happens when I add my new library
"silc-client" to the "Build-depends:" line in the cabal file even
if none of its code is referenced.  Removing the dependency makes
the error go away.  The module I'm referencing is a new one I'm
still working on and it makes use of FFI and references external
headers and libraries.
(I put a copy at http://www.thenewsh.com/~newsham/silc-client.tgz
if it helps anyone debug..  this is not release-quality code
though).

Any idea what is going on here?

Tim Newsham
http://www.thenewsh.com/~newsham/


More information about the Haskell-Cafe mailing list