Bug 20327 – [REG 2.089 beta] undefined reference to « core.thread.Thread.__Class »

Status
RESOLVED
Resolution
INVALID
Severity
regression
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2019-10-27T12:49:01Z
Last change time
2019-10-27T14:13:21Z
Assigned to
No Owner
Creator
Basile-z

Attachments

IDFilenameSummaryContent-TypeSize
1766iz.zipzipped folder to run the command inapplication/zip162593

Comments

Comment #0 by b2.temp — 2019-10-27T12:49:01Z
in the provided folder run $ dub test --force to see a bunch of undefined reference when linking. Worked until 2.088.1.
Comment #1 by b2.temp — 2019-10-27T12:52:41Z
Created attachment 1766 zipped folder to run the command in
Comment #2 by kinke — 2019-10-27T13:21:22Z
Works fine for me with beta2. Makes sense, as there's no more core.thread.Thread, the class has been moved to core.thread.osthread.Thread, so you're most likely just having an issue with stale objects, or a dub issue, if `--force` isn't working.
Comment #3 by kinke — 2019-10-27T13:24:24Z
Or maybe you just extracted the new DMD archive into an existing directory, so that old imports (core/thread.d) mess up things.
Comment #4 by b2.temp — 2019-10-27T14:13:21Z
yeah it was almost that. I usually install using rpm directly so old sources were still in usr/include/dmd