View previous topic :: View next topic |
Author |
Message |
L1NTHALO n00b
Joined: 27 Aug 2024 Posts: 22
|
Posted: Wed Aug 28, 2024 9:30 pm Post subject: [SOLVED] Have both llvm-libunwind and libunwind installed? |
|
|
Hi,
my Kernel is compiled with clang and I needed to emerge llvm-libunwind for that compilation. However wine-ge needs libunwind for Lutris and now I can't install it because I already have llvm-libunwind.
Is there any way to install both of them and have them not conflict? If not, is it safe do disable llvm-libunwind and still use my clang compiled kernel or do I need to recompile my Kernel with gcc?
Thanks in advance!
Last edited by L1NTHALO on Thu Aug 29, 2024 8:43 am; edited 1 time in total |
|
Back to top |
|
|
Naib Watchman
Joined: 21 May 2004 Posts: 6065 Location: Removed by Neddy
|
Posted: Wed Aug 28, 2024 11:09 pm Post subject: |
|
|
where is wine-ge from? this isn't in ::gentoo or ::guru
if you have a look at wine-vanilla::gentoo you will see there is an llvm-libunwind USE flag for this reason
https://packages.gentoo.org/packages/app-emulation/wine-vanilla _________________
Quote: | Removed by Chiitoo |
|
|
Back to top |
|
|
L1NTHALO n00b
Joined: 27 Aug 2024 Posts: 22
|
Posted: Wed Aug 28, 2024 11:16 pm Post subject: |
|
|
It comes with the lutris runtime but for some reason needs a system libunwind. I tried getting Lutris to work with a system wine-proton but didn't manage to do it. Maybe I'll have to try again if there isn't a way to solve this conflict. |
|
Back to top |
|
|
Ionen Developer
Joined: 06 Dec 2018 Posts: 2851
|
Posted: Thu Aug 29, 2024 2:42 am Post subject: |
|
|
Wine is indeed incompatible with llvm-libunwind (USE=llvm-libunwind only exists because we patch it, not surprising other packages/overlays would lack it), but unwinding is optional and can be simply disabled building using --without-unwind (USE=-unwind in gentoo, enabled by default given it helps making sense of rather common errors with wine but one can live without it). If you're dealing with a prebuilt package, not much you can do though.
And no, you can't have both at once, they install libraries and headers named the same (they're both "libunwind", and the llvm- is just to distinguish the package). Even if using LD_LIBRARY_PATH to select them, may further conflict if different libunwind are needed through shared libraries the package uses.
clang "can" use non-llvm libunwind if you really had to though, have to set USE=-llvm-libunwind globally (this will disable it on clang-common for one and stop clang from using it). Not convinced it'll be a smooth transition on a pure llvm system when wasn't using non-llvm libunwind from the start though, and on a llvm profile the USE is forced as a precaution so you'd have to unforce it first. Not sure if I can recommend trying this without testing it myself first, could harm your system. |
|
Back to top |
|
|
L1NTHALO n00b
Joined: 27 Aug 2024 Posts: 22
|
Posted: Thu Aug 29, 2024 7:58 am Post subject: |
|
|
I'll try using wine-vanilla with Lutris because it could very well just've been wine-proton that was causing me problems. Otherwise my system is relatively new and I'm experimenting all the time.
I have already made a system wide switch from llvm-libunwind to libunwind and back because I wanted a Clang lto + O3 Kernel, so switching back again shouldn't be a huge problem.
Maybe I'll just have to give up on that 0% performance boost from my lto kernel
Thanks for the help! |
|
Back to top |
|
|
L1NTHALO n00b
Joined: 27 Aug 2024 Posts: 22
|
Posted: Thu Aug 29, 2024 8:42 am Post subject: |
|
|
Update: emerged wine-staging and lutris works with it. Apparently wine-proton was the problem. |
|
Back to top |
|
|
|