Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 800518 - dev-lang/julia: is it possible to enable sys-libs/llvm-libunwind? (was: Enable julia lang to use llvm-libunwind)
Summary: dev-lang/julia: is it possible to enable sys-libs/llvm-libunwind? (was: Enabl...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-04 16:54 UTC by vicalcas
Modified: 2022-01-03 22:02 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vicalcas 2021-07-04 16:54:19 UTC
Hi.
After requesting to install julia it requires libunwind, but I want to use llvm-libunwind if possible. Is this a posible option?
Thank you for your time.

--------------------------------------------------------------------------------


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] sci-libs/suitesparseconfig-5.4.0::gentoo  USE="-static-libs" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] sci-libs/openlibm-0.7.5:0/3::gentoo  359 KiB
[ebuild  N     ] sci-mathematics/dsfmt-2.2.4::gentoo  4.868 KiB
[ebuild  N     ] net-libs/http-parser-2.9.4-r1:0/2.9.4::gentoo  ABI_X86="32 (64) (-x32)" 51 KiB
[ebuild  N     ] sci-libs/ccolamd-2.9.6::gentoo  299 KiB
[ebuild  N     ] sci-libs/colamd-2.9.6::gentoo  0 KiB
[ebuild   R    ] sci-libs/fftw-3.3.9:3.0/3::gentoo  USE="fortran openmp threads* -doc -mpi -test (-zbus)" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 fma3 sse sse2 -fma4" 0 KiB
[ebuild   R    ] net-misc/curl-7.77.0-r1::gentoo  USE="ftp gnutls http2 imap ipv6 openssl pop3 progress-meter smtp ssh* ssl tftp -adns -alt-svc -brotli -gopher -hsts -idn -kerberos -ldap -mbedtls -metalink (-nghttp3) -nss -quiche -rtmp -samba -sslv3 -static-libs -telnet -test -threads (-winssl) -zstd" ABI_X86="32 (64) (-x32)" CURL_SSL="openssl -gnutls -mbedtls -nss (-winssl)" 0 KiB
[ebuild  N     ] sci-libs/amd-2.4.6-r1::gentoo  USE="fortran -doc" 336 KiB
[ebuild  N     ] sci-libs/camd-2.4.6-r1::gentoo  USE="-doc" 310 KiB
[ebuild  N     ] dev-util/patchelf-0.12::gentoo  101 KiB
[ebuild  N     ] sys-libs/libunwind-1.5.0-r1:0/8::gentoo  USE="zlib -debug -debug-frame -doc -libatomic -lzma -static-libs" ABI_X86="32 (64) (-x32)" 858 KiB
[ebuild  N     ] sci-libs/lapack-3.10.0::gentoo  USE="-deprecated -doc -eselect-ldso -lapacke -test" 7.452 KiB
[ebuild  N     ] dev-libs/libgit2-1.1.1:0/1.1::gentoo  USE="ssh threads -examples -gssapi -test -trace" 5.324 KiB
[ebuild  N     ] net-libs/mbedtls-2.26.0:0/6.13.1::gentoo  USE="-doc -havege -programs -static-libs -test -threads -zlib" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse2" 3.986 KiB
[ebuild  N     ] sci-libs/metis-5.1.0-r4::gentoo  USE="openmp -doc" 4.869 KiB
[ebuild  N     ] virtual/lapack-3.8::gentoo  USE="-eselect-ldso" 0 KiB
[ebuild  N     ] virtual/blas-3.8::gentoo  USE="-eselect-ldso" 0 KiB
[ebuild  N     ] sci-libs/cholmod-3.0.14::gentoo  USE="lapack matrixops modify partition -cuda -doc" 681 KiB
[ebuild  N     ] sci-libs/arpack-3.8.0::gentoo  USE="-doc -examples -mpi" 0 KiB
[ebuild  N     ] sci-libs/spqr-2.0.9::gentoo  USE="-doc -partition -tbb" 2.111 KiB
[ebuild  N     ] sci-libs/umfpack-5.7.9::gentoo  USE="cholmod -doc" 754 KiB
[ebuild  N     ] dev-lang/julia-1.6.0::gentoo  USE="-system-llvm" 47.142 KiB
[blocks B      ] sys-libs/libunwind ("sys-libs/libunwind" is blocking sys-libs/llvm-libunwind-12.0.0)

Total: 23 packages (21 new, 2 reinstalls), Size of downloads: 79.495 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (sys-libs/libunwind-1.5.0-r1:0/8::gentoo, ebuild scheduled for merge) pulled in by
    >=sys-libs/libunwind-1.1:0= required by (dev-lang/julia-1.6.0:0/0::gentoo, ebuild scheduled for merge) USE="-system-llvm" ABI_X86="(64)"

  (sys-libs/llvm-libunwind-12.0.0:0/0::gentoo, installed) pulled in by
    sys-libs/llvm-libunwind required by @selected
    sys-libs/llvm-libunwind required by (sys-devel/clang-12.0.0-r1:12/12::gentoo, installed) USE="default-compiler-rt default-lld llvm-libunwind static-analyzer xml -debug -default-libcxx -doc -test" ABI_X86="32 (64) (-x32)" LLVM_TARGETS="AMDGPU BPF NVPTX (X86) -AArch64 -ARC -ARM -AVR (-CSKY) -Hexagon -Lanai -MSP430 -Mips -PowerPC -RISCV -Sparc -SystemZ -VE -WebAssembly -XCore" PYTHON_SINGLE_TARGET="python3_9 -python3_8"


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

https://wiki.gentoo.org/wiki/Handbook:X86/Working/Portage#Blocked_packages
Comment 1 Ionen Wolkens gentoo-dev 2021-08-29 04:25:59 UTC
I was trying that just now just to be lazy in switching, and just to say that it doesn't work.

debuginfo.cpp:772:13: error: 'unw_get_proc_info_by_ip' was not declared in this scope; did you mean 'unw_get_proc_info'?

https://discourse.julialang.org/t/porting-julia-to-other-platforms-llvm-libunwind/575
Comment 2 Matthias Maier gentoo-dev 2022-01-03 22:02:21 UTC
The only workaround that I can offer is to use dev-lang/julia-bin, which does not depend on sys-libs/libunwind.

I am not sure there is anything we can do downstream. Porting julia to be compatible with llvm-libunwind would be something that upstream has to support and maintain.