#4348: bounds error on sparc when compiling haddock
-------------------------+--------------------------------------------------
Reporter: maeder | Owner: tibbe
Type: bug | Status: new
Priority: highest | Milestone: 7.0.1
Component: Compiler | Version: 7.1
Keywords: | Testcase:
Blockedby: | Difficulty:
Os: Solaris | Blocking:
Architecture: sparc | Failure: Building GHC failed
-------------------------+--------------------------------------------------
Comment(by tibbe):
I'm having difficulty even building GHC on sparc. If someone could help me
with the technical hurdles, it would be easier to to fix this bug. Here's
the build error (on sparky.haskell.org):
{{{
$ ./configure --with-gcc=/opt/gcc-vanilla/4.1.2/bin/gcc --with-
ghc=/opt/ghc/bin/ghc --prefix=/opt/ghc --with-gmp-
includes=/opt/csw/include --with-gmp-libraries=/opt/csw/lib
$ make
"inplace/bin/hsc2hs" --cc=/opt/gcc-vanilla/4.1.2/bin/gcc --ld=/opt/gcc-
vanilla/4.1.2/bin/gcc --cflag=-fno-stack-protector -I/opt/csw/include
--cflag=-D__GLASGOW_HASKELL__=701 '--cflag=-fno-stack-protector' '--
cflag=-Icompiler/../libffi/build/include' '--cflag=-Icompiler/stage2' '--
cflag=-Icompiler/../libraries/base/cbits' '--
cflag=-Icompiler/../libraries/base/include' '--cflag=-Icompiler/.' '--
cflag=-Icompiler/parser' '--cflag=-Icompiler/utils' '--cflag=-DGHCI' '--
cflag=-I/home/tibbe/ghc/master/libraries/bytestring/include' '--
cflag=-I/home/tibbe/ghc/master/libraries/process/include' '--
cflag=-I/home/tibbe/ghc/master/libraries/directory/include' '--
cflag=-I/home/tibbe/ghc/master/libraries/unix/include' '--
cflag=-I/home/tibbe/ghc/master/libraries/old-time/include' '--
cflag=-I/home/tibbe/ghc/master/libraries/containers/include' '--
cflag=-I/home/tibbe/ghc/master/libraries/array/include' '--
cflag=-I/home/tibbe/ghc/master/libraries/base/include' '--
cflag=-I/opt/csw/include' '--cflag=-I/home/tibbe/ghc/master/includes' '--
cflag=-I/home/tibbe/ghc/master/libffi/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/template-haskell/dist-
install/build' '--lflag=-L/home/tibbe/ghc/master/libraries/hpc/dist-
install/build' '--lflag=-L/home/tibbe/ghc/master/libraries/bin-package-db
/dist-install/build' '--lflag=-L/home/tibbe/ghc/master/libraries/binary
/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/bytestring/dist-install/build' '
--lflag=-L/home/tibbe/ghc/master/libraries/Cabal/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/process/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/pretty/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/directory/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/unix/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/old-time/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/old-locale/dist-install/build' '
--lflag=-L/home/tibbe/ghc/master/libraries/filepath/dist-install/build' '
--lflag=-L/home/tibbe/ghc/master/libraries/containers/dist-install/build'
'--lflag=-L/home/tibbe/ghc/master/libraries/array/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/base/dist-install/build' '--
lflag=-L/home/tibbe/ghc/master/libraries/integer-gmp/dist-install/build' '
--lflag=-L/opt/csw/lib' '--lflag=-L/home/tibbe/ghc/master/libraries/ghc-
prim/dist-install/build' '--lflag=-L/home/tibbe/ghc/master/rts/dist/build'
'--lflag=-L/home/tibbe/ghc/master/libffi/dist-install/build' '--
lflag=-lrt' '--lflag=-ldl' '--lflag=-lgmp' '--lflag=-lm' '--lflag=-lrt' '
--lflag=-ldl' compiler/ghci/LibFFI.hsc -o
compiler/stage2/build/LibFFI.hs
ld.so.1: LibFFI_hsc_make: fatal: libgmp.so.10: open failed: No such file
or directory
running compiler/stage2/build/LibFFI_hsc_make failed (exit code 9)
command was: compiler/stage2/build/LibFFI_hsc_make
>compiler/stage2/build/LibFFI.hs
make[1]: *** [compiler/stage2/build/LibFFI.hs] Error 1
make[1]: *** Deleting file `compiler/stage2/build/LibFFI.hs'
make: *** [all] Error 2
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4348#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs