wilzbach / tools-test

1 stars 0 forks source link

Weird linker crashing #92

Open wilzbach opened 11 years ago

wilzbach commented 11 years ago

Note: the issue was created automatically migrated from https://issues.dlang.org

Original bug ID: BZ#10110 From: NCrashed@gmail.com Reported version: D2 CC: NCrashed@gmail.com

wilzbach commented 11 years ago

Comment author: NCrashed@gmail.com

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.

wilzbach commented 10 years ago

Comment author: Kenji Hara <k.hara.pg@gmail.com>

With 2.064, linker crash does not occur.