[D-runtime] Druntime won't build on linux

Walter Bright walter at digitalmars.com
Fri Apr 29 17:15:38 PDT 2011


Looks like the latest core.atomic

../dmd -lib -oflib/libdruntime.a -Xfdruntime.json -m64 -O -release -inline -nofl
oat -w -d -Isrc -Iimport src/object_.d src/core/atomic.d src/core/bitop.d src/co
re/cpuid.d src/core/demangle.d src/core/exception.d src/core/memory.d src/core/r
untime.d src/core/thread.d src/core/time.d src/core/vararg.d src/core/stdc/confi
g.d src/core/stdc/ctype.d src/core/stdc/errno.d src/core/stdc/math.d src/core/st
dc/signal.d src/core/stdc/stdarg.d src/core/stdc/stdio.d src/core/stdc/stdlib.d
src/core/stdc/stdint.d src/core/stdc/stddef.d src/core/stdc/string.d src/core/st
dc/time.d src/core/stdc/wchar_.d src/core/sys/posix/sys/select.d src/core/sys/po
six/sys/socket.d src/core/sys/posix/sys/stat.d src/core/sys/posix/sys/wait.d src
/core/sys/posix/netinet/in_.d src/core/sync/barrier.d src/core/sync/condition.d
src/core/sync/config.d src/core/sync/exception.d src/core/sync/mutex.d src/core/
sync/rwmutex.d src/core/sync/semaphore.d src/gc/gc.d src/gc/gcalloc.d src/gc/gcb
its.d src/gc/gcstats.d src/gc/gcx.d src/rt/aaA.d src/rt/aApply.d src/rt/aApplyR.
d src/rt/adi.d src/rt/alloca.d src/rt/arrayassign.d src/rt/arraybyte.d src/rt/ar
raycast.d src/rt/arraycat.d src/rt/arraydouble.d src/rt/arrayfloat.d src/rt/arra
yint.d src/rt/arrayreal.d src/rt/arrayshort.d src/rt/cast_.d src/rt/cmath2.d src
/rt/cover.d src/rt/critical_.d src/rt/deh2.d src/rt/dmain2.d src/rt/invariant.d
src/rt/invariant_.d src/rt/lifetime.d src/rt/llmath.d src/rt/memory.d src/rt/mem
set.d src/rt/monitor_.d src/rt/obj.d src/rt/qsort.d src/rt/switch_.d src/rt/trac
e.d src/rt/util/console.d src/rt/util/ctype.d src/rt/util/hash.d src/rt/util/str
ing.d src/rt/util/utf.d src/rt/typeinfo/ti_AC.d src/rt/typeinfo/ti_Acdouble.d sr
c/rt/typeinfo/ti_Acfloat.d src/rt/typeinfo/ti_Acreal.d src/rt/typeinfo/ti_Adoubl
e.d src/rt/typeinfo/ti_Afloat.d src/rt/typeinfo/ti_Ag.d src/rt/typeinfo/ti_Aint.
d src/rt/typeinfo/ti_Along.d src/rt/typeinfo/ti_Areal.d src/rt/typeinfo/ti_Ashor
t.d src/rt/typeinfo/ti_byte.d src/rt/typeinfo/ti_C.d src/rt/typeinfo/ti_cdouble.
d src/rt/typeinfo/ti_cfloat.d src/rt/typeinfo/ti_char.d src/rt/typeinfo/ti_creal
.d src/rt/typeinfo/ti_dchar.d src/rt/typeinfo/ti_delegate.d src/rt/typeinfo/ti_d
ouble.d src/rt/typeinfo/ti_float.d src/rt/typeinfo/ti_idouble.d src/rt/typeinfo/
ti_ifloat.d src/rt/typeinfo/ti_int.d src/rt/typeinfo/ti_ireal.d src/rt/typeinfo/
ti_long.d src/rt/typeinfo/ti_ptr.d src/rt/typeinfo/ti_real.d src/rt/typeinfo/ti_
short.d src/rt/typeinfo/ti_ubyte.d src/rt/typeinfo/ti_uint.d src/rt/typeinfo/ti_
ulong.d src/rt/typeinfo/ti_ushort.d src/rt/typeinfo/ti_void.d src/rt/typeinfo/ti
_wchar.d obj/errno_c.o obj/threadasm.o obj/complex.o obj/memory_osx.o
src/object_.d(2296): Error: template core.atomic.atomicOp(string op,T,V1) if (__
traits(compiles,mixin("val" ~ op ~ "newval"))) does not match any function templ
ate declaration
src/object_.d(2296): Error: template core.atomic.atomicOp(string op,T,V1) if (__
traits(compiles,mixin("val" ~ op ~ "newval"))) cannot deduce template function f
rom argument types !("+=")(shared(ulong),ulong)
src/object_.d(2296): Error: template instance errors instantiating template
src/object_.d(2322): Error: template core.atomic.atomicOp(string op,T,V1) if (__
traits(compiles,mixin("val" ~ op ~ "newval"))) does not match any function templ
ate declaration
src/object_.d(2322): Error: template core.atomic.atomicOp(string op,T,V1) if (__
traits(compiles,mixin("val" ~ op ~ "newval"))) cannot deduce template function f
rom argument types !("-=")(shared(ulong),ulong)
src/object_.d(2322): Error: template instance errors instantiating template
make[1]: *** [lib/libdruntime.a] Error 1
make[1]: Leaving directory `/home/walter/cbx/mars/druntime'
make: *** [all] Error 2



More information about the D-runtime mailing list