[darcs-users] darcs on solaris

Anders Höckersten chucky at dtek.chalmers.se
Thu Oct 20 15:03:07 UTC 2005


On Thu, 2005-10-20 at 16:27 +0200, Christian Lynbech wrote:
> Has anybody had any luck getting recent versions of darcs to run under
> solaris?
> 
> The only darcs version I can find on the net is 0.9 and that is not
> new enough to handle some of the patches in one of my repositories.
> 
> I have then made a halfhearted attempt at recompiling darcs myself,
> but ran into a slew of problems and the resulting binaries all
> generates "Illegal instruction" errors immediately on startup (which
> appears to be thread related but I haven't investigated it closely).
> 

I installed darcs 1.0.3 on Chalmers' Solaris 9 system a few months ago.
Seems to work fine, although I'm not sure because I haven't used it much
(we stopped using Solaris soon after I installed it). I could try to
send you a binary, but I suspect it won't work (there's a lot of magic
involved in installing things on our systems, and I don't have access to
any vanilla Solaris machines to compile a new binary on).

The illegal instruction errors probably have to do with having a broken
version of ghc. I know it has suffered some bitrot on Solaris lately.
According to the ghc homepage[1]:
"NOTE: you must use GCC 2.95 or 3.4+ on Sparc. There is a known bug with
GCC versions between 3.0-3.3 which causes incorrect code to be
generated."
Additionally, I think ghc 6.2.2 and 6.4.1 work correctly on Solaris, but
not 6.4.

Regards,
Anders

[1] http://www.haskell.org/ghc/download_ghc_641.html#sparcsolaris





More information about the darcs-users mailing list