Re: integer-simple linker errors?

2013-04-08 Thread Gabor Greif
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  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
>
>

___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


Re: integer-simple linker errors?

2013-04-08 Thread Ian Lynagh

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


___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs


integer-simple linker errors?

2013-04-08 Thread Gabor Greif
Hi all,

I am getting below errors from libraries/integer-simple.

Which integer-gmp / GHC change caused this? I looked briefly, but
could not find anything.

Thanks,

Gabor

0130407.so: undefined reference to `__word_encodeDouble'

/libHSinteger-simple-0.1.1.0-ghc7.7.20130407.so: undefined reference
to `__word_encodeFloat'

___
ghc-devs mailing list
ghc-devs@haskell.org
http://www.haskell.org/mailman/listinfo/ghc-devs