Bug 14291 – Druntime master no longer builds

Status
RESOLVED
Resolution
FIXED
Severity
regression
Priority
P1
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2015-03-16T09:15:00Z
Last change time
2015-03-19T14:15:51Z
Keywords
pull
Assigned to
nobody
Creator
dlang-bugzilla

Comments

Comment #0 by dlang-bugzilla — 2015-03-16T09:15:38Z
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 by dlang-bugzilla — 2015-03-19T14:15:51Z