-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Building debug
on Windows fails because it looks for release
libjulia.dll
#6172
Comments
Can confirm. Had noticed that too, easy solution is So, question to @vtjnash or others more knowledgeable than me: should |
We only make one sys.dll, might be good to make two on windows and update dump.c to choose the right one |
Would that require two passes through the whole |
Only the dll is needed twice (you might even be able to just do a binary edit to replace the dll name). But the .bc/.o/.dll are also optional and it can be good to delete it to find strage errors (such as we can't catch asynch math and stack overflow errors in sys.dll) |
I was just about to suggest a patch to the Makefile, but now that I've read the comments on this issue its clear that my approach is not general enough. My thoughts are similar to @tkelman - it's helpful to have a well-defined "manifest" for every build config. Otherwise, significant time can be spent chasing down bugs which appear only in debug or only in release. For me at least, this isn't about "getting it to build" -- that's easy. For me it's about traceability. |
haha Actually, it might be a good idea to link two dll files. Deleting the |
Fixed by #12151. |
make debug
fails because line 76 of the top-levelMakefile
is used for both debug and release but attempts to always link with the release build oflibjulia.dll
. editing that line, I was able to build debug. The julia Makefile is just subtle enough that I'm not going to try to fix this just yet. :)The text was updated successfully, but these errors were encountered: