JuliaLinearAlgebra / MatrixDepot.jl

An Extensible Test Matrix Collection for Julia
http://matrixdepotjl.readthedocs.org/
Other
75 stars 22 forks source link

Static compilation fails on MatrixDepot.jl #23

Closed bmharsha closed 3 years ago

bmharsha commented 8 years ago

I’m trying to create a system image of Julia with MatrixDepot.jl embedded, I encountered following error while building Julia (using release-0.5 branch).

â  make -j 4
    PERL base/version_git.jl.phony
    JULIA usr/lib/julia/sys.o
coreio.jl
exports.jl
essentials.jl
base.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
range.jl
expr.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refpointer.jl
WARNING: Method definition (::Type{#T<:Any})(Any) in module Inference at coreimg.jl:39 overwritten in module Base at sysimg.jl:53.
checked.jl
abstractarray.jl
subarray.jl
array.jl
hashing.jl
rounding.jl
float.jl
complex.jl
rational.jl
multinverses.jl
abstractarraymath.jl
arraymath.jl
float16.jl
simdloop.jl
reduce.jl
reshapedarray.jl
bitarray.jl
intset.jl
dict.jl
set.jl
iterator.jl
build_h.jl
version_git.jl
osutils.jl
c.jl
sysinfo.jl
io.jl
iostream.jl
iobuffer.jl
char.jl
intfuncs.jl
strings/strings.jl
strings/errors.jl
strings/string.jl
strings/types.jl
strings/basic.jl
strings/search.jl
strings/util.jl
strings/io.jl
strings/utf8proc.jl
parse.jl
shell.jl
regex.jl
pcre.jl
show.jl
base64.jl
nullable.jl
version.jl
libc.jl
libdl.jl
env.jl
libuv.jl
uv_constants.jl
event.jl
task.jl
lock.jl
threads.jl
weakkeydict.jl
stream.jl
socket.jl
filesystem.jl
process.jl
multimedia.jl
grisu/grisu.jl
methodshow.jl
floatfuncs.jl
math.jl
cartesian.jl
multidimensional.jl
permuteddimsarray.jl
reducedim.jl
ordering.jl
collections.jl
sort.jl
WARNING: Method definition searchsortedfirst(AbstractArray{T<:Any, 1}, Any) in module Sort at sort.jl:184 overwritten at sort.jl:187.
WARNING: Method definition searchsortedlast(AbstractArray{T<:Any, 1}, Any) in module Sort at sort.jl:184 overwritten at sort.jl:187.
WARNING: Method definition searchsorted(AbstractArray{T<:Any, 1}, Any) in module Sort at sort.jl:184 overwritten at sort.jl:187.
gmp.jl
mpfr.jl
combinatorics.jl
hashing2.jl
dSFMT.jl
random.jl
printf.jl
meta.jl
Enums.jl
serialize.jl
channels.jl
clusterserialize.jl
multi.jl
workerpool.jl
pmap.jl
managers.jl
asyncmap.jl
loading.jl
mmap.jl
sharedarray.jl
datafmt.jl
deepcopy.jl
interactiveutil.jl
replutil.jl
test.jl
i18n.jl
initdefs.jl
Terminals.jl
LineEdit.jl
REPLCompletions.jl
REPL.jl
client.jl
util.jl
linalg/linalg.jl
broadcast.jl
statistics.jl
irrationals.jl
dft.jl
dsp.jl
quadgk.jl
fastmath.jl
libgit2/libgit2.jl
pkg/pkg.jl
stacktraces.jl
profile.jl
dates/Dates.jl
sparse/sparse.jl
threadcall.jl
deprecated.jl
docs/helpdb.jl
docs/helpdb/Base.jl
docs/basedocs.jl
markdown/Markdown.jl
docs/Docs.jl
/home/julia/TopStarredImage/julia/base/precompile.jl
LoadError("sysimg.jl",381,LoadError("/home/julia/TopStarredImage/julia/base/userimg.jl",1,LoadError("/home/julia/TopStarredPackages/v0.5/MatrixDepot/src/MatrixDepot.jl",30,UndefVarError(:uv_evjulia> Pkg.status("OS = Ubuntu 14.04

entloop))))
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [/home/julia/TopStarredImage/julia/usr/lib/julia/sys.o] Error 1
make: *** [julia-sysimg-release] Error 2 

OS = Ubuntu 14.04 MatrixDepot version = 0.5.6

vtjnash commented 8 years ago

Opened an upstream issue: https://github.com/JuliaLang/julia/issues/18792

andreasnoack commented 6 years ago

@bmharsha Have you tried this recently?

bmharsha commented 6 years ago

Have you tried this recently?

I just tried this on the latest tagged version of MatrixDepot.jl over aa/backports-0.6.2 branch on RHEL 7 and encountered following error.

WARNING: deprecated syntax "abstract MatrixGenerator" at /home/julia/.julia/v0.6/MatrixDepot/src/common.jl:312.
Use "abstract type MatrixGenerator end" instead.

WARNING: deprecated syntax "abstract FunctionName<:MatrixGenerator" at /home/julia/.julia/v0.6/MatrixDepot/src/common.jl:313.
Use "abstract type FunctionName<:MatrixGenerator end" instead.

WARNING: deprecated syntax "abstract Group<:MatrixGenerator" at /home/julia/.julia/v0.6/MatrixDepot/src/common.jl:314.
Use "abstract type Group<:MatrixGenerator end" instead.
LoadError("sysimg.jl", 411, LoadError("/home/julia/harsha-julia-062/base/userimg.jl", 1, LoadError("/home/julia/.julia/v0.6/MatrixDepot/src/MatrixDepot.jl", 30, UndefVarError(:uv_eventloop))))
*** This error is usually fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[1]: *** [/home/julia/harsha-julia-062/usr/lib/julia/sys.o] Error 1
make: *** [julia-sysimg-release] Error 2                                                        
KlausC commented 3 years ago

outdated - resolved