GHC on Solaris 5.5.1

Julian Seward (Intl Vendor) v-julsew@microsoft.com
Thu, 26 Jul 2001 03:11:45 -0700


Sven

It is difficult to see how we can help you without rebuilding
the compiler on 5.5.1 -- our build machine, indeed our only
sparc-solaris box, is 5.7. =20

Assuming you *have* to use a 5.X series compiler on solaris:

Possibility 1:
   (Difficult)
   Get hold of 4.08.2 for solaris, and the 5.00.2 source, and
   build.  This will give you a 5.00.2 lacking the interactive
   system.  If you want to use that, make a second build of
   5.00.2 with the first one.

Possibility 2:
   (Easy hack, but unlikely to work)
   Pray that siginterrupt is not really needed.  Compile a dummy file
like this

      int siginterrupt;

   with gcc -shared -fpic -o kludge.so kludge.c
   Set LD_PRELOAD to point to kludge.so
   and start the compiler again.

   Probably what you see is the first of many problems with Solaris
5.5.1
   so I doubt you will get very far like this.  It is at least easy to
   try tho.

J

| -----Original Message-----
| From: Sven Panne [mailto:Sven_Panne@BetaResearch.de]=20
| Sent: Monday, July 23, 2001 4:56 PM
| To: cvs-ghc@haskell.org
| Subject: GHC on Solaris 5.5.1
|=20
|=20
| Does anybody have a rather recent binary release of GHC for=20
| SunOS 5.5.1? The versions out there have some dynamic linking=20
| troubles:
|=20
|    ld.so.1:=20
| /proj/dbox2/home/spanne/ghc-5.00.2/lib/sparc-sun-solaris2/ghc-
| 5.00.2: fatal: relocation error: file=20
| /proj/dbox2/home/spanne/ghc-5.00.2/lib/sparc-sun-solaris2/ghc-
| 5.00.2: symbol siginterrupt: referenced symbol not found
|=20
| AFAICT siginterrupt is a BSDism, which is not supported on=20
| SunOS 5.5.1. Any hints? Or do I have to take the hard route=20
| via old GHCs or HC files? :-P
|=20
| Cheers,
|    S.
| --=20
| Sven Panne    Fon: +49/89/99567000    Fax: +49/89/99567461
| BetaResearch GmbH,    Betastr. 1,    D-85774 Unterfoehring
| mailto:Sven_Panne@BetaResearch.de    http://www.betaresearch.de
|=20
| _______________________________________________
| Cvs-ghc mailing list
| Cvs-ghc@haskell.org http://www.haskell.org/mailman/listinfo/cvs-ghc
|=20
|=20