www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 14291] New: Druntime master no longer builds

https://issues.dlang.org/show_bug.cgi?id=14291

          Issue ID: 14291
           Summary: Druntime master no longer builds
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: regression
          Priority: P1
         Component: druntime
          Assignee: nobody puremagic.com
          Reporter: thecybershadow gmail.com
                CC: code dawg.eu

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

--
Mar 16 2015