D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 10110 - Weird linker crashing
Summary: Weird linker crashing
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: tools (show other issues)
Version: D2
Hardware: x86 Windows
: P2 normal
Assignee: No Owner
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-17 13:37 UTC by NCrashed
Modified: 2020-04-09 04:35 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description NCrashed 2013-05-17 13:37:59 UTC
First file 'main.d':
``
void main() {}
``

Second file 'module1.d':
``
import std.typecons;
enum firstTuple = tuple("a", "b", "c", "d", "f", "g", "k", "m", "n", "s", "p", "i");
enum secondTuple = tuple(tuple("1", "2", "3", "4"));
``

Third file 'module2.d':
``
import std.datetime;
``

Compile command:
``
dmd -gc module2.d module1.d main.d
``

It is adapted code from real project (minimal crash code), x86_64 doesn't crash, but i use GtkD, which uses only x86 runtime gtk.
Comment 1 Kenji Hara 2013-11-25 00:19:38 UTC
With 2.064, linker crash does not occur.
Comment 2 Mathias LANG 2020-04-09 04:35:57 UTC
According to Kenji's comment, this works now. I suppose this was left open because of D1. Closing as "WORKSFORME". If it is not fixed and you still reproduce the error, please open a new issue on Optlink's Github: https://github.com/DigitalMars/optlink/issues