Compiling sysimage fails

In trying to compile a sysimage, the following bug is encountered:

julia> using PackageCompiler

julia> create_sysimage(;sysimage_path=joinpath(homedir(), ".julia", "environments", string("v", VERSION.major, ".", VERSION.minor), "JuliaSysimage.dll"))
✖ [09m:40s] PackageCompiler: compiling incremental system image
ERROR: failed process: Process(`/home/dennishb/.julia/juliaup/julia-1.8.3+0.x64/bin/julia --color=yes --startup-file=no --cpu-target=native -O3 --sysimage=/home/dennishb/.julia/juliaup/julia-1.8.3+0.x64/lib/julia/sys.so --project=/home/dennishb/.julia/environments/v1.8 --output-o=/tmp/jl_eBYdgjyDAd.o /tmp/jl_eLwLGpGHqx`, ProcessSignaled(9)) [0]

Stacktrace:
 [1] pipeline_error
   @ ./process.jl:565 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base ./process.jl:480
 [3] run
   @ ./process.jl:477 [inlined]
 [4] #15
   @ ~/.julia/packages/PackageCompiler/DKijm/ext/TerminalSpinners.jl:157 [inlined]
 [5] spin(f::PackageCompiler.var"#15#16"{Cmd}, s::PackageCompiler.TerminalSpinners.Spinner{Base.TTY})
   @ PackageCompiler.TerminalSpinners ~/.julia/packages/PackageCompiler/DKijm/ext/TerminalSpinners.jl:164
 [6] macro expansion
   @ ~/.julia/packages/PackageCompiler/DKijm/ext/TerminalSpinners.jl:157 [inlined]
 [7] create_sysimg_object_file(object_file::String, packages::Vector{String}, packages_sysimg::Set{Base.PkgId}; project::String, base_sysimage::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, cpu_target::String, script::Nothing, sysimage_build_args::Cmd, extra_precompiles::String, incremental::Bool)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/DKijm/src/PackageCompiler.jl:364
 [8] create_sysimage(packages::Nothing; sysimage_path::String, project::String, precompile_execution_file::Vector{String}, precompile_statements_file::Vector{String}, incremental::Bool, filter_stdlibs::Bool, cpu_target::String, script::Nothing, sysimage_build_args::Cmd, include_transitive_dependencies::Bool, base_sysimage::Nothing, julia_init_c_file::Nothing, version::Nothing, soname::Nothing, compat_level::String, extra_precompiles::String)
   @ PackageCompiler ~/.julia/packages/PackageCompiler/DKijm/src/PackageCompiler.jl:515
 [9] top-level scope
   @ REPL[5]:1

Anyone with any idea what the issue could be?

Package and system info:

(@v1.8) pkg> st PackageCompiler
Status `~/.julia/environments/v1.8/Project.toml`
  [9b87118b] PackageCompiler v2.1.0

julia> versioninfo()
Julia Version 1.8.3
Commit 0434deb161e (2022-11-14 20:14 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 8 × Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, skylake)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_CONDAPKG_BACKEND = Null