[Issue 14291] New: Druntime master no longer builds

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon Mar 16 02:15:38 PDT 2015


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 at puremagic.com
          Reporter: thecybershadow at gmail.com
                CC: code at 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

--


More information about the Digitalmars-d-bugs mailing list