← Back to team overview

d-language-packagers team mailing list archive

Tango Containers Won't Link?

 

Hey people

Is there something wrong with the current build?

Anytime I try to use any kind of Tango container the build fails in the link
stage with this message:

ldc Command.d -of command
/usr/lib/d/libtango-ldc.a(tango-core-Memory-release.o): In function
`_D5tango4core6Memory2GC7monitorFDFZvDFiiZvZv':
(.text+0x344): undefined reference to
`_D5tango4core6Memory10gc_monitorFDFZvDFiiZvZv'
collect2: ld returned 1 exit status

This is a simple, simple program.

I've eliminated everything except a single reference to a tango LinkedList.


I've recompiled it with nothing but Stdout("hello world") and that links
fine.

I've also tried creating a single HashMap and that crashed in the same exact
way.

I don't know why it can't find "gc_monitor".

The compile works okay if I force it to compile only.

Either that or I'm too tired to find an obvious bug.

I'm running on Ubuntu 10.04 with the ldc-daily install.

regards

jb in fort collins, co

Follow ups