-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
Missing etc.linux.memoryerror.registerMemoryErrorHandler #1915
Comments
|
Thanks, confirmed, it's a more general issue with our CMake script having an outdated whitelist of directories from which the runtime modules are pulled in. I'll work on a more robust black-list approach instead. |
Fixes issue ldc-developers#1915. Using exclusively blacklists and no more whitelists (especially for subdirectories) should be way more robust wrt. future restructurings. I also got rid of obsolete existing blacklist entries and removed a hopefully obsolete workaround wrt. disabling invariants for some parts of druntime.
|
That particular |
|
just run into this, doesn’t seem deprecated yet |
When trying to compile workspace-d with ldc I get this error:
undefined reference to _D3etc5linux11memoryerror26registerMemoryErrorHandlerFZbLDC libs:
nm -D /usr/lib/libldruntime.so | grep registerMemorynm -D /usr/lib/liblphobos2.so | grep registerMemoryDMD libs:
nm -D /usr/lib/libphobos2.so | grep registerMemory 00000000004bd8b8 T _D3etc5linux11memoryerror26registerMemoryErrorHandlerFZb 00000000004bd910 T _D3etc5linux11memoryerror28deregisterMemoryErrorHandlerFZbThe text was updated successfully, but these errors were encountered: