[Haskell-cafe] strange GHC assembler failure
Tim Chevalier
catamorphism at gmail.com
Sat Feb 2 20:44:14 EST 2008
On 2/2/08, Tim Newsham <newsham at lava.net> wrote:
> 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?
>
This would probably be a better question for ghc-users, since that's a
lower-traffic list for GHC-specific questions. Redirected there.
Cheers,
Tim
--
Tim Chevalier * http://cs.pdx.edu/~tjc * Often in error, never in doubt
"Now, don't bother to flame me, because by the time you read this post
I will be a different person from the one who wrote it. You cannot
step in the same river twice." -- Sarah Barton
More information about the Glasgow-haskell-users
mailing list