[D-runtime] More core stuff broken?
kenji hara
k.hara.pg at gmail.com
Fri Jul 20 00:59:24 PDT 2012
2012/7/20 Jonathan M Davis <jmdavisProg at gmx.com>:
> When I build Phobos (after a fresh build of dmd and druntime), I'm getting a
> whole pile of errors about undefined references from core.memory and
> core.bitop:
>
> generated/linux/debug/64/unittest/std/algorithm.o: In function
> `_D3std5array17__T8AppenderTAyaZ8Appender7reserveMFmZv':
> /home/jmdavis/Programming/github/phobos/std/array.d:2045: undefined reference
> to `_D4core6memory2GC6extendFPvmmZm'
> /home/jmdavis/Programming/github/phobos/std/array.d:2055: undefined reference
> to `_D4core6memory2GC6qallocFmkZS4core6memory8BlkInfo_'
> generated/linux/debug/64/unittest/std/algorithm.o: In function
> `_D3std5array17__T8AppenderTAyaZ8Appender13ensureAddableMFmZv':
> /home/jmdavis/Programming/github/phobos/std/array.d:2102: undefined reference
> to `_D4core6memory2GC6extendFPvmmZm'
> /home/jmdavis/Programming/github/phobos/std/array.d:2114: undefined reference
> to `_D4core6memory2GC6qallocFmkZS4core6memory8BlkInfo_'
> generated/linux/debug/64/unittest/std/algorithm.o: In function
> `_D3std5array17__T8AppenderTAyaZ8Appender11newCapacityFmZm':
> ...
>
> So, it looks like whatever has been going on with all of that of late is still
> broken or broken again.
Is there zombie di modules in your druntime/import directory?
http://d.puremagic.com/issues/show_bug.cgi?id=8394#c3
> I've hit this, too. The problem was a zombie bitop.di in druntime.
> Get rid of the zombie(s): git clean -fxd
> Then rebuild druntime and phobos.
Kenji Hara
More information about the D-runtime
mailing list