Skip to content

Exception chaining not implemented on Win64  #463

Closed
@dymk

Description

@dymk

Building on Windows 7, using LLVM ~master and LDC ~master, using this patch for LLVM.

D@D-Main ~/Code/D/tdpl
$ cat helloworld.d
import std.stdio;
void main() {
        writeln("Hello, world!");
}

D@D-Main ~/Code/D/tdpl
$ ldmd2 helloworld.d
phobos-ldc.lib(thread.obj) : error LNK2001: unresolved external symbol _d_eh_handle_collision
phobos-ldc.lib(gcx.obj) : error LNK2001: unresolved external symbol _d_eh_handle_collision
phobos-ldc.lib(stacktrace.obj) : error LNK2001: unresolved external symbol _d_eh_handle_collision
phobos-ldc.lib(demangle.obj) : error LNK2019: unresolved external symbol _d_eh_handle_collision referenced in function _D4core8demangle8Demangle17parseTypeFunctionMFAaE4core8demangle8Demangle10IsDelegateZAa
phobos-ldc.lib(dmain2.obj) : error LNK2001: unresolved external symbol _d_eh_handle_collision
phobos-ldc.lib(stdio.obj) : error LNK2001: unresolved external symbol _d_eh_handle_collision
phobos-ldc.lib(lifetime.obj) : error LNK2001: unresolved external symbol _d_eh_handle_collision
phobos-ldc.lib(object_.obj) : error LNK2001: unresolved external symbol _d_eh_handle_collision
helloworld.exe : fatal error LNK1120: 1 unresolved externals
Error: c:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\link.exe failed with status: 1120

Probably related to the LLVM patch, as this linker error didn't exist when it wasn't used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions