HEADS-UP: Git submodule conversion imminent
Kazu Yamamoto (=?iso-2022-jp?B?GyRCOzNLXE9CSScbKEI=?=)
kazu at iij.ad.jp
Thu Jun 26 01:18:56 UTC 2014
Herbert,
> It's done!
Thanks.
I tried to build GHC HEAD on Mac. I did:
% git clone git://git.haskell.org/ghc.git
% cd ghc
% ./sync-all get
% CPUS=10 sh validate
Unfortunately, I got the following errors:
----
"inplace/bin/ghc-stage1" -optc-m64 -optc-fno-stack-protector -optc-Werror -optc-
Wall -optc-Ilibraries/unix/include -optc-I'/Users/kazu/work/ghc/libraries/time/i
nclude' -optc-I'/Users/kazu/work/ghc/libraries/bytestring/include' -optc-I'/User
s/kazu/work/ghc/libraries/base/include' -optc-I'/Users/kazu/work/ghc/libraries/i
nteger-gmp/include' -optc-I'/Users/kazu/work/ghc/rts/dist/build' -optc-I'/Users/
kazu/work/ghc/includes' -optc-I'/Users/kazu/work/ghc/includes/dist-derivedconsta
nts/header' -optc-Wno-unknown-pragmas -static -H32m -O -Werror -Wall -H64m -O0
-package-name unix-2.7.0.1 -hide-all-packages -i -ilibraries/unix/. -ilibrari
es/unix/dist-install/build -ilibraries/unix/dist-install/build/autogen -Ilibrari
es/unix/dist-install/build -Ilibraries/unix/dist-install/build/autogen -Ilibrari
es/unix/include -optP-include -optPlibraries/unix/dist-install/build/autogen/cabal_macros.h -package base-4.7.1.0 -package bytestring-0.10.4.0 -package time-
1.4.2 -Wall -XHaskell2010 -O2 -O -dcore-lint -fno-warn-deprecated-flags -no-use
r-package-db -rtsopts -c libraries/unix/cbits/dirUtils.c -o libraries/unix/
dist-install/build/cbits/dirUtils.o
libraries/ghc-prim/cbits/atomic.c:108:10:
error: implicit declaration of function '__sync_fetch_and_nand' is invalid
:
libraries/ghc-prim/cbits/atomic.c:108:10:
note: did you mean '__sync_fetch_and_and'?
libraries/ghc-prim/cbits/atomic.c:78:10:
note: '__sync_fetch_and_and' declared here
return __sync_fetch_and_and(x, (StgWord8) val);
^
1 error generated.
----
I think that I could validate GHC HEAD yesterday.
--Kazu
More information about the ghc-devs
mailing list