-
-
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
build fail on windows casued by typo in source code #5426
Comments
Well, for me it fails with
|
I have fixed the build failures, but it still doesn't correctly build the system image for me. Maybe you have better luck. |
Well, let's say I had a different luck. I now get
|
Interesting; we do not see that error in our windows builds. Have you followed everything in the windows README? |
Yes I did (I've been building Julia for almost a year). |
Ok, glad it's working now. |
I have the same issue as joa-quim . Removing llvm does not seem to solve the problem. It fails while compiling src/disasm.o and src/flisp/ |
That usually means your |
Yes I think it has something to do with llvm since initially I got some errors like usr/include/llvm/Object/RelocVisitor.h:203:34: error: 'UINT32_MAX' was not declared in this scope What is dependency walker? |
http://www.dependencywalker.com/ Though first, do you have a |
when I try to lunch usr\bin\llvm-config.exe" using wine I get the error "not supported in 32-bit prefix". Does have something to do with 32bit vs 64 bit wine? I think julia makefile runs wine and not wine64 by default |
Yeah, you really should have mentioned that you're cross-compiling. You need a 64-bit capable version of wine, generally from what I've seen there |
Thanks for your responses: uname -a returns: I dont think wine and wine64 are equivalent |
It may depend on where you got wine from, but most of the 64-bit wine packages and PPA's I've used install the launcher under both |
Hmm, where do I change my wine to wine64? tried both building from source and PPA. Mixed the compilations between these two. Now things might start to make sense. (If building wine from source results into wine->32bit wine64->64bit) Should julia make files use wine64 by default for x86_64? |
Possibly. I'm not surprised that having a mix of built-from-source copies and packaged copies could lead to things not working for 64 bit any more. You can probably get away with just locally changing this line Line 897 in a2c9f69
wine64 .
|
Just cleared ~/.wine/ and removed the compiled from source wine files and everything worked fine if wine is from PPA. |
jl_dll_handle should be jl_dl_handle
prepare_glboal should be prepare_global
$ make
CC src/codegen.o
In file included from intrinsics.cpp:46:0,
from codegen.cpp:615:
ccall.cpp: In function 'llvm::Value* runtime_sym_lookup(llvm::PointerType_, char
*, char_, jl_codectx_t_)':
ccall.cpp:133:18: error: 'jl_dll_handle' was not declared in this scope
libsym = jl_dll_handle;
^
codegen.cpp: In function 'llvm::Value_ emit_expr(jl_value_t_, jl_codectx_t_, boo
l, bool)':
codegen.cpp:2555:64: error: 'prepare_glboal' was not declared in this scope
builder.CreateLoad(prepare_glboal(jlexc_var), true)),
^
Makefile:56: recipe for target 'codegen.o' failed
make[2]: *** [codegen.o] Error 1
Makefile:47: recipe for target 'julia-release' failed
make[1]: *** [julia-release] Error 2
Makefile:36: recipe for target 'release' failed
make: *** [release] Error 2
The text was updated successfully, but these errors were encountered: