D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 14291 - Druntime master no longer builds
Summary: Druntime master no longer builds
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: druntime (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 regression
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2015-03-16 09:15 UTC by Vladimir Panteleev
Modified: 2015-03-19 14:15 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Vladimir Panteleev 2015-03-16 09:15:38 UTC
I get this when trying to do a clean full build of dlang.org:

../druntime/src/rt/lifetime.d(286): Error: pure function 'rt.lifetime.__setArrayAllocLength' cannot call impure function 'core.atomic.cas!(ubyte, ubyte, ubyte).cas'
../druntime/src/rt/lifetime.d(317): Error: pure function 'rt.lifetime.__setArrayAllocLength' cannot call impure function 'core.atomic.cas!(ushort, ushort, ushort).cas'
../druntime/src/rt/lifetime.d(348): Error: pure function 'rt.lifetime.__setArrayAllocLength' cannot call impure function 'core.atomic.cas!(ulong, ulong, ulong).cas'

Looking at git blame, this was possibly introduced in 34693f48db9c49879c53e451a899f305f7600ff3:
https://github.com/D-Programming-Language/druntime/pull/1187
Comment 1 Vladimir Panteleev 2015-03-19 14:15:51 UTC
https://github.com/D-Programming-Language/druntime/pull/1191