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

Tests failing on 0.7 nightly #5

Closed
amellnik opened this issue Dec 29, 2017 · 1 comment
Closed

Tests failing on 0.7 nightly #5

amellnik opened this issue Dec 29, 2017 · 1 comment

Comments

@amellnik
Copy link

amellnik commented Dec 29, 2017

Tested on

  • 64 bit julia, 64 bit host
  • 32 bit julia, 64 bit host
  • 32 bit julia, 32 bit host

This might be related to timholy/SnoopCompile.jl#15 which might be some sort of mundane file IO issue.

For the matched ones:

INFO: Linking sys.so
INFO: cc -L/julia/bin/../lib -shared -ljulia -o /root/.julia/v0.7/PackageCompiler/sysimg/sys.so /root/.julia/v0.7/PackageCompiler/sysimg/sys.o
INFO:     Not replacing system image.
    You can start julia with julia -J /root/.julia/v0.7/PackageCompiler/sysimg/sys to load the compiled files.
basic tests: Test Failed at /root/.julia/v0.7/PackageCompiler/test/runtests.jl:16
  Expression: length(readlines(userimg)) > 700
   Evaluated: 2 > 700
Stacktrace:
 [1] macro expansion at /root/.julia/v0.7/PackageCompiler/test/runtests.jl:16 [inlined]
 [2] macro expansion at /buildworker/worker/package_linux32/build/usr/share/julia/site/v0.7/Test/src/Test.jl:964 [inlined]
 [3] top-level scope at /root/.julia/v0.7/PackageCompiler/test/runtests.jl:12

The cross-compiling one had slightly different errors (and maybe this shouldn't be expected to work anyways):

INFO: Linking sys.so
INFO: cc -L/home/alex/julia-nightly-32/bin/../lib -shared -ljulia -o /home/alex/.julia/v0.7/PackageCompiler/sysimg/sys.so /home/alex/.julia/v0.7/PackageCompiler/sysimg/sys.o
/usr/bin/ld: skipping incompatible /home/alex/julia-nightly-32/bin/../lib/libjulia.so when searching for -ljulia
/usr/bin/ld: cannot find -ljulia
collect2: error: ld returned 1 exit status
ERROR: LoadError: failed process: Process(`cc -L/home/alex/julia-nightly-32/bin/../lib -shared -ljulia -o /home/alex/.julia/v0.7/PackageCompiler/sysimg/sys.so /home/alex/.julia/v0.7/PackageCompiler/sysimg/sys.o`, ProcessExited(1)) [1]
Stacktrace:
 [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:44
 [2] pipeline_error(::Base.Process) at ./process.jl:704
 [3] run(::Cmd) at ./process.jl:666
 [4] link_sysimg(::String, ::String, ::Bool) at /home/alex/.julia/v0.7/PackageCompiler/src/build_sysimg.jl:119
 [5] (::getfield(PackageCompiler, Symbol("##2#3")){Bool,String,String,String,String})() at /home/alex/.julia/v0.7/PackageCompiler/src/build_sysimg.jl:91
 [6] cd(::getfield(PackageCompiler, Symbol("##2#3")){Bool,String,String,String,String}, ::String) at ./file.jl:70
 [7] #build_sysimg#1(::Bool, ::Function, ::String, ::String, ::String) at /home/alex/.julia/v0.7/PackageCompiler/src/build_sysimg.jl:59
 [8] build_sysimg at /home/alex/.julia/v0.7/PackageCompiler/src/build_sysimg.jl:58 [inlined]
...
@lucatrv
Copy link
Collaborator

lucatrv commented Sep 30, 2018

Julia v1.0 support added with PR #116

@lucatrv lucatrv closed this as completed Sep 30, 2018
KristofferC added a commit that referenced this issue Feb 9, 2020
* implement support for precompile file
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