Sparc/Intel Solaris support

How well is ghc supported on newer versions of Sparc/Intel Solaris? Thanks, Joel -- http://wagerlabs.com/

Joel Reymont schrieb:
How well is ghc supported on newer versions of Sparc/Intel Solaris?
The distributions http://www.haskell.org/ghc/dist/6.6/ghc-6.6-sparc-sun-solaris2.tar.bz2 http://www.haskell.org/ghc/dist/6.6/ghc-6.6-i386-unknown-solaris2.tar.bz2 work well under Solaris 10 for us. I'm in the process of making distributions for ghc-6.6.1. Cheers Christian

Christian, On May 10, 2007, at 11:36 AM, Christian Maeder wrote:
work well under Solaris 10 for us. I'm in the process of making distributions for ghc-6.6.1.
Where do you install ghc on Solaris 10? I have /opt/csw, should I just move the tree there and adjust my path? Thanks, Joel -- http://wagerlabs.com/

Joel Reymont schrieb:
Christian,
On May 10, 2007, at 11:36 AM, Christian Maeder wrote:
work well under Solaris 10 for us. I'm in the process of making distributions for ghc-6.6.1.
Where do you install ghc on Solaris 10? I have /opt/csw, should I just move the tree there and adjust my path?
We have special directories for user software (i.e. /usr/local/lang/haskell). You can unpack the binary distribution, call './configure --prefix=/opt/csw' and 'make install'. (Just moving does not work.) You do not need root rights if you have write access to the configure prefix. My ghc-6.6.1 distributions can be found here: i386: (42929114 Byte including documentation http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... sparc: (39197952 Byte without documentation) http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... Ian, could you add and upload these dists to http://www.haskell.org/ghc/download_ghc_661.html? Further details below Cheers Christian ghc-6.6.1-i386-unknown-solaris2 was build using gcc-3.4.6 (and a Solaris Linker) on an AMD Athlon-64 under Solaris 10 (with 1 GB RAM, 2GHz) required libraries: -bash-3.1$ ldd lib/i386-unknown-solaris2/ghc-6.6.1 librt.so.1 => /lib/librt.so.1 libdl.so.1 => /lib/libdl.so.1 libreadline.so.5 => /usr/local/lib/libreadline.so.5 libncurses.so.5 => /usr/local/lib/libncurses.so.5 libm.so.2 => /lib/libm.so.2 libgmp.so.3 => /usr/local/lib/libgmp.so.3 libpthread.so.1 => /lib/libpthread.so.1 libc.so.1 => /lib/libc.so.1 libaio.so.1 => /lib/libaio.so.1 libmd5.so.1 => /lib/libmd5.so.1 libiconv.so.2 => /usr/local/lib/libiconv.so.2 libsocket.so.1 => /lib/libsocket.so.1 libnsl.so.1 => /lib/libnsl.so.1 libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1 libmp.so.2 => /lib/libmp.so.2 libscf.so.1 => /lib/libscf.so.1 libdoor.so.1 => /lib/libdoor.so.1 libuutil.so.1 => /lib/libuutil.so.1 provided libraries: lib/i386-unknown-solaris2/package.conf: Cabal-1.1.6.2, GLUT-2.1.1, HGL-3.1.1, HUnit-1.1.1, OpenGL-2.2.1, QuickCheck-1.0.1, X11-1.2.1, base-2.1.1, cgi-3001.1.1, fgl-5.4.1, filepath-1.0, (ghc-6.6.1), haskell-src-1.0.1, haskell98-1.0, html-1.0.1, mtl-1.0.1, network-2.0.1, parsec-2.0, readline-1.0, regex-base-0.72, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.1, time-1.1.1, unix-2.1, xhtml-3000.0.2 testsuite summary created by 'gmake stage=2' in testsuite: OVERALL SUMMARY for test run started at Fri May 11 12:48:45 CEST 2007 1488 total tests, which gave rise to 7079 test cases, of which 4 caused framework failures 1246 were skipped 5761 expected passes 48 expected failures 0 unexpected passes 20 unexpected failures Unexpected failures: conc019(ghci) concprog001(normal,opt,optasm,prof,profasm,threaded1,threaded2) concprog002(threaded2) galois_raytrace(optasm,profasm) openFile003(normal,opt,optasm,prof,profasm,ghci,threaded1,threaded2) regex001(threaded1) Remarks: gcc-4.1.2 had a problem to build a ghci config.way_flags in testsuite/config/ghc needed: 'threaded1' : ['-threaded', '-debug', '-optl-L/usr/local/lib -optl-lbfd -optl-liberty -optl-lintl'], ghc-6.6.1-sparc-sun-solaris2 was build using gcc-4.0.3 (and a gnu linker 2.16.1) on an Ultra-4 (Enterprise 450) with Solaris 8 (with 4 GB RAM, 400MHz) required libraries: -bash-3.00$ ldd lib/sparc-sun-solaris2/ghc-6.6.1 librt.so.1 => /usr/lib/librt.so.1 libdl.so.1 => /usr/lib/libdl.so.1 libreadline.so.5 => /usr/local/lib/libreadline.so.5 libncurses.so.5 => /usr/local/lib/libncurses.so.5 libm.so.2 => /usr/local/lib/libm.so.2 libgmp.so.3 => /usr/local/lib/libgmp.so.3 libpthread.so.1 => /usr/lib/libpthread.so.1 libc.so.1 => /usr/lib/libc.so.1 libaio.so.1 => /usr/lib/libaio.so.1 libthread.so.1 => /usr/lib/libthread.so.1 /usr/platform/SUNW,Ultra-4/lib/libc_psr.so.1 provided libraries: lib/sparc-sun-solaris2/package.conf: Cabal-1.1.6.2, GLUT-2.1.1, HGL-3.1.1, HUnit-1.1.1, OpenGL-2.2.1, QuickCheck-1.0.1, X11-1.2.1, base-2.1.1, cgi-3001.1.1, fgl-5.4.1, filepath-1.0, (ghc-6.6.1), haskell-src-1.0.1, haskell98-1.0, html-1.0.1, mtl-1.0.1, network-2.0.1, parsec-2.0, readline-1.0, regex-base-0.72, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.1, time-1.1.1, unix-2.1, xhtml-3000.0.2 testsuite summary created by 'gmake stage=2' in testsuite on a Sun-Fire-V240 with Solaris 10: OVERALL SUMMARY for test run started at Fri May 11 12:52:01 MEST 2007 1488 total tests, which gave rise to 5023 test cases, of which 10 caused framework failures 736 were skipped 4204 expected passes 42 expected failures 0 unexpected passes 31 unexpected failures Unexpected failures: QSemN001(opt) barton-mangler-bug(prof) bytestring001(normal,opt,prof,threaded1,threaded2) bytestring004(normal,opt,prof,threaded1,threaded2) bytestring005(normal,opt,prof,threaded1,threaded2) conc019(ghci) conc049(normal,opt) concprog001(normal,opt,prof,threaded1) concprog002(threaded2) driver017(normal) driver035(normal) ffi017(ghci) ffi018(ghci) ghciprog004(normal) regex001(threaded1) Remarks: mk/build.mk required (apart form Project=Ghc and BIN_DIST=1) SRC_HC_OPTS += -optc-mcpu=ultrasparc -opta-mcpu=ultrasparc config.way_flags in testsuite/config/ghc needed: 'threaded1' : ['-threaded', '-debug', '-optl-L/usr/local/lib -optl-lbfd -optl-liberty'],

Christian Maeder schrieb:
i386: (42929114 Byte including documentation http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets...
Remarks: gcc-4.1.2 had a problem to build a ghci
I had this problem (that ghci seg-faulted) only on a specific machine. On another (identical) machine gcc-4.1.2 caused no problems. C.

I've made binary distributions for powerpc and intel macs that rely on a GNUreadline.framework and a GMP.framework that can be found (for both architectures) here: http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... My ghc-6.6.1 distributions can be found here: i386: (41776873 Byte without documentation) http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... powerpc: (49468070 Byte without documentation) http://www.informatik.uni-bremen.de/agbkb/forschung/formal_methods/CoFI/hets... Ian, could you add and upload these dists to http://www.haskell.org/ghc/download_ghc_661.html, too? Further details see below. I wonder what the build bots said to the testsuite. Even my i386-linux build had 10 failures: OVERALL SUMMARY for test run started at Fr Mai 4 15:41:37 CEST 2007 1488 total tests, which gave rise to 7079 test cases, of which 2 caused framework failures 1246 were skipped 5773 expected passes 48 expected failures 0 unexpected passes 10 unexpected failures Unexpected failures: conc019(ghci) conc024(ghci) conc049(opt) concprog001(opt,optasm,prof,profasm,threaded1) galois_raytrace(optasm,profasm) Cheers Christian Remarks for both mac architectures: LD and SRC_HC_OPTS in libraries/readline/config.mk and compiler/Makefile.ghcbin have been adapted manually to point to the readline framework. config.mk: READLINE_BUILD_PACKAGE=yes LD=/usr/bin/ld -F/home/maeder/Library/Frameworks -framework GNUreadline SRC_HC_OPTS += -optc-I/home/maeder/Library/Frameworks/GNUreadline.framework/Headers -optl-F/home/maeder/Library/Framework -optl-framework -optlGNUreadline SRC_HSC2HS_OPTS += -I/home/maeder/Library/Frameworks/GNUreadline.framework/Headers For 'ghci -package X11' (or -package HGL) DYLD_LIBRARY_PATH has to be set to include /usr/X11R6/lib (although is lib-path is listed in package.conf). ghc-6.6.1-i386-apple-darwin was build using i686-apple-darwin8-gcc-4.0.1 required libraries: $ otool -L lib/i386-apple-darwin/ghc-6.6.1 lib/i386-apple-darwin/ghc-6.6.1: GNUreadline.framework/Versions/A/GNUreadline (compatibility version 5.0.0, current version 5.2.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.3.7) GMP.framework/Versions/A/GMP (compatibility version 7.0.0, current version 7.0.0) provided packages: ghc-6.6.1/lib/i386-apple-darwin/package.conf: Cabal-1.1.6.2, GLUT-2.1.1, HGL-3.1.1, HUnit-1.1.1, OpenAL-1.3.1, OpenGL-2.2.1, QuickCheck-1.0.1, X11-1.2.1, base-2.1.1, cgi-3001.1.1, fgl-5.4.1, filepath-1.0, (ghc-6.6.1), haskell-src-1.0.1, haskell98-1.0, html-1.0.1, mtl-1.0.1, network-2.0.1, parsec-2.0, readline-1.0, regex-base-0.72, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.1, time-1.1.1, unix-2.1, xhtml-3000.0.2 testsuite summary created by 'gmake stage=2' in testsuite: OVERALL SUMMARY for test run started at Fri May 11 17:15:13 CEST 2007 1488 total tests, which gave rise to 7079 test cases, of which 4 caused framework failures 1246 were skipped 5757 expected passes 48 expected failures 0 unexpected passes 24 unexpected failures Unexpected failures: conc019(ghci) conc024(normal,optasm,ghci) concprog001(normal,opt,optasm,prof,profasm) ffi009(threaded1) ffi012(normal,opt,optasm,prof,profasm,threaded1,threaded2) ffi016(normal,opt,optasm,prof) galois_raytrace(optasm,profasm) memo001(threaded2) ghc-6.6.1-powerpc-apple-darwin was build using powerpc-apple-darwin8-gcc-4.0.1 required libraries: $ otool -L lib/powerpc-apple-darwin/ghc-6.6.1 lib/powerpc-apple-darwin/ghc-6.6.1: GNUreadline.framework/GNUreadline (compatibility version 5.0.0, current version 5.1.0) /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.9) GMP.framework/Versions/A/GMP (compatibility version 7.0.0, current version 7.3.0) provided packages: lib/powerpc-apple-darwin/package.conf: Cabal-1.1.6.2, GLUT-2.1.1, HGL-3.1.1, HUnit-1.1.1, OpenAL-1.3.1, OpenGL-2.2.1, QuickCheck-1.0.1, X11-1.2.1, base-2.1.1, cgi-3001.1.1, fgl-5.4.1, filepath-1.0, (ghc-6.6.1), haskell-src-1.0.1, haskell98-1.0, html-1.0.1, mtl-1.0.1, network-2.0.1, parsec-2.0, readline-1.0, regex-base-0.72, regex-compat-0.71, regex-posix-0.71, rts-1.0, stm-2.0, template-haskell-2.1, time-1.1.1, unix-2.1, xhtml-3000.0.2 testsuite summary created by 'gmake stage=2' in testsuite: OVERALL SUMMARY for test run started at Fri May 4 17:41:03 CEST 2007 1488 total tests, which gave rise to 7079 test cases, of which 4 caused framework failures 1246 were skipped 5754 expected passes 56 expected failures 0 unexpected passes 19 unexpected failures Unexpected failures: barton-mangler-bug(prof) conc019(ghci) conc023(threaded2) conc024(normal,ghci) conc049(threaded2) conc053(threaded2) concprog001(normal,opt,optasm,prof,profasm,threaded1) forkprocess01(ghci) galois_raytrace(opt,prof,threaded2) joao-circular(prof,profasm)

On Mon, May 14, 2007 at 02:07:11PM +0200, Christian Maeder wrote:
Ian, could you add and upload these dists to http://www.haskell.org/ghc/download_ghc_661.html, too?
Thanks for making them! They're now added, along with your Solaris builds.
I wonder what the build bots said to the testsuite. Even my i386-linux build had 10 failures:
amd64/Linux and i386/Windows were both clean.
Unexpected failures: conc019(ghci) conc024(ghci) conc049(opt) concprog001(opt,optasm,prof,profasm,threaded1) galois_raytrace(optasm,profasm)
The galois_raytrace failures will just be floating point differences. The concurrency failures are something we'll have to look into for 6.8. Thanks Ian

Ian Lynagh schrieb:
On Mon, May 14, 2007 at 02:07:11PM +0200, Christian Maeder wrote:
Ian, could you add and upload these dists to http://www.haskell.org/ghc/download_ghc_661.html, too?
Thanks for making them! They're now added, along with your Solaris builds.
http://www.haskell.org/ghc/download_ghc_661.html#sparcsolaris "This is a complete build, with profiling libraries and docs" Sorry, the docs are not included here (only i386 Solaris made them). Maybe docs could be made available separately (they are missing for the macs, too.) Since, "make binary-dist" already packed everything I did not repack to include the docs. http://www.haskell.org/ghc/docs/latest/html/libraries/index.html misses the OpenAL documentation, or is there none for it? Christian
participants (3)
-
Christian Maeder
-
Ian Lynagh
-
Joel Reymont