GHC build broken
Simon Peyton Jones
simonpj at microsoft.com
Mon Nov 6 16:24:57 UTC 2017
ps this Linux box is way behind
gcc --version
gcc (Ubuntu/Linaro 4.6.3-1ubuntu5) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
From: Simon Peyton Jones
Sent: 06 November 2017 16:23
To: ghc-devs at haskell.org
Subject: GHC build broken
Ben: I'm getting this from a clean build on Linux. Any ideas?
I'm up to date on master
git branch -v
data-kind-syntax 4174458178 Add IfacePromotionInfo
* master 436b3ef01e Clean up comments about match algorithm a bit.
tc-untouchables b737a45391 More simplifications to the constraint solver
type-nats 87d2a63b8d [behind 1491] Fix uses of (<=?) as a function to reduce properly.
wip/pattern-synonyms e54d396752 [ahead 6, behind 4569] Comments and tracing only
wip/spj-T13397 43540c8c6b Improve code generation for conditionals
wip/spj-early-inline 8515fcfa91 Mark non-recursive join lambdas as one-shot
simonpj at cam-05-unx:~/code/HEAD/compiler$
Simon
libraries/ghc-prim/cbits/atomic.c:311:54: error:
error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
|
311 | __atomic_store_n((StgWord16 *) x, (StgWord16) val, __ATOMIC_SEQ_CST);
| ^
libraries/ghc-prim/cbits/atomic.c: In function 'hs_atomicwrite32':
make[1]: *** [libraries/ghc-prim/dist-install/build/cbits/atomic.o] Error 1
make[1]: *** Waiting for unfinished jobs....
libraries/ghc-prim/cbits/atomic.c:318:54: error:
error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
|
318 | __atomic_store_n((StgWord32 *) x, (StgWord32) val, __ATOMIC_SEQ_CST);
| ^
libraries/ghc-prim/cbits/atomic.c: In function 'hs_atomicwrite64':
libraries/ghc-prim/cbits/atomic.c:325:54: error:
error: '__ATOMIC_SEQ_CST' undeclared (first use in this function)
|
325 | __atomic_store_n((StgWord64 *) x, (StgWord64) val, __ATOMIC_SEQ_CST);
| ^
libraries/ghc-prim/cbits/atomic.c: In function 'hs_atomicread64':
libraries/ghc-prim/cbits/atomic.c:294:1: error:
error: control reaches end of non-void function [-Werror=return-type]
|
294 | }
| ^
libraries/ghc-prim/cbits/atomic.c: In function 'hs_atomicread32':
libraries/ghc-prim/cbits/atomic.c:287:1: error:
error: control reaches end of non-void function [-Werror=return-type]
|
287 | }
| ^
libraries/ghc-prim/cbits/atomic.c: In function 'hs_atomicread16':
libraries/ghc-prim/cbits/atomic.c:280:1: error:
error: control reaches end of non-void function [-Werror=return-type]
|
280 | }
| ^
libraries/ghc-prim/cbits/atomic.c: In function 'hs_atomicread8':
libraries/ghc-prim/cbits/atomic.c:273:1: error:
error: control reaches end of non-void function [-Werror=return-type]
|
273 | }
| ^
cc1: all warnings being treated as errors
`gcc' failed in phase `C Compiler'. (Exit code: 1)
make[1]: *** [libraries/ghc-prim/dist-install/build/cbits/atomic.dyn_o] Error 1
<<ghc: 14960944 bytes, 10 GCs, 194012/240680 avg/max bytes residency (2 samples), 54M in use, 0.000 INIT (0.000 elapsed), 0.024 MUT (0.187 elapsed), 0.012 GC (0.033 elapsed) :ghc>>
make: *** [all] Error 2
simonpj at cam-05-unx:~/5builds/HEAD$ dirs
~/5builds/HEAD ~/5builds/HEAD/testsuite/tests/typecheck/should_fail
simonpj at cam-05-unx:~/5builds/HEAD$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20171106/7714026a/attachment-0001.html>
More information about the ghc-devs
mailing list