integer-simple linker errors?

Gabor Greif ggreif at gmail.com
Mon Apr 8 22:54:03 CEST 2013


Hi Ian!

Yeah, but why is dynamic different at all?

Looking at integer-gmp, it imports __int_encodeFloat instead of
__word_encodeFloat.

GHC rts exports __int_encodeFloat. How can this even work in the
statically linked case?

I am very sleepy, otherwise I'd try to build a vanilla OS X GHC with
integer-simple now ...

Till tomorrow, things may become clearer to me.

Cheers,

    Gabor

On 4/8/13, Ian Lynagh <ian at well-typed.com> wrote:
>
> Hi Gabor,
>
> On Mon, Apr 08, 2013 at 08:15:34PM +0200, Gabor Greif wrote:
>>
>> I am getting below errors from libraries/integer-simple.
>>
>> Which integer-gmp / GHC change caused this? I looked briefly, but
>> could not find anything.
>>
>> 0130407.so: undefined reference to `__word_encodeDouble'
>>
>> /libHSinteger-simple-0.1.1.0-ghc7.7.20130407.so: undefined reference
>> to `__word_encodeFloat'
>
> It's plausible that no-one's ever tried to build integer-simple the dyn
> way before.
>
>
> Thanks
> Ian
>
>



More information about the ghc-devs mailing list