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

Can't seem to compile base julia 1.0.2 #154

Closed
rofinn opened this issue Dec 6, 2018 · 8 comments · Fixed by #304
Closed

Can't seem to compile base julia 1.0.2 #154

rofinn opened this issue Dec 6, 2018 · 8 comments · Fixed by #304

Comments

@rofinn
Copy link

rofinn commented Dec 6, 2018

This with julia 1.0.2 compiled from source on amazon linux 2.

julia> using PackageCompiler

julia> compile_package("userimg.jl"; cpu_target="core-avx2")
Launching new julia process to run commands...
┌ Info: Building `inference.o`:
└ `/usr/local/julia/usr/bin/julia -C native --output-ji /root/.julia/dev/PackageCompiler/sysimg/backup/native/basecompiler.ji --output-o /root/.julia/dev/PackageCompiler/sysimg/backup/native/basecompiler.o compiler/compiler.jl`
essentials.jl
some.jl
ctypes.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
pair.jl
traits.jl
range.jl
expr.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refvalue.jl
indices.jl
array.jl
abstractarray.jl
bitarray.jl
bitset.jl
abstractdict.jl
abstractset.jl
iterators.jl
namedtuple.jl
docs/core.jl
ordering.jl
sort.jl
compiler/utilities.jl
compiler/validation.jl
compiler/inferenceresult.jl
compiler/params.jl
compiler/inferencestate.jl
compiler/typeutils.jl
compiler/typelimits.jl
compiler/typelattice.jl
compiler/tfuncs.jl
compiler/abstractinterpretation.jl
compiler/typeinfer.jl
compiler/optimize.jl
compiler/ssair/driver.jl
compiler/ssair/ir.jl
compiler/ssair/domtree.jl
compiler/ssair/slot2ssa.jl
compiler/ssair/queries.jl
compiler/ssair/passes.jl
compiler/ssair/inlining.jl
compiler/ssair/verify.jl
compiler/ssair/legacy.jl
compiler/bootstrap.jl
┌ Info: Building `sys.o`:
└ `/usr/local/julia/usr/bin/julia -C native --output-ji /root/.julia/dev/PackageCompiler/sysimg/backup/native/sys.ji --output-o /root/.julia/dev/PackageCompiler/sysimg/backup/native/sys.o -J /root/.julia/dev/PackageCompiler/sysimg/backup/native/basecompiler.ji --startup-file=no sysimg.jl`
coreio.jl
exports.jl
essentials.jl
ctypes.jl
gcutils.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
pair.jl
traits.jl
range.jl
expr.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refvalue.jl
refpointer.jl
checked.jl
indices.jl
array.jl
abstractarray.jl
subarray.jl
views.jl
abstractdict.jl
iterators.jl
namedtuple.jl
hashing.jl
rounding.jl
float.jl
twiceprecision.jl
complex.jl
rational.jl
multinverses.jl
abstractarraymath.jl
arraymath.jl
simdloop.jl
reduce.jl
reshapedarray.jl
reinterpretarray.jl
bitarray.jl
bitset.jl
some.jl
dict.jl
abstractset.jl
set.jl
char.jl
strings/basic.jl
strings/string.jl
strings/substring.jl
build_h.jl
error during bootstrap:

rec_backtrace at /usr/local/julia/src/stackwalk.c:94
record_backtrace at /usr/local/julia/src/task.c:246
jl_throw at /usr/local/julia/src/task.c:577
jl_errorf at /usr/local/julia/src/rtutils.c:77
jl_load at /usr/local/julia/src/toplevel.c:837
include at ./boot.jl:317 [inlined]
_include1 at ./sysimg.jl:48
include at ./sysimg.jl:36
jl_apply_generic at /usr/local/julia/src/gf.c:2184
do_call at /usr/local/julia/src/interpreter.c:324
eval_value at /usr/local/julia/src/interpreter.c:430
eval_stmt_value at /usr/local/julia/src/interpreter.c:363 [inlined]
eval_body at /usr/local/julia/src/interpreter.c:682
jl_interpret_toplevel_thunk_callback at /usr/local/julia/src/interpreter.c:806
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7fac7b3a1d6f)
unknown function (ip: 0x9)
jl_interpret_toplevel_thunk at /usr/local/julia/src/interpreter.c:815
jl_toplevel_eval_flex at /usr/local/julia/src/toplevel.c:805
jl_eval_module_expr at /usr/local/julia/src/toplevel.c:232
jl_toplevel_eval_flex at /usr/local/julia/src/toplevel.c:655
jl_parse_eval_all at /usr/local/julia/src/ast.c:838
jl_load at /usr/local/julia/src/toplevel.c:839
exec_program at /usr/local/julia/ui/repl.c:36
true_main at /usr/local/julia/ui/repl.c:124
main at /usr/local/julia/ui/repl.c:233
__libc_start_main at /lib64/libc.so.6 (unknown line)
_start at /usr/local/julia/usr/bin/julia (unknown line)

ERROR: failed process: Process(`/usr/local/julia/usr/bin/julia -C native --output-ji /root/.julia/dev/PackageCompiler/sysimg/backup/native/sys.ji --output-o /root/.julia/dev/PackageCompiler/sysimg/backup/native/sys.o -J /root/.julia/dev/PackageCompiler/sysimg/backup/native/basecompiler.ji --startup-file=no sysimg.jl`, ProcessExited(1)) [1]
Stacktrace:
 [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
 [2] pipeline_error at ./process.jl:705 [inlined]
 [3] #run#504(::Bool, ::Function, ::Cmd) at ./process.jl:663
 [4] run at ./process.jl:661 [inlined]
 [5] macro expansion at ./logging.jl:308 [inlined]
 [6] (::getfield(PackageCompiler, Symbol("##32#33")){Bool,String})() at /root/.julia/dev/PackageCompiler/src/system_image.jl:38
 [7] cd(::getfield(PackageCompiler, Symbol("##32#33")){Bool,String}, ::String) at ./file.jl:96
 [8] #compile_system_image#31(::Bool, ::Function, ::String, ::String) at /root/.julia/dev/PackageCompiler/src/system_image.jl:15
 [9] #compile_system_image at ./none:0 [inlined]
 [10] get_backup!(::Bool, ::Nothing) at /root/.julia/dev/PackageCompiler/src/system_image.jl:63
 [11] snoop_vanilla(::Array{String,1}, ::String, ::Expr, ::String) at /root/.julia/dev/PackageCompiler/src/snooping.jl:14
 [12] snoop(::String, ::String, ::String, ::Array{Pair{String,String},1}, ::Array{String,1}) at /root/.julia/dev/PackageCompiler/src/snooping.jl:39
 [13] (::getfield(PackageCompiler, Symbol("##25#28")))(::Tuple{String,String}) at /root/.julia/dev/PackageCompiler/src/snooping.jl:65
 [14] map at ./tuple.jl:162 [inlined]
 [15] snoop_userimg at /root/.julia/dev/PackageCompiler/src/snooping.jl:54 [inlined]
 [16] #compile_package#39(::Bool, ::Bool, ::Bool, ::String, ::Function, ::Tuple{String,String}) at /root/.julia/dev/PackageCompiler/src/PackageCompiler.jl:105
 [17] #compile_package at ./none:0 [inlined]
 [18] #compile_package#36 at /root/.julia/dev/PackageCompiler/src/PackageCompiler.jl:92 [inlined]
 [19] (::getfield(PackageCompiler, Symbol("#kw##compile_package")))(::NamedTuple{(:cpu_target,),Tuple{String}}, ::typeof(compile_package), ::String) at ./none:0
 [20] top-level scope at none:0

This happens on master and the latest release. It seems to be failing on base julia code, which would explain why it doesn't matter which files and/or packages I pass in. It also looks like my cpu_target is being ignored.

@SimonDanisch
Copy link
Collaborator

It seems like you're using this wrong...
compile_package is supposed to compile - a package! ;)
I just tried this on 1.0.2 and it seems to work fine:

open(io-> println(io, "1+ 1"), "test.jl", "w")
PackageCompiler.build_sysimg(".", pwd()*"/test.jl", cpu_target = "core-avx2")

which generates the sysimages files in the current folder!

@rofinn
Copy link
Author

rofinn commented Dec 6, 2018

I don't think that was the issue because I can reproduce it with your snippet.

julia> using PackageCompiler

julia> open(io-> println(io, "1+ 1"), "test.jl", "w")

julia> PackageCompiler.build_sysimg(".", pwd()*"/test.jl", cpu_target = "core-avx2")
┌ Info: Building `inference.o`:
└ `/usr/local/julia/usr/bin/julia -C core-avx2 --output-ji /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/basecompiler.ji --output-o /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/basecompiler.o compiler/compiler.jl`
essentials.jl
some.jl
ctypes.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
pair.jl
traits.jl
range.jl
expr.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refvalue.jl
indices.jl
array.jl
abstractarray.jl
bitarray.jl
bitset.jl
abstractdict.jl
abstractset.jl
iterators.jl
namedtuple.jl
docs/core.jl
ordering.jl
sort.jl
compiler/utilities.jl
compiler/validation.jl
compiler/inferenceresult.jl
compiler/params.jl
compiler/inferencestate.jl
compiler/typeutils.jl
compiler/typelimits.jl
compiler/typelattice.jl
compiler/tfuncs.jl
compiler/abstractinterpretation.jl
compiler/typeinfer.jl
compiler/optimize.jl
compiler/ssair/driver.jl
compiler/ssair/ir.jl
compiler/ssair/domtree.jl
compiler/ssair/slot2ssa.jl
compiler/ssair/queries.jl
compiler/ssair/passes.jl
compiler/ssair/inlining.jl
compiler/ssair/verify.jl
compiler/ssair/legacy.jl
compiler/bootstrap.jl
┌ Info: Building `sys.o`:
└ `/usr/local/julia/usr/bin/julia -C core-avx2 --output-ji /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/sys.ji --output-o /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/sys.o -J /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/basecompiler.ji --startup-file=no sysimg.jl`
coreio.jl
exports.jl
essentials.jl
ctypes.jl
gcutils.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
pair.jl
traits.jl
range.jl
expr.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refvalue.jl
refpointer.jl
checked.jl
indices.jl
array.jl
abstractarray.jl
subarray.jl
views.jl
abstractdict.jl
iterators.jl
namedtuple.jl
hashing.jl
rounding.jl
float.jl
twiceprecision.jl
complex.jl
rational.jl
multinverses.jl
abstractarraymath.jl
arraymath.jl
simdloop.jl
reduce.jl
reshapedarray.jl
reinterpretarray.jl
bitarray.jl
bitset.jl
some.jl
dict.jl
abstractset.jl
set.jl
char.jl
strings/basic.jl
strings/string.jl
strings/substring.jl
build_h.jl
error during bootstrap:

rec_backtrace at /usr/local/julia/src/stackwalk.c:94
record_backtrace at /usr/local/julia/src/task.c:246
jl_throw at /usr/local/julia/src/task.c:577
jl_errorf at /usr/local/julia/src/rtutils.c:77
jl_load at /usr/local/julia/src/toplevel.c:837
include at ./boot.jl:317 [inlined]
_include1 at ./sysimg.jl:48
include at ./sysimg.jl:36
jl_apply_generic at /usr/local/julia/src/gf.c:2184
do_call at /usr/local/julia/src/interpreter.c:324
eval_value at /usr/local/julia/src/interpreter.c:430
eval_stmt_value at /usr/local/julia/src/interpreter.c:363 [inlined]
eval_body at /usr/local/julia/src/interpreter.c:682
jl_interpret_toplevel_thunk_callback at /usr/local/julia/src/interpreter.c:806
unknown function (ip: 0xfffffffffffffffe)
unknown function (ip: 0x7fe508fc913f)
unknown function (ip: 0x9)
jl_interpret_toplevel_thunk at /usr/local/julia/src/interpreter.c:815
jl_toplevel_eval_flex at /usr/local/julia/src/toplevel.c:805
jl_eval_module_expr at /usr/local/julia/src/toplevel.c:232
jl_toplevel_eval_flex at /usr/local/julia/src/toplevel.c:655
jl_parse_eval_all at /usr/local/julia/src/ast.c:838
jl_load at /usr/local/julia/src/toplevel.c:839
exec_program at /usr/local/julia/ui/repl.c:36
true_main at /usr/local/julia/ui/repl.c:124
main at /usr/local/julia/ui/repl.c:233
__libc_start_main at /lib64/libc.so.6 (unknown line)
_start at /usr/local/julia/usr/bin/julia (unknown line)

ERROR: failed process: Process(`/usr/local/julia/usr/bin/julia -C core-avx2 --output-ji /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/sys.ji --output-o /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/sys.o -J /root/.julia/dev/PackageCompiler/sysimg/backup/core-avx2/basecompiler.ji --startup-file=no sysimg.jl`, ProcessExited(1)) [1]
Stacktrace:
 [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
 [2] pipeline_error at ./process.jl:705 [inlined]
 [3] #run#504(::Bool, ::Function, ::Cmd) at ./process.jl:663
 [4] run at ./process.jl:661 [inlined]
 [5] macro expansion at ./logging.jl:308 [inlined]
 [6] (::getfield(PackageCompiler, Symbol("##32#33")){Bool,String})() at /root/.julia/dev/PackageCompiler/src/system_image.jl:38
 [7] cd(::getfield(PackageCompiler, Symbol("##32#33")){Bool,String}, ::String) at ./file.jl:96
 [8] #compile_system_image#31(::Bool, ::Function, ::String, ::String) at /root/.julia/dev/PackageCompiler/src/system_image.jl:15
 [9] #compile_system_image at ./none:0 [inlined]
 [10] get_backup!(::Bool, ::String) at /root/.julia/dev/PackageCompiler/src/system_image.jl:63
 [11] #build_sysimg#20(::Bool, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::String, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(PackageCompiler.build_sysimg), ::String, ::String) at /root/.julia/dev/PackageCompiler/src/api.jl:24
 [12] (::getfield(PackageCompiler, Symbol("#kw##build_sysimg")))(::NamedTuple{(:cpu_target,),Tuple{String}}, ::typeof(PackageCompiler.build_sysimg), ::String, ::String) at ./none:0
 [13] top-level scope at none:0

Was your local julia version compiled from source?

@SimonDanisch
Copy link
Collaborator

Well, that's annoying ;)

Was your local julia version compiled from source?

No it wasn't...

@SimonDanisch SimonDanisch reopened this Dec 6, 2018
@rofinn
Copy link
Author

rofinn commented Dec 6, 2018

Hmmm, is it possible that the compiler/compiler.jl file depends on some dependencies that are bundled with the binary releases? We do appear to be running git clean -dxf -e julia -e usr -e stdlib -e Make.user after compilation to reduce our build size.

@arnavs
Copy link

arnavs commented Mar 21, 2019

I'm seeing something similar. This is from running compile_incremental(:Expectations)

ERROR: failed process: Process(`/Applications/Julia-1.1.app/Contents/Resources/julia/bin/julia --optimize=3 --output-o=/Users/arnavsood/.julia/packages/PackageCompiler/oT98U/sysimg/sys.a -g1 --track-allocation=none --startup-file=no --code-coverage=none --history-file=yes --inline=yes --math-mode=ieee --handle-signals=yes --warn-overwrite=no --compile=yes --depwarn=yes --cpu-target=native --track-allocation=none --sysimage-native-code=yes --sysimage=/Applications/Julia-1.1.app/Contents/Resources/julia/lib/julia/sys.dylib -g1 --compiled-modules=yes --optimize=2 /Users/arnavsood/.julia/packages/PackageCompiler/oT98U/sysimg/run_julia_code.jl`, ProcessExited(1)) [1]

My setup is:

julia> versioninfo()
Julia Version 1.1.0
Commit 80516ca202 (2019-01-21 21:24 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin14.5.0)
  CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)

@SimonDanisch
Copy link
Collaborator

can you paste the whole error?

@GantZA
Copy link

GantZA commented Jun 9, 2019

EDIT: Fixed by adding the master version of PackageCompiler.jl
either ] dev PackageCompiler or ] add PackageCompiler#master

I'm getting a similar error when I try to compile my own package. I see that there is a Snoop warning, does this mean I need to write unit tests?

Anyway, my setup is:

Julia Version 1.1.1
Commit 55e36cc308 (2019-05-16 04:10 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_EDITOR = atom  -a
  JULIA_NUM_THREADS = 2

and the code I ran is:

PackageCompiler.compiler_package("LatentOrderBookModel")

and the error is:

Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
 Resolving package versions...
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/LatentOrderBookModel/Project.toml`
  [c7e460c6] + ArgParse v0.6.2
  [31c24e10] + Distributions v0.20.0
  [37e2e46d] + LinearAlgebra 
  [9a3f8284] + Random 
  [10745b16] + Statistics 
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/LatentOrderBookModel/Manifest.toml`
  [c7e460c6] + ArgParse v0.6.2
  [7d9fca2a] + Arpack v0.3.1
  [9e28174c] + BinDeps v0.8.10
  [b99e7846] + BinaryProvider v0.5.4
  [34da2185] + Compat v2.1.0
  [864edb3b] + DataStructures v0.15.0
  [31c24e10] + Distributions v0.20.0
  [e1d29d7a] + Missings v0.4.1
  [bac558e1] + OrderedCollections v1.1.0
  [90014a1f] + PDMats v0.9.7
  [1fd47b50] + QuadGK v2.0.4
  [79098fc4] + Rmath v0.5.0
  [a2af1166] + SortingAlgorithms v0.3.1
  [276daf66] + SpecialFunctions v0.7.2
  [2913bbd2] + StatsBase v0.30.0
  [4c63d2b9] + StatsFuns v0.8.0
  [b718987f] + TextWrap v0.3.0
  [30578b45] + URIParser v0.4.0
  [2a0f44e3] + Base64 
  [ade2ca70] + Dates 
  [8bb1440f] + DelimitedFiles 
  [8ba89e20] + Distributed 
  [b77e0a4c] + InteractiveUtils 
  [76f85450] + LibGit2 
  [8f399da3] + Libdl 
  [37e2e46d] + LinearAlgebra 
  [56ddb016] + Logging 
  [d6f4376e] + Markdown 
  [a63ad114] + Mmap 
  [44cfe95a] + Pkg 
  [de0858da] + Printf 
  [3fa0cd96] + REPL 
  [9a3f8284] + Random 
  [ea8e919c] + SHA 
  [9e88b42a] + Serialization 
  [1a1011a3] + SharedArrays 
  [6462fe0b] + Sockets 
  [2f01184e] + SparseArrays 
  [10745b16] + Statistics 
  [4607b0f0] + SuiteSparse 
  [8dfed614] + Test 
  [cf7118a7] + UUIDs 
  [4ec0a83e] + Unicode 
 Resolving package versions...
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/LatentOrderBookModel/Project.toml`
  [9b87118b] + PackageCompiler v0.6.3
  [44cfe95a] + Pkg 
  Updating `~/.julia/packages/PackageCompiler/oT98U/packages/LatentOrderBookModel/Manifest.toml`
  [e1450e63] + BufferedStreams v1.0.0
  [0862f596] + HTTPClient v0.2.1
  [b27032c2] + LibCURL v0.5.1
  [522f3ed2] + LibExpat v0.5.0
  [2ec943e9] + Libz v1.0.0
  [9b87118b] + PackageCompiler v0.6.3
  [c17dfb99] + WinRPM v0.4.2
[ Info: activating new environment at ~/.julia/packages/PackageCompiler/oT98U/packages/LatentOrderBookModel/Project.toml.
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
┌ Warning: Snoop file errored. Precompile statements were recorded untill error!
│   exception = could not open file /home/michael/Documents/UCT 2019/dissertation/LatentOrderBookModel.jl/test/runtests.jl
└ @ Main ~/.julia/packages/PackageCompiler/oT98U/sysimg/run_julia_code.jl:12
[ Info: used 82 out of 82 precompile statements
Julia program file:
  "/home/michael/.julia/packages/PackageCompiler/oT98U/sysimg/precompile.jl"
Build directory:
  "/home/michael/.julia/packages/PackageCompiler/oT98U/sysimg"
┌ Info: activating new environment at ~/.julia/packages/PackageCompiler/oT98U/packages/Project.toml.
└ @ Pkg.API /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.1/Pkg/src/API.jl:524
  Updating registry at `~/.julia/registries/General`
  Updating git-repo `https://github.com/JuliaRegistries/General.git`
fatal: error thrown and no exception handler available.
ErrorException("Task cannot be serialized")
rec_backtrace at /buildworker/worker/package_linux64/build/src/stackwalk.c:94
record_backtrace at /buildworker/worker/package_linux64/build/src/task.c:217 [inlined]
jl_throw at /buildworker/worker/package_linux64/build/src/task.c:417
jl_error at /buildworker/worker/package_linux64/build/src/rtutils.c:41
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:294
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:286
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/julia.h:915 [inlined]
jl_serialize_module at /buildworker/worker/package_linux64/build/src/staticdata.c:230 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:291
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/julia.h:915 [inlined]
jl_serialize_module at /buildworker/worker/package_linux64/build/src/staticdata.c:230 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:291
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/julia.h:915 [inlined]
jl_serialize_module at /buildworker/worker/package_linux64/build/src/staticdata.c:222 [inlined]
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:291
jl_serialize_value_ at /buildworker/worker/package_linux64/build/src/staticdata.c:337 [inlined]
jl_save_system_image_to_stream at /buildworker/worker/package_linux64/build/src/staticdata.c:1273
jl_create_system_image at /buildworker/worker/package_linux64/build/src/staticdata.c:1378
jl_write_compiler_output at /buildworker/worker/package_linux64/build/src/precompile.c:76
jl_atexit_hook at /buildworker/worker/package_linux64/build/src/init.c:222
main at /buildworker/worker/package_linux64/build/ui/repl.c:218
__libc_start_main at /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
_start at /home/michael/julia-1.1.1/bin/julia (unknown line)
ERROR: failed process: Process(`/home/michael/julia-1.1.1/bin/julia --sysimage=/home/michael/.julia/packages/PackageCompiler/oT98U/sysimg/backup/native/sys.so --output-o=sys.a --track-allocation=none --code-coverage=none --history-file=yes --inline=yes --math-mode=ieee --compile=yes --track-allocation=none --sysimage-native-code=yes --sysimage=/home/michael/julia-1.1.1/lib/julia/sys.so --compiled-modules=yes --optimize=2 /home/michael/.julia/packages/PackageCompiler/oT98U/sysimg/run_julia_code.jl`, ProcessExited(1)) [1]
Stacktrace:
 [1] error(::String, ::Base.Process, ::String, ::Int64, ::String) at ./error.jl:42
 [2] pipeline_error at ./process.jl:785 [inlined]
 [3] #run#515(::Bool, ::Function, ::Cmd) at ./process.jl:726
 [4] run at ./process.jl:724 [inlined]
 [5] #run_julia#1 at /home/michael/.julia/packages/PackageCompiler/oT98U/src/compiler_flags.jl:225 [inlined]
 [6] #run_julia at ./none:0 [inlined]
 [7] (::getfield(PackageCompiler, Symbol("##13#14")){Base.Iterators.Pairs{Symbol,Any,NTuple{14,Symbol},NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode),Tuple{String,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing}}},String})() at /home/michael/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:262
 [8] cd(::getfield(PackageCompiler, Symbol("##13#14")){Base.Iterators.Pairs{Symbol,Any,NTuple{14,Symbol},NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode),Tuple{String,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing}}},String}, ::String) at ./file.jl:96
 [9] #build_object#12(::Base.Iterators.Pairs{Symbol,Any,NTuple{14,Symbol},NamedTuple{(:sysimage, :startup_file, :handle_signals, :sysimage_native_code, :compiled_modules, :depwarn, :warn_overwrite, :compile, :cpu_target, :optimize, :debug_level, :inline, :check_bounds, :math_mode),Tuple{String,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing,Nothing}}}, ::Function, ::String, ::String, ::String, ::Bool) at /home/michael/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:261
 [10] #build_object at ./none:0 [inlined]
 [11] build_object(::String, ::String, ::String, ::Bool, ::String, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing) at /home/michael/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:240
 [12] #static_julia#5(::Nothing, ::Bool, ::Bool, ::String, ::String, ::Nothing, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Bool, ::Nothing, ::Bool, ::Bool, ::String, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(static_julia), ::String) at /home/michael/.julia/packages/PackageCompiler/oT98U/src/static_julia.jl:161
 [13] #static_julia at ./none:0 [inlined]
 [14] #build_sysimg#29(::Bool, ::Bool, ::Bool, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::Nothing, ::typeof(PackageCompiler.build_sysimg), ::String, ::String) at /home/michael/.julia/packages/PackageCompiler/oT98U/src/api.jl:25
 [15] #build_sysimg at ./none:0 [inlined]
 [16] #compile_package#67(::Bool, ::Bool, ::Bool, ::Nothing, ::Bool, ::Function, ::Tuple{String,String}) at /home/michael/.julia/packages/PackageCompiler/oT98U/src/PackageCompiler.jl:130
 [17] #compile_package#64 at /home/michael/.julia/packages/PackageCompiler/oT98U/src/PackageCompiler.jl:116 [inlined]
 [18] compile_package(::String) at /home/michael/.julia/packages/PackageCompiler/oT98U/src/PackageCompiler.jl:88
 [19] top-level scope at none:0

@andreasnoack
Copy link
Member

I'm hitting this in JuliaLinearAlgebra/MKL.jl#11 with version 0.6.4.

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