Skip to content

CachyOS - Fails to make install #49

@war59312

Description

@war59312

Hey,

Thanks for this.

Sadly fails to make install on CachyOS:

git clone https://github.com/0x7375646F/Linuwu-Sense.git
  cd Linuwu-Sense
  make install
Cloning into 'Linuwu-Sense'...
remote: Enumerating objects: 151, done.
remote: Counting objects: 100% (64/64), done.
remote: Compressing objects: 100% (25/25), done.
remote: Total 151 (delta 53), reused 39 (delta 39), pack-reused 87 (from 2)
Receiving objects: 100% (151/151), 139.92 KiB | 3.78 MiB/s, done.
Resolving deltas: 100% (71/71), done.
make -C /lib/modules/6.16.4-3-cachyos/build M=/home/will/Linuwu-Sense modules
make[1]: Entering directory '/usr/lib/modules/6.16.4-3-cachyos/build'
make[2]: Entering directory '/home/will/Linuwu-Sense'
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.2.1 20250813
  CC [M]  src/linuwu_sense.o
gcc: error: unrecognized command-line option ‘-mretpoline-external-thunk’
gcc: error: unrecognized command-line option ‘-fsplit-lto-unit’
gcc: error: unrecognized command-line option ‘-fdebug-info-for-profiling’
gcc: error: unrecognized command-line option ‘-mllvm’
gcc: error: unrecognized command-line option ‘-mllvm’
gcc: error: unrecognized command-line option ‘-improved-fs-discriminator=true’
gcc: error: unrecognized command-line option ‘-fbasic-block-address-map’
make[4]: *** [/usr/lib/modules/6.16.4-3-cachyos/build/scripts/Makefile.build:287: src/linuwu_sense.o] Error 1
make[3]: *** [/usr/lib/modules/6.16.4-3-cachyos/build/Makefile:2008: .] Error 2
make[2]: *** [/usr/lib/modules/6.16.4-3-cachyos/build/Makefile:248: __sub-make] Error 2
make[2]: Leaving directory '/home/will/Linuwu-Sense'
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/usr/lib/modules/6.16.4-3-cachyos/build'
make: *** [Makefile:12: all] Error 2

Best,

Will

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions