1:9.0.1-20 from jammy-proposed causes julia to segfault on start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
julia (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
llvm-toolchain-9 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
llvm-toolchain-9 1:9.0.1-20 jammy-proposed
julia 1.5.3+dfsg-3 jammy-release
When libllvm9 from the proposed pocket is upgraded to, this causes julia to segfault on start
$ julia
Segmentation fault (core dumped)
$ (gdb) run
Starting program: /usr/bin/julia
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_
[New Thread 0x7ffff2ba2640 (LWP 9215)]
Thread 1 "julia" received signal SIGSEGV, Segmentation fault.
_S_copy () at /usr/lib/
357 /usr/lib/
$ (gdb) bt
#0 _S_copy () at /usr/lib/
#1 _S_copy_chars () at /usr/lib/
#2 _M_construct<char*> () at /usr/lib/
#3 _M_construct_
#4 _M_construct<char*> () at /usr/lib/
#5 basic_string () at /usr/lib/
#6 MCTargetOptions () at /build/
#7 0x00007ffff5149fc0 in TargetOptions ()
at /build/
#8 TargetMachine () at /build/
#9 0x00007ffff41f7646 in LLVMTargetMachine ()
at /build/
#10 0x00007ffff5d0c3ea in X86TargetMachine ()
at /build/
#11 0x00007ffff5d0db24 in llvm::RegisterT
at /build/
#12 0x00007ffff7b89a88 in llvm::Target:
Features=..., CPU=..., TT=..., this=0x7ffff77b64a8 <llvm::
at /usr/lib/
#13 JuliaOJIT:
#14 0x00007ffff7aac8b3 in jl_init_llvm () at ./src/codegen.
#15 0x00007ffff7ada82c in jl_init_codegen () at ./src/codegen.
#16 0x00007ffff7b46e86 in jl_restore_
#17 0x00007ffff7b49aef in jl_restore_
at ./src/staticdat
#18 0x00007ffff7b49bf6 in jl_load_sysimg_so () at ./src/staticdat
#19 jl_restore_
#20 0x00007ffff7b34f3f in _julia_init (rel=JL_
#21 0x00007ffff7b359f9 in julia_init_
#22 0x000055555555659b in main (argc=<optimised out>, argv=<optimised out>) at ./ui/repl.c:221
Note: When building src:cantor julia backend, cmake runs julia to find the include file location. Therefore building cantor in jammy-proposed causes cmake to fail to find julia include files, and not build the backend.
might be fixed by disabling lto. /launchpad. net/ubuntu/ +source/ llvm-toolchain- 9/1:9.0. 1-20ubuntu1
please check https:/