-
Notifications
You must be signed in to change notification settings - Fork 16
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
Error 168: >64K Global Types #21
Comments
CC @WalterBright |
Moved to bugzilla: |
I got same error when tried compile almost empty app based on hunt-database. Is there any workaround/solution? |
You're probably best off switching to a 64 bit compile with -m64. |
Thank you! |
Sorry I couldn't really fix it. |
This needs to be addressed. Getting same issue with gtkD. \Libs\omf\gtkd.lib(Binding) This is when trying to build gtkD with debugs. Clearly it is a limit issue so it should be an easy fix. It's happening x86 and not x64. It happens when I tried to use the lib in my app. I cannot use x64. |
@Aphexus you can use normal mscoff linking for 32-bit too. With the newest version of dub (2.086), it's even the default. |
I'm getting this error in a mid-sized application (using vibe-d and another internal library of similar size). It appears that this limit is quite easy to reach with moderate template use. The question is if anything can be done about this in the linker, or if this is a fundamental limitation rooted in the object file format.
Message:
optlink/common/errors.asm
Line 1378 in 7c09639
Constant:
optlink/cv/cvtypcon.asm
Line 2819 in 7c09639
The text was updated successfully, but these errors were encountered: