Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception chaining not implemented on Win64 #463

Closed
dymk opened this issue Sep 1, 2013 · 5 comments
Closed

Exception chaining not implemented on Win64 #463

dymk opened this issue Sep 1, 2013 · 5 comments
Labels

Comments

@dymk
Copy link

dymk commented Sep 1, 2013

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.

@redstar
Copy link
Member

redstar commented Sep 1, 2013

Arrgh. I did not add the new EH collision API to Win64. I just committed a stub which should prevent the link error (but functionality still missing).

@dnadlinger
Copy link
Member

Changed issue title accordingly.

@Trass3r
Copy link
Contributor

Trass3r commented May 11, 2014

Can be closed?

@redstar
Copy link
Member

redstar commented May 13, 2014

No - exception chaining on Windows/SEH is still not implemented.

redstar pushed a commit that referenced this issue Sep 27, 2014
simplify rt.sections_osx.getSection
@redstar
Copy link
Member

redstar commented Oct 21, 2014

Exception chaining is now implemented in master.

@redstar redstar closed this as completed Oct 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants