← Back to team overview

d-language-packagers team mailing list archive

Re: Tango Containers Won't Link?

 

I hunted down the bug:

Here's the link:

http://dsource.org/projects/tango/changeset/5477

At some point they broke the gc-monitor reference.  It wasn't fixed again
until 5477.

Has there not been a successful build at 5477 or later?  I thought it was a
nightly build.

Jim Burnes


On Wed, Jul 14, 2010 at 6:17 PM, Jim Burnes <jvburnes@xxxxxxxxx> wrote:

> 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

References