Compiling on OpenBSD-current

Karel Gardas karel.gardas at centrum.cz
Thu Dec 1 11:58:28 UTC 2016


I've been hit by this during 8.0.2 rc1 binary preparation so if nobody 
else nor you find a time to fix that sooner I'll hopefully find some 
time during this weekend to have a look into it. I'm pretty sure this is 
fairly recent breakage on OpenBSD...

Cheers,
Karel

On 12/ 1/16 12:21 PM, Adam Steen wrote:
> Hi
>
> When Compiling on OpenBSD-Current I get the follow error, what do i need
> to do to fix this?
>
> Cheers
> Adam
>
> ===--- building phase 0
> gmake --no-print-directory -f ghc.mk <http://ghc.mk> phase=0 phase_0_builds
> gmake[1]: Nothing to be done for 'phase_0_builds'.
> ===--- building phase 1
> gmake --no-print-directory -f ghc.mk <http://ghc.mk> phase=1 phase_1_builds
> "/usr/local/bin/ghc" -o utils/hsc2hs/dist/build/tmp/hsc2hs -hisuf hi
> -osuf  o -hcsuf hc -static  -O0 -H64m -Wall   -package-db
> libraries/bootstrapping.conf  -hide-all-packages -i -iutils/hsc2hs/.
> -iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build
> -iutils/hsc2hs/dist/build/hsc2hs/autogen
> -Iutils/hsc2hs/dist/build/hsc2hs/autogen     -optP-include
> -optPutils/hsc2hs/dist/build/hsc2hs/autogen/cabal_macros.h -package-id
> base-4.9.0.0 -package-id containers-0.5.7.1 -package-id
> directory-1.2.6.2 -package-id filepath-1.4.1.0 -package-id
> process-1.4.2.0 -XHaskell2010  -no-user-package-db -rtsopts       -odir
> utils/hsc2hs/dist/build -hidir utils/hsc2hs/dist/build -stubdir
> utils/hsc2hs/dist/build    -optl-z -optlwxneeded -static  -O0 -H64m
> -Wall   -package-db libraries/bootstrapping.conf  -hide-all-packages -i
> -iutils/hsc2hs/. -iutils/hsc2hs/dist/build -Iutils/hsc2hs/dist/build
> -iutils/hsc2hs/dist/build/hsc2hs/autogen
> -Iutils/hsc2hs/dist/build/hsc2hs/autogen     -optP-include
> -optPutils/hsc2hs/dist/build/hsc2hs/autogen/cabal_macros.h -package-id
> base-4.9.0.0 -package-id containers-0.5.7.1 -package-id
> directory-1.2.6.2 -package-id filepath-1.4.1.0 -package-id
> process-1.4.2.0 -XHaskell2010  -no-user-package-db -rtsopts
> utils/hsc2hs/dist/build/Main.o utils/hsc2hs/dist/build/C.o
> utils/hsc2hs/dist/build/Common.o utils/hsc2hs/dist/build/CrossCodegen.o
> utils/hsc2hs/dist/build/DirectCodegen.o utils/hsc2hs/dist/build/Flags.o
> utils/hsc2hs/dist/build/HSCParser.o
> utils/hsc2hs/dist/build/UtilsCodegen.o
> utils/hsc2hs/dist/build/Paths_hsc2hs.o
>
> <no location info>: error:
>      Warning: Couldn't figure out linker information!
>               Make sure you're using GNU ld, GNU gold or the built in OS
> X linker, etc.
> cc: wxneeded: No such file or directory
> `cc' failed in phase `Linker'. (Exit code: 1)
> compiler/ghc.mk:580 <http://ghc.mk:580>:
> compiler/stage1/build/.depend-v.haskell: No such file or directory
> gmake[1]: *** [utils/hsc2hs/ghc.mk:15 <http://ghc.mk:15>:
> utils/hsc2hs/dist/build/tmp/hsc2hs] Error 1
> gmake: *** [Makefile:125: all] Error 2
>
>
>
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
>



More information about the ghc-devs mailing list