Attempt at building on OpenBSD/sparc64 - failure at "make all_ghc_stage2"

Benjamin Jansen ghc at w007.org
Sat Oct 2 00:06:57 EDT 2010


Hello,

I am attempting to build GHC 6.12.3 on OpenBSD4.4/sparc64 [1]. I've been following the instructions on the Porting page [2], using a Linux x86 system as the host machine. I've gotten to executing the following command on the target system:

aogail at netra> gmake all_ghc_stage2
===--- updating makefiles phase 0
gmake -r --no-print-directory -f ghc.mk phase=0 just-makefiles
"" configure --with-ghc="/home/aogail/software/ghc-6.12.3/" --with-ghc-pkg="/home/aogail/software/ghc-6.12.3/" --with-gcc="/usr/bin/gcc" --configure-option=--with-cc="/usr/bin/gcc" --ghc-option=-DOMIT_NATIVE_CODEGEN --ld-options=-E --flags=stage2 --ghc-option=-DSTAGE=2 --ghc-options='-O2' --configure-option=CFLAGS="-g -O0 -DNO_REGS -DUSE_MINIINTERPRETER -D__GLASGOW_HASKELL__=612 -Iincludes   " --configure-option=LDFLAGS="  " -- stage2 compiler
/bin/sh: : cannot execute - Is a directory
gmake[1]: *** [compiler/stage2/package-data.mk] Error 126
gmake: *** [all_ghc_stage2] Error 2

My experience with complicated make systems is limited so I'm not sure where to look at this point. Can I get some pointers?

Thanks,
Ben Jansen

1: http://hackage.haskell.org/trac/ghc/ticket/3511
2: http://hackage.haskell.org/trac/ghc/wiki/Building/Porting


More information about the Glasgow-haskell-users mailing list