Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Ticket #430 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Tango core (Thread.d) does not work on Posix.

Reported by: Gregor Assigned to: sean
Priority: blocker Milestone: 0.98 RC 2
Component: Core Functionality Version: 0.97 RC1
Keywords: Cc:

Description

Every compilation fails, lacking some symbols because the Tango core depends on a non-core library at link time.

This is the error:

/opt/gdc-tango/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libgphobos.a(Thread.o): In function `thread_entryPoint':
Thread.d:(.text+0x1716): undefined reference to `_D5tango4stdc5posix7pthread15pthread_cleanup6__initZ'
Thread.d:(.text+0x1723): undefined reference to `_D5tango4stdc5posix7pthread15pthread_cleanup6__initZ'
Thread.d:(.text+0x1730): undefined reference to `_D5tango4stdc5posix7pthread15pthread_cleanup6__initZ'
Thread.d:(.text+0x1739): undefined reference to `_D5tango4stdc5posix7pthread15pthread_cleanup6__initZ'
collect2: ld returned 1 exit status

The last working revision is 2075, though 2076 fails for different reasons.

Change History

04/23/07 15:42:56 changed by sean

  • status changed from new to closed.
  • resolution set to fixed.

This should be fixed in changeset [2110]. I have no idea why all of this used to work, and suddenly stopped working when I tried something and then reverted my changes.