Issue 20327 - [REG 2.089 beta] undefined reference to « core.thread.Thread.__Class »
Summary: [REG 2.089 beta] undefined reference to « core.thread.Thread.__Class »
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: x86_64 Linux
: P1 regression
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-27 12:49 UTC by basile-z
Modified: 2019-10-27 14:13 UTC (History)
1 user (show)

See Also:


Attachments
zipped folder to run the command in (158.78 KB, application/zip)
2019-10-27 12:52 UTC, basile-z
Details

Note You need to log in before you can comment on or make changes to this issue.
Description basile-z 2019-10-27 12:49:01 UTC
in the provided folder run 

   $ dub test --force

to see a bunch of undefined reference when linking. Worked until 2.088.1.
Comment 1 basile-z 2019-10-27 12:52:41 UTC
Created attachment 1766 [details]
zipped folder to run the command in
Comment 2 kinke 2019-10-27 13:21:22 UTC
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 kinke 2019-10-27 13:24:24 UTC
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 basile-z 2019-10-27 14:13:21 UTC
yeah it was almost that. I usually install using rpm directly so old sources were still in usr/include/dmd