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

syntax error and warning from packagecompiling CodecZlib #360

Closed
jaakkor2 opened this issue Mar 1, 2020 · 3 comments
Closed

syntax error and warning from packagecompiling CodecZlib #360

jaakkor2 opened this issue Mar 1, 2020 · 3 comments

Comments

@jaakkor2
Copy link
Contributor

jaakkor2 commented Mar 1, 2020

With precompile.jl just one line

using CodecZlib

prints out

julia> create_sysimage([:CodecZlib], sysimage_path="sys_loaders.so", precompile_execution_file="precompile.jl")
[ Info: PackageCompiler: creating system image object file, this might take a while...
C:/Users/jr/.julia/artifacts/572b61b5075459e3ed62317e674398166ca98dd4/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: <unknown-file>:0: syntax error
Warning: .drectve `-export:ccalllib_libz-1.2.11.dll26928,data ' unrecognized

with

julia> versioninfo()
Julia Version 1.4.0-rc2.0
Commit b99ed72c95 (2020-02-24 16:51 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 4

and CodecZlib v0.6.0, PackageCompiler v1.0.2.

@KristofferC
Copy link
Member

This is a Julia bug and will be fixed in Julia 1.4 which is coming out soon.

@jaakkor2
Copy link
Contributor Author

jaakkor2 commented Mar 5, 2020

I just verified that I get the error with

julia> VERSION
v"1.4.0-rc2.0"

thus the fix ( JuliaLang/julia#34754 ? ) is not completely effective.

@KristofferC
Copy link
Member

Thanks, seems #365 covers this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants