Takusen build error
Benjamin Franksen
benjamin.franksen at bessy.de
Wed Jul 2 10:10:54 EDT 2008
Alistair Bayley wrote:
>> I get a strange error building Takusen (more precisely: the module
>> Foreign/C/UTF8.hs) with ghc-6.8.3. It says
>>
>> [1 of 9] Compiling Foreign.C.UTF8 ( Foreign/C/UTF8.hs,
>> dist/build/Foreign/C/UTF8.o )
>> /tmp/ghc18936_0/ghc18936_0.s: Assembler messages:
>>
>> /tmp/ghc18936_0/ghc18936_0.s:1257:0:
>> Error: symbol `base_GHCziBase_Z0T_closure' is already defined
>>
>> I compiled ghc-6.8.3 from source, using ghc-6.8.2 to bootstrap.
>
> What happens when you say:
> ghc -c Foreign/C/UTF8.hs
>
> I expect you get the same error.
Yes.
> If so, then this is one for ghc maintainers.
Indeed, it seems so, as
Ian Lynagh wrote:
> Thanks for the report; I've filed a bug here:
> http://hackage.haskell.org/trac/ghc/ticket/2409
>
> As a workaround, removing the (redundant) uses of
> () `seq`
> in Foreign/C/UTF8.hs makes the build go through.
Thanks, Ian, for the quick response and the work-around which works fine for
me.
Cheers
Ben
More information about the Glasgow-haskell-users
mailing list