Failure to build on AMD64

Trying to make on an amd64 platform gives, with both gcc & Intel compilers:

error during bootstrap:
LoadError(at "sysimg.jl" line 3: LoadError(at "Base.jl" line 297: LoadError(at "show.jl" line 56:
LoadError(at "show.jl" line 56: MethodError(f=Base.show, args=(Base.GenericIOBuffer{Array{UInt8, 1}}(data=Array{UInt8, (75,)}[0x50, 0x43, 0x52, 0x45, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x20, 0x75, 0x6e, 0x72, 0x65,
0x63, 0x6f, 0x67, 0x6e, 0x69, 0x73, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x2d, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x62, 0x69, 0x74, 0x28, 0x73, 0x29, 0x20, 0x61, 0x74, 0x20, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x20, 0x00], reinit=false, readable=true, writable=true, seekable=true, append=false, size=74, maxsize=9223372036854775807, ptr=75, mark=-1), 0x0000000000000000), world=0x0000000000002fc9)))))
jl_method_error_bare at /work/00434/eijkhout/julia/julia-git/src/gf.c:2204
jl_method_error at /work/00434/eijkhout/julia/julia-git/src/gf.c:2222
jl_lookup_generic_ at /work/00434/eijkhout/julia/julia-git/src/gf.c:3053 [inlined]
ijl_apply_generic at /work/00434/eijkhout/julia/julia-git/src/gf.c:3068
print at ./strings/io.jl:35
unknown function (ip: 0x14f4b590226c)
print_to_string at ./strings/io.jl:148
string at ./strings/io.jl:189 [inlined]

(Can I attach a long log file here? The “upload” button seems to be about something else.)

For super long stuff, you can use the details/summary markdown code.

It works like this:

I don't know Latin, anyhow Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

It’d be most useful if you specify also which options you’re passing to make, either as command line arguments or in the Make.user file, whatever you’re using.

I don’t think Intel compiler is supported, in the source code there are some #ifs checking whether the compiler is gcc or clang, anything else can go wrong. But that leaves us with gcc not working.

For lack of documentation on the possible options I only do make. The Make.user file contains

cat Make.user
prefix=/work/00434/eijkhout/julia/installation-julia-git-milan-gcc11

Let me know if there is a way to get you the whole log output.

As for sharing large logfiles, I don’t run in to that problem much but, some possible options.
I’m assuming that your logfile is really too big for just directly posting here.
* Github gist.
* Pastebin or some other similar site.

Hm. If my log is 3000 lines, pasting it in pastebin is no improvement over pasting it here.

Only 32k charachters allowed so I had to cut the downloads.

In-source build in /work/00434/eijkhout/julia/julia-git
 .. git reset and clean
HEAD is now at d138701e37 Merge pull request #50264 from JuliaLang/kp/fix-full-build
Removing Make.user
Removing base/JuliaSyntax
Removing base/build_h.jl
Removing base/errno_h.jl
Removing base/features_h.jl
Removing base/file_constants.jl
Removing base/pcre_h.jl
Removing base/uv_constants.jl
Removing base/version_git.jl
Removing cli/loader_exe.o
Removing cli/loader_lib.o
Removing cli/loader_trampolines.o
Removing deps/scratch/
Removing deps/srccache/
Removing doc/UnicodeData.txt
Removing doc/_build/
Skipping repository doc/deps/registries/General
Removing doc/deps/packages
Removing doc/deps/clones
Removing doc/deps/compiled
Removing doc/deps/logs
Removing doc/src/NEWS.md
Removing doc/src/stdlib/
Removing julia
Removing src/APInt-C.o
Removing src/aotcompile.o
Removing src/array.o
Removing src/ast.o
Removing src/builtins.o
Removing src/cgmemmgr.o
Removing src/codegen-stubs.o
Removing src/codegen.o
Removing src/coverage.o
Removing src/crc32c.o
Removing src/datatype.o
Removing src/debuginfo.o
Removing src/disasm.o
Removing src/dlload.o
Removing src/flisp/builtins.o
Removing src/flisp/equalhash.o
Removing src/flisp/flisp
Removing src/flisp/flisp.o
Removing src/flisp/flmain.o
Removing src/flisp/iostream.o
Removing src/flisp/julia_extensions.o
Removing src/flisp/libflisp.a
Removing src/flisp/string.o
Removing src/flisp/table.o
Removing src/gc-alloc-profiler.o
Removing src/gc-debug.o
Removing src/gc-heap-snapshot.o
Removing src/gc-pages.o
Removing src/gc-stacks.o
Removing src/gc.o
Removing src/gf.o
Removing src/init.o
Removing src/interpreter.o
Removing src/ircode.o
Removing src/jitlayers.o
Removing src/jl_internal_funcs.inc
Removing src/jl_uv.o
Removing src/jlapi.o
Removing src/jloptions.o
Removing src/jltypes.o
Removing src/julia_flisp.boot
Removing src/julia_flisp.boot.inc
Removing src/julia_version.h
Removing src/llvm-alloc-helpers.o
Removing src/llvm-alloc-opt.o
Removing src/llvm-cpufeatures.o
Removing src/llvm-demote-float16.o
Removing src/llvm-final-gc-lowering.o
Removing src/llvm-gc-invariant-verifier.o
Removing src/llvm-julia-licm.o
Removing src/llvm-late-gc-lowering.o
Removing src/llvm-lower-handlers.o
Removing src/llvm-muladd.o
Removing src/llvm-multiversioning.o
Removing src/llvm-pass-helpers.o
Removing src/llvm-propagate-addrspaces.o
Removing src/llvm-ptls.o
Removing src/llvm-remove-addrspaces.o
Removing src/llvm-remove-ni.o
Removing src/llvm-simdloop.o
Removing src/llvm_api.o
Removing src/method.o
Removing src/module.o
Removing src/opaque_closure.o
Removing src/partr.o
Removing src/pipeline.o
Removing src/precompile.o
Removing src/processor.o
Removing src/rtutils.o
Removing src/runtime_ccall.o
Removing src/runtime_intrinsics.o
Removing src/safepoint.o
Removing src/signal-handling.o
Removing src/simplevector.o
Removing src/smallintset.o
Removing src/stackwalk.o
Removing src/staticdata.o
Removing src/subtype.o
Removing src/support/arraylist.o
Removing src/support/bitvector.o
Removing src/support/hashing.o
Removing src/support/htable.o
Removing src/support/int2str.o
Removing src/support/ios.o
Removing src/support/libsupport.a
Removing src/support/libsupportinit.o
Removing src/support/operators.o
Removing src/support/ptrhash.o
Removing src/support/rle.o
Removing src/support/strtod.o
Removing src/support/timefuncs.o
Removing src/support/utf8.o
Removing src/symbol.o
Removing src/sys.o
Removing src/task.o
Removing src/threading.o
Removing src/timing.o
Removing src/toplevel.o
Removing src/typemap.o
Removing stdlib/ArgTools-08b11b2707593d4d7f92e5f1b9dba7668285ff82/
Removing stdlib/ArgTools.release.image
Removing stdlib/Artifacts.release.image
Removing stdlib/Base64.release.image
Removing stdlib/CRC32c.release.image
Removing stdlib/CompilerSupportLibraries_jll/StdlibArtifacts.toml
Removing stdlib/Dates.release.image
Removing stdlib/DelimitedFiles-db79c842f95f55b1f8d8037c0d3363ab21cd3b90/
Removing stdlib/DelimitedFiles.release.image
Removing stdlib/Distributed.release.image
Removing stdlib/Downloads-f97c72fbd726e208a04c53791b35cc34c747569f/
Removing stdlib/Downloads.release.image
Removing stdlib/FileWatching.release.image
Removing stdlib/Future.release.image
Removing stdlib/GMP_jll.release.image
Removing stdlib/GMP_jll/StdlibArtifacts.toml
Removing stdlib/InteractiveUtils.release.image
Removing stdlib/LLD_jll/StdlibArtifacts.toml
Removing stdlib/LLVMLibUnwind_jll.release.image
Removing stdlib/LLVMLibUnwind_jll/StdlibArtifacts.toml
Removing stdlib/LazyArtifacts.release.image
Removing stdlib/LibCURL-a65b64f6eabc932f63c2c0a4a5fb5d75f3e688d0/
Removing stdlib/LibCURL.release.image
Removing stdlib/LibCURL_jll/StdlibArtifacts.toml
Removing stdlib/LibGit2.release.image
Removing stdlib/LibGit2_jll/StdlibArtifacts.toml
Removing stdlib/LibSSH2_jll.release.image
Removing stdlib/LibSSH2_jll/StdlibArtifacts.toml
Removing stdlib/LibUV_jll.release.image
Removing stdlib/LibUV_jll/StdlibArtifacts.toml
Removing stdlib/LibUnwind_jll.release.image
Removing stdlib/LibUnwind_jll/StdlibArtifacts.toml
Removing stdlib/Libdl.release.image
Removing stdlib/LinearAlgebra.release.image
Removing stdlib/Logging.release.image
Removing stdlib/MPFR_jll.release.image
Removing stdlib/MPFR_jll/StdlibArtifacts.toml
Removing stdlib/Markdown.release.image
Removing stdlib/MbedTLS_jll.release.image
Removing stdlib/MbedTLS_jll/StdlibArtifacts.toml
Removing stdlib/Mmap.release.image
Removing stdlib/NetworkOptions-f7bbeb66f05fc651adb12758b650e8630a998fbd/
Removing stdlib/NetworkOptions.release.image
Removing stdlib/OpenBLAS_jll.release.image
Removing stdlib/OpenBLAS_jll/StdlibArtifacts.toml
Removing stdlib/OpenLibm_jll.release.image
Removing stdlib/OpenLibm_jll/StdlibArtifacts.toml
Removing stdlib/PCRE2_jll.release.image
Removing stdlib/PCRE2_jll/StdlibArtifacts.toml
Removing stdlib/Pkg-4de1826bcb49b8576603ba6a22ed1c6fecc66a10/
Removing stdlib/Pkg.release.image
Removing stdlib/Printf.release.image
Removing stdlib/Profile.release.image
Removing stdlib/REPL.release.image
Removing stdlib/Random.release.image
Removing stdlib/SHA-2d1f84e6f8417a1a368de48318640d948b023e7a/
Removing stdlib/SHA.release.image
Removing stdlib/Serialization.release.image
Removing stdlib/SharedArrays.release.image
Removing stdlib/Sockets.release.image
Removing stdlib/SparseArrays-8affe9e499379616e33fc60a24bb31500e8423d7/
Removing stdlib/SparseArrays.release.image
Removing stdlib/Statistics-a3feba2bb63f06b7f40024185e9fa5f6385e2510/
Removing stdlib/SuiteSparse-e8285dd13a6d5b5cf52d8124793fc4d622d07554/
Removing stdlib/SuiteSparse_jll/StdlibArtifacts.toml
Removing stdlib/TOML.release.image
Removing stdlib/Tar-ff55460f4d329949661a33e6c8168ce6d890676c/
Removing stdlib/Tar.release.image
Removing stdlib/Test.release.image
Removing stdlib/UUIDs.release.image
Removing stdlib/Unicode.release.image
Removing stdlib/Zlib_jll.release.image
Removing stdlib/Zlib_jll/StdlibArtifacts.toml
Removing stdlib/dSFMT_jll.release.image
Removing stdlib/dSFMT_jll/StdlibArtifacts.toml
Removing stdlib/libLLVM_jll.release.image
Removing stdlib/libLLVM_jll/StdlibArtifacts.toml
Removing stdlib/libblastrampoline_jll.release.image
Removing stdlib/libblastrampoline_jll/StdlibArtifacts.toml
Removing stdlib/nghttp2_jll/StdlibArtifacts.toml
Removing stdlib/p7zip_jll/StdlibArtifacts.toml
Removing stdlib/srccache/
Removing usr-staging/
Removing usr/

Creating usr/etc/julia/startup.jl
Copying in usr/share/man/man1/julia.1
/work/00434/eijkhout/julia/julia-git/contrib/install.sh 755 /work/00434/eijkhout/julia/julia-git/contrib/julia-config.jl /work/00434/eijkhout/julia/julia-git/usr/share/julia/
     [35mPERL [0m  [37;1mbase/pcre_h.jl [0m
     [35mPERL [0m  [37;1mbase/errno_h.jl [0m
     [35mPERL [0m  [37;1mbase/build_h.jl.phony [0m
     [35mPERL [0m  [37;1mbase/features_h.jl [0m
     [35mPERL [0m  [37;1mbase/features_h.jl [0m
     [35mPERL [0m  [37;1mbase/features_h.jl [0m
     [35mPERL [0m  [37;1mbase/file_constants.jl [0m
     [35mPERL [0m  [37;1mbase/uv_constants.jl [0m
     [35mPERL [0m  [37;1mbase/version_git.jl.phony [0m
     [34mCC [0m  [33mcli/loader_exe.o [0m
     [34mCC [0m  [33mcli/loader_lib.o [0m
     [34mCC [0m  [33mcli/loader_trampolines.o [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia.so.1.10 [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia.so.1 [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia.so [0m
     [34;1mLINK [0m  [37;1musr/bin/julia [0m
     [34mCC [0m  [33msrc/support/hashing.o [0m
     [34mCC [0m  [33msrc/support/timefuncs.o [0m
     [34mCC [0m  [33msrc/support/ptrhash.o [0m
     [34mCC [0m  [33msrc/support/operators.o [0m
     [34mCC [0m  [33msrc/support/utf8.o [0m
     [34mCC [0m  [33msrc/support/ios.o [0m
     [34mCC [0m  [33msrc/support/htable.o [0m
     [34mCC [0m  [33msrc/support/bitvector.o [0m
     [34mCC [0m  [33msrc/support/int2str.o [0m
     [34mCC [0m  [33msrc/support/libsupportinit.o [0m
     [34mCC [0m  [33msrc/support/arraylist.o [0m
     [34mCC [0m  [33msrc/support/strtod.o [0m
     [34mCC [0m  [33msrc/support/rle.o [0m
     [34;1mLINK [0m  [37;1msrc/support/libsupport.a [0m
     [34mCC [0m  [33msrc/flisp/flisp.o [0m
     [34mCC [0m  [33msrc/flisp/builtins.o [0m
     [34mCC [0m  [33msrc/flisp/string.o [0m
     [34mCC [0m  [33msrc/flisp/equalhash.o [0m
     [34mCC [0m  [33msrc/flisp/table.o [0m
     [34mCC [0m  [33msrc/flisp/iostream.o [0m
     [34mCC [0m  [33msrc/flisp/julia_extensions.o [0m
     [34;1mLINK [0m  [37;1msrc/flisp/libflisp.a [0m
     [34mCC [0m  [33msrc/flisp/flmain.o [0m
     [34;1mLINK [0m  [37;1msrc/flisp/flisp [0m
     [32mFLISP [0m  [37;1msrc/julia_flisp.boot [0m
     [32mFLISP [0m  [37;1msrc/julia_flisp.boot.inc [0m
     [34mCC [0m  [33msrc/jltypes.o [0m
     [34mCC [0m  [33msrc/gf.o [0m
     [34mCC [0m  [33msrc/typemap.o [0m
     [34mCC [0m  [33msrc/smallintset.o [0m
     [34mCC [0m  [33msrc/ast.o [0m
     [34mCC [0m  [33msrc/builtins.o [0m
     [34mCC [0m  [33msrc/module.o [0m
     [34mCC [0m  [33msrc/interpreter.o [0m
     [34mCC [0m  [33msrc/symbol.o [0m
     [34mCC [0m  [33msrc/dlload.o [0m
     [34mCC [0m  [33msrc/sys.o [0m
     [34mCC [0m  [33msrc/init.o [0m
     [34mCC [0m  [33msrc/task.o [0m
     [34mCC [0m  [33msrc/array.o [0m
     [34mCC [0m  [33msrc/staticdata.o [0m
     [34mCC [0m  [33msrc/toplevel.o [0m
     [34mCC [0m  [33msrc/jl_uv.o [0m
     [34mCC [0m  [33msrc/datatype.o [0m
     [34mCC [0m  [33msrc/simplevector.o [0m
     [34mCC [0m  [33msrc/runtime_intrinsics.o [0m
     [34mCC [0m  [33msrc/precompile.o [0m
     [34mCC [0m  [33msrc/jloptions.o [0m
     [34mCC [0m  [33msrc/threading.o [0m
     [34mCC [0m  [33msrc/partr.o [0m
     [34mCC [0m  [33msrc/stackwalk.o [0m
     [34mCC [0m  [33msrc/gc.o [0m
     [34mCC [0m  [33msrc/gc-debug.o [0m
     [34mCC [0m  [33msrc/gc-pages.o [0m
     [34mCC [0m  [33msrc/gc-stacks.o [0m
     [34mCC [0m  [33msrc/gc-alloc-profiler.o [0m
     [34mCC [0m  [33msrc/method.o [0m
     [34mCC [0m  [33msrc/jlapi.o [0m
     [34mCC [0m  [33msrc/signal-handling.o [0m
     [34mCC [0m  [33msrc/safepoint.o [0m
     [34mCC [0m  [33msrc/timing.o [0m
     [34mCC [0m  [33msrc/subtype.o [0m
     [34mCC [0m  [33msrc/rtutils.o [0m
     [34mCC [0m  [33msrc/gc-heap-snapshot.o [0m
     [34mCC [0m  [33msrc/crc32c.o [0m
     [34mCC [0m  [33msrc/APInt-C.o [0m
     [34mCC [0m  [33msrc/processor.o [0m
     [34mCC [0m  [33msrc/ircode.o [0m
     [34mCC [0m  [33msrc/opaque_closure.o [0m
     [34mCC [0m  [33msrc/codegen-stubs.o [0m
     [34mCC [0m  [33msrc/coverage.o [0m
     [34mCC [0m  [33msrc/runtime_ccall.o [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia-internal.so.1.10 [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia-internal.so.1 [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia-internal.so [0m
     [34mCC [0m  [33msrc/codegen.o [0m
     [34mCC [0m  [33msrc/jitlayers.o [0m
     [34mCC [0m  [33msrc/aotcompile.o [0m
     [34mCC [0m  [33msrc/debuginfo.o [0m
     [34mCC [0m  [33msrc/disasm.o [0m
     [34mCC [0m  [33msrc/llvm-simdloop.o [0m
     [34mCC [0m  [33msrc/llvm-muladd.o [0m
     [34mCC [0m  [33msrc/llvm-final-gc-lowering.o [0m
     [34mCC [0m  [33msrc/llvm-pass-helpers.o [0m
     [34mCC [0m  [33msrc/llvm-late-gc-lowering.o [0m
     [34mCC [0m  [33msrc/llvm-ptls.o [0m
     [34mCC [0m  [33msrc/llvm-lower-handlers.o [0m
     [34mCC [0m  [33msrc/llvm-gc-invariant-verifier.o [0m
     [34mCC [0m  [33msrc/llvm-propagate-addrspaces.o [0m
     [34mCC [0m  [33msrc/llvm-multiversioning.o [0m
     [34mCC [0m  [33msrc/llvm-alloc-opt.o [0m
     [34mCC [0m  [33msrc/llvm-alloc-helpers.o [0m
     [34mCC [0m  [33msrc/cgmemmgr.o [0m
     [34mCC [0m  [33msrc/llvm-remove-addrspaces.o [0m
     [34mCC [0m  [33msrc/llvm-remove-ni.o [0m
     [34mCC [0m  [33msrc/llvm-julia-licm.o [0m
     [34mCC [0m  [33msrc/llvm-demote-float16.o [0m
     [34mCC [0m  [33msrc/llvm-cpufeatures.o [0m
     [34mCC [0m  [33msrc/pipeline.o [0m
     [34mCC [0m  [33msrc/llvm_api.o [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia-codegen.so.1.10 [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia-codegen.so.1 [0m
     [34;1mLINK [0m  [37;1musr/lib/libjulia-codegen.so [0m
     [32;1mJULIA [0m  [37;1musr/lib/julia/corecompiler.ji [0m
Core.Compiler ──── 84.5567 seconds
     [32;1mJULIA [0m  [37;1musr/lib/julia/sys.ji [0m
coreio.jl
exports.jl
essentials.jl
ctypes.jl
gcutils.jl
generator.jl
reflection.jl
options.jl
promotion.jl
tuple.jl
expr.jl
pair.jl
traits.jl
range.jl
error.jl
bool.jl
number.jl
int.jl
operators.jl
pointer.jl
refvalue.jl
cmem.jl
refpointer.jl
checked.jl
strings/lazy.jl
indices.jl
array.jl
abstractarray.jl
subarray.jl
views.jl
baseext.jl
ntuple.jl
abstractdict.jl
iddict.jl
idset.jl
iterators.jl
namedtuple.jl
./build_h.jl
./version_git.jl
hashing.jl
rounding.jl
div.jl
float.jl
twiceprecision.jl
complex.jl
rational.jl
multinverses.jl
abstractarraymath.jl
arraymath.jl
slicearray.jl
simdloop.jl
reduce.jl
reshapedarray.jl
reinterpretarray.jl
bitarray.jl
bitset.jl
multimedia.jl
some.jl
dict.jl
abstractset.jl
set.jl
char.jl
strings/basic.jl
strings/string.jl
strings/substring.jl
osutils.jl
c.jl
io.jl
iobuffer.jl
intfuncs.jl
strings/strings.jl
strings/search.jl
strings/unicode.jl
strings/util.jl
strings/io.jl
regex.jl
pcre.jl
./pcre_h.jl
parse.jl
shell.jl
show.jl
error during bootstrap:
LoadError(at "sysimg.jl" line 3: LoadError(at "Base.jl" line 297: LoadError(at "show.jl" line 56: LoadError(at "show.jl" line 56: MethodError(f=Base.show, args=(Base.GenericIOBuffer{Array{UInt8, 1}}(data=Array{UInt8, (75,)}[0x50, 0x43, 0x52, 0x45, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x3a, 0x20, 0x75, 0x6e, 0x72, 0x65, 0x63, 0x6f, 0x67, 0x6e, 0x69, 0x73, 0x65, 0x64, 0x20, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x2d, 0x74, 0x69, 0x6d, 0x65, 0x20, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x62, 0x69, 0x74, 0x28, 0x73, 0x29, 0x20, 0x61, 0x74, 0x20, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x20, 0x00], reinit=false, readable=true, writable=true, seekable=true, append=false, size=74, maxsize=9223372036854775807, ptr=75, mark=-1), 0x0000000000000000), world=0x0000000000002fc9)))))
jl_method_error_bare at /work/00434/eijkhout/julia/julia-git/src/gf.c:2204
jl_method_error at /work/00434/eijkhout/julia/julia-git/src/gf.c:2222
jl_lookup_generic_ at /work/00434/eijkhout/julia/julia-git/src/gf.c:3053 [inlined]
ijl_apply_generic at /work/00434/eijkhout/julia/julia-git/src/gf.c:3068
print at ./strings/io.jl:35
unknown function (ip: 0x14f4b590226c)
print_to_string at ./strings/io.jl:148
string at ./strings/io.jl:189 [inlined]
compile at ./pcre.jl:165
compile at ./regex.jl:73
Regex at ./regex.jl:40
Regex at ./regex.jl:68
unknown function (ip: 0x14f4b5900725)
jl_apply at /work/00434/eijkhout/julia/julia-git/src/julia.h:1963 [inlined]
do_apply at /work/00434/eijkhout/julia/julia-git/src/builtins.c:768
@r_str at ./regex.jl:123
jl_invoke_julia_macro at /work/00434/eijkhout/julia/julia-git/src/ast.c:1091
jl_expand_macros at /work/00434/eijkhout/julia/julia-git/src/ast.c:1153
jl_expand_macros at /work/00434/eijkhout/julia/julia-git/src/ast.c:1202
jl_expand_macros at /work/00434/eijkhout/julia/julia-git/src/ast.c:1202
ijl_expand_with_loc_warn at /work/00434/eijkhout/julia/julia-git/src/ast.c:1267
jl_parse_eval_all at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:1065
ijl_load_ at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:1115
include at ./boot.jl:381 [inlined]
include at ./Base.jl:15
include at ./Base.jl:17
unknown function (ip: 0x14f4b58afaf5)
jl_apply at /work/00434/eijkhout/julia/julia-git/src/julia.h:1963 [inlined]
do_call at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:125
eval_value at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:222
eval_stmt_value at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:173 [inlined]
eval_body at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:620
jl_interpret_toplevel_thunk at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:760
top-level scope at Base.jl:297
jl_toplevel_eval_flex at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:934
jl_eval_module_expr at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:215 [inlined]
jl_toplevel_eval_flex at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:736
jl_parse_eval_all at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:1068
ijl_load_ at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:1115
include at ./boot.jl:381
unknown function (ip: 0x14f4b58ae5b9)
jl_apply at /work/00434/eijkhout/julia/julia-git/src/julia.h:1963 [inlined]
do_call at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:125
eval_value at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:222
eval_stmt_value at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:173 [inlined]
eval_body at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:620
jl_interpret_toplevel_thunk at /work/00434/eijkhout/julia/julia-git/src/interpreter.c:760
top-level scope at sysimg.jl:3
jl_toplevel_eval_flex at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:934
jl_parse_eval_all at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:1068
ijl_load_ at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:1115
ijl_load at /work/00434/eijkhout/julia/julia-git/src/toplevel.c:1128
exec_program at /work/00434/eijkhout/julia/julia-git/src/jlapi.c:541
true_main at /work/00434/eijkhout/julia/julia-git/src/jlapi.c:594
jl_repl_entrypoint at /work/00434/eijkhout/julia/julia-git/src/jlapi.c:731
main at /work/00434/eijkhout/julia/julia-git/cli/loader_exe.c:58
__libc_start_main at /usr/lib64/libc.so.6 (unknown line)
_start at /work/00434/eijkhout/julia/julia-git/usr/bin/julia (unknown line)

*** This error might be fixed by running `make clean`. If the error persists, try `make cleanall`. ***
make[2]: *** [sysimage.mk:67: /work/00434/eijkhout/julia/julia-git/usr/lib/julia/sys.ji] Error 1
make[1]: *** [Makefile:97: julia-sysimg-ji] Error 2


So we failed during the compilation of a regex. We then fail to report that error since that part of the code hasn’t been loaded yet (bootstrapping is hard)

If you download the nightly of Julia Julia Downloads (nightly binaries) and do:

julia> Base.runtests(["regex"])

Does everything pass? But definitly worth filing an issue about!

x86 download doesn’t even get to the REPL prompt:

WARNING: Error during initialization of module GMP:
ErrorException("PCRE compilation error: unrecognised compile-time option bit(s) at offset 0")
fatal: error thrown and no exception handler available.
ErrorException("PCRE compilation error: unrecognised compile-time option bit(s) at offset 0")
error at ./error.jl:35
compile at ./pcre.jl:165
compile at ./regex.jl:80
match at ./regex.jl:407
iterate at ./regex.jl:689 [inlined]
iterate at ./regex.jl:687 [inlined]
iterate at ./show.jl:74 [inlined]
#type_depth_limit#557 at ./show.jl:2588
[...]
main at /cache/build/default-amdci4-3/julialang/julia-master/cli/loader_exe.c:58
__libc_start_main at /usr/lib64/libc.so.6 (unknown line)
unknown function (ip: 0x401098)
ERROR: PCRE compilation error: unrecognised compile-time option bit(s) at offset 0
Stacktrace:
  [1]

Arm64 aarch64 doesn’t apply.

[staff bin:28] julia
-bash: ./julia: cannot execute binary file: Exec format error

Eh, issue where?

Okay PCRE is broken on your system.

But in particular this looks similar to Can't start julia-1.8.5 on hcp with Linux · Issue #48873 · JuliaLang/julia · GitHub

So the same question applies is LD_LIBRARY_PATH set and does Julia start if you run LD_LIBRARY_PATH="" julia?

I should have concluded that myself. Loading a newer version of pcre2 (repo pull; sorry, dunno the date) I was able to start the executable and your suggested regex tests pass.

Build is under way…

1 Like