Simon Peyton Jones via ghc-devs <ghc-devs@haskell.org> writes: > 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@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) > This is due to Peter Trommler's D4009 (bd765f4b1332b3d2a7908de3f9ff1d50da0e0b1d). This changes the atomic primops to use new GCC builtins available only in GCC 4.7 and later. This version was released in 2012, so I thought we would be fairly safe requiring it. This is another case where upgrading your Ubuntu installation will help. That being said, we should certainly provide a better error message, perhaps catching this in `configure` instead of failing during the build.
We could also provide a fallback in the event that we are compiling with an older gcc, although I'm not sure that this is worth the effort. Cheers, - Ben
signature.asc
Description: PGP signature
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs