Installation mod for CachyOS Bore LTO feedback #54
AntonioRocha17
started this conversation in
General
Replies: 1 comment
-
|
Thank you so much for the workaround. I'll be converting this to a discussion and will be referring everyone here if anyone faces the same issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I switched to CachyOS Bore LTO (previously CachyOS and it installed just fine and yes I'm distrohopping since I want to find one I like best) and I found some issues installing the tool.
Text copied from Gemini (which help me troubleshoot and installing it properly):
Hello,
I'm providing feedback on the installation process of DAMX Suite v0.9.1, specifically related to getting the Linuwu-Sense drivers to compile and install correctly on CachyOS, which uses a kernel built with clang and Link-Time Optimization (LTO). My laptop is an Acer Nitro V15 (anv15-51-57ws) with an Intel i3-13420h, RTX 3050 6GB, 16GB RAM, and a 500GB SSD m.2.
The installation initially failed with compilation errors for Linuwu-Sense. Here's a summary of the issues encountered and the solutions applied:
Initial Problem:
When running setup.sh, the Linuwu-Sense driver compilation failed with gcc errors, even though the kernel (6.15.7-1-cachyos-bore-lto initially, then 6.15.7-2-cachyos-lto after updates) was built with clang. The key errors were:
warning: the compiler differs from the one used to build the kernel
The kernel was built by: clang version 20.1.8
You are using: gcc (GCC) 15.1.1 20250425
gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
This indicated a compiler mismatch: the kernel was clang-built, but the module was attempting to compile with gcc and clang-specific flags.
Troubleshooting Steps & Solutions:
Resolving NVIDIA Driver Conflicts (Important Detour):
Forcing clang and lld for Module Compilation (Initial Attempts):
Direct Linuwu-Sense Compilation Test:
Modifying setup.sh to Enforce clang and lld (The Final Fix):
make clean
make
make install
Modified (in setup.sh):
Bash
Final Installation Attempt:
Recommendations for Future Versions:
Thank you for providing this valuable tool for Acer laptops on Linux! With these minor adjustments for clang/LTO environments, the installation process can be much smoother for users on such distributions.
Using a Acer Nitro V15 (ANV15-51-57WS) and everything is working just fine.
Beta Was this translation helpful? Give feedback.
All reactions