64bit Solaris was: Re: 7.8.1 plan
Karel Gardas
karel.gardas at centrum.cz
Thu Apr 10 07:52:51 UTC 2014
Hi,
thanks to an advice put by Alain (cced), I've grabbed the copy of
SmartOS and installed GHC there. It looks like this package is AMD64
based. I've then moved it to my Solaris 11.1 and it runs fine and
compile the code well:
$ ghc --make HelloWorld.lhs
[1 of 1] Compiling Main ( HelloWorld.lhs, HelloWorld.o )
Linking HelloWorld ...
$ ./HelloWorld
Hello world!
$ file HelloWorld
HelloWorld: ELF 64-bit LSB executable AMD64 Version 1, dynamically
linked, not stripped
$ ldd HelloWorld
libiconv.so.2 => /opt/local/lib/libiconv.so.2
libgmp.so.10 => /opt/local/lib/libgmp.so.10
libm.so.2 => /lib/64/libm.so.2
librt.so.1 => /lib/64/librt.so.1
libdl.so.1 => /lib/64/libdl.so.1
libc.so.1 => /lib/64/libc.so.1
libumem.so.1 => /lib/64/libumem.so.1
libgcc_s.so.1 =>
/opt/local/gcc47/x86_64-sun-solaris2.11/lib/amd64/libgcc_s.so.1
Well, so this is IMHO a easier way to bootstrap GHC HEAD on
Solaris/AMD64. I currently do not have a time to deal with it, but
hopefully will find some during the weekend -- well, if nobody is
faster, otherwise I will devote my "weekend ghc hobby" time to SPARC NCG
debugging. :-)
Cheers,
Karel
On 04/10/14 09:39 AM, Christian Maeder wrote:
> Hi,
>
> I've tried to cross-compile
> https://ghc.haskell.org/trac/ghc/ticket/8910
> but did not succeed, yet.
>
> There seem to be problems with Int64 and/or Word data types.
> The proper start would be to make a careful comparison of the test-suite
> results, but there are already failures for the 32bit version (under
> Solaris 10). Unfortunately I don't have time to look into it further.
>
> Cheers Christian
>
> Am 09.04.2014 16:49, schrieb Pavel Ryzhov:
>> Hi Karel,
>>
>> That is great!
>>
>> Do you know if there any plans for 64-bit build of GHC for Solaris 11?
>>
>> Regards,
>> Pavel
>>
>> On 09 Apr 2014, at 10:49, Karel Gardas <karel.gardas at centrum.cz> wrote:
>>
>>>
>>> Hi Pavel,
>>>
>>> I've too built binary dist for Solaris 11 and Solaris 10. The
>>> advantage of Solaris 11 build is that it supports shared libs and is
>>> built using system provided gmp and ffi libs.
>>>
>>> Solaris 2.10:
>>> https://app.box.com/s/s1bysqga0x5f3itysu7g
>>> https://app.box.com/s/fbfki0szetnp4pghpeuk
>>>
>>> Solaris 2.11:
>>> https://app.box.com/s/zstci63pt10t4yix74s8
>>> https://app.box.com/s/9375dyx8hwu9cnox2lgi
>>>
>>> The first link is binary tarball while the second is sha256.
>>>
>>> Karel
>>>
>>> On 04/ 9/14 07:31 AM, Pavel Ryzhov wrote:
>>>> Hi,
>>>>
>>>> I made Solaris 11 x86 bindist. It seems to be working fine. I will try
>>>> to make IPS package later than.
>>>>
>>>> https://s3-eu-west-1.amazonaws.com/ghc-paulrz/ghc-7.8.1-i386-unknown-solaris2.tar.bz2
>>>>
>>>> sha256:
>>>> 268b91eee42aa1f100062857416a4b69045bbb36fca9fafd6fb7adb8db8bc6b2
>>>>
>>>> Regards,
>>>> Pavel Ryzhov
>>>>
>>>> On 08 Apr 2014, at 21:39, Carter Schonwald <carter.schonwald at gmail.com
>>>> <mailto:carter.schonwald at gmail.com>> wrote:
>>>>
>>>>> ok, did a sha256 on my bindist
>>>>> 98ab924806a8af6ffde5365be64eb5fb826a38d3827ac31720cc89542f235592 for
>>>>> https://s3.amazonaws.com/wellposed.com/opensource/ghc/releaseBuilds-unofficial/ghc-7.8.1-x86_64-apple-darwin.tar.bz2
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Apr 8, 2014 at 1:17 PM, Páli Gábor János <pali.gabor at gmail.com
>>>>> <mailto:pali.gabor at gmail.com>> wrote:
>>>>>
>>>>> 2014-04-08 15:28 GMT+02:00 Austin Seipp <austin at well-typed.com
>>>>> <mailto:austin at well-typed.com>>:
>>>>> > Feel free to make builds - I'll add them as they come in and will
>>>>> > announce soon...
>>>>>
>>>>> The FreeBSD builds are now available, along with the respective SHA256
>>>>> sums and the updated README file, as usual:
>>>>>
>>>>> http://haskell.inf.elte.hu/ghc/ghc-7.8.1-i386-portbld-freebsd.tar.bz2
>>>>> http://haskell.inf.elte.hu/ghc/ghc-7.8.1-x86_64-portbld-freebsd.tar.bz2
>>>>>
>>>>> http://haskell.inf.elte.hu/ghc/SHA256SUMS
>>>>> http://haskell.inf.elte.hu/ghc/README.html
>>>>> _______________________________________________
>>>>> ghc-devs mailing list
>>>>> ghc-devs at haskell.org <mailto:ghc-devs at haskell.org>
>>>>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> ghc-devs mailing list
>>>>> ghc-devs at haskell.org <mailto:ghc-devs at haskell.org>
>>>>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> ghc-devs mailing list
>>>> ghc-devs at haskell.org
>>>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>>
>>
>>
>>
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at haskell.org
>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>
>
>
More information about the ghc-devs
mailing list