I guess symlinks are broken but recreating with ln -s didn’t help… Started fixing them manually but they’re way too many… Anyone got any ideas?
or are u a no-upstream guy?
18 So How Can I Merge That?
Please read pinned message
Missed it.. sorry
ld.lld: error: undefined symbol: chacha20_block
>>> referenced by win_minmax.c
>>> vmlinux.o:(_get_random_bytes.llvm.7615022054018840821)
>>> referenced by win_minmax.c
>>> vmlinux.o:(_get_random_bytes.llvm.7615022054018840821)
>>> referenced by win_minmax.c
>>> vmlinux.o:(crng_fast_key_erasure)
>>> referenced 1 more times
make[1]: *** [/root/Desktop/Lightning-Kernel/Makefile:1191: vmlinux] Error 1
make[1]: Leaving directory ‘/root/Desktop/Lightning-Kernel/out’
make: *** [Makefile:146: sub-make] Error 2
>>> referenced by win_minmax.c
>>> vmlinux.o:(_get_random_bytes.llvm.7615022054018840821)
>>> referenced by win_minmax.c
>>> vmlinux.o:(_get_random_bytes.llvm.7615022054018840821)
>>> referenced by win_minmax.c
>>> vmlinux.o:(crng_fast_key_erasure)
>>> referenced 1 more times
make[1]: *** [/root/Desktop/Lightning-Kernel/Makefile:1191: vmlinux] Error 1
make[1]: Leaving directory ‘/root/Desktop/Lightning-Kernel/out’
make: *** [Makefile:146: sub-make] Error 2
4.19?
4.14
yeah
that should have compiled without any issue , strange
how to rebert back all changes that i merged but not pushed
reset it?
how
Before reinstalling arch the kernel was building fine.
Kernel source: https://github.com/erikdrozina/kernel_xiaomi_sm6150
Error: https://katb.in/lizefuponur
The mentioned lbs are indeed present in the system:
-rwxr-xr-x 1 root root 1936696 Jul 31 22:47 /usr/lib/libc.so.6
-rwxr-xr-x 1 root root 216128 Jul 31 22:47 /usr/lib/ld-linux-x86-64.so.2
I can successfully built rom (Arrow) and recovery (ofox) so I dont think Im missing anything.
Any help is highly appreciated π
MODPOST vmlinux.o
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
‘make CONFIG_DEBUG_SECTION_MISMATCH=y’
FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
make[2]: *** [../scripts/Makefile.modpost:114: vmlinux.o] Error 1
make[1]: *** [/root/Desktop/Lightning-Kernel/Makefile:1190: vmlinux] Error 2
make[1]: Leaving directory ‘/root/Desktop/Lightning-Kernel/out’
make: *** [Makefile:146: sub-make] Error 2
Proton Clang 15
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
‘make CONFIG_DEBUG_SECTION_MISMATCH=y’
FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
make[2]: *** [../scripts/Makefile.modpost:114: vmlinux.o] Error 1
make[1]: *** [/root/Desktop/Lightning-Kernel/Makefile:1190: vmlinux] Error 2
make[1]: Leaving directory ‘/root/Desktop/Lightning-Kernel/out’
make: *** [Makefile:146: sub-make] Error 2
Proton Clang 15
Proton clang only clang 12 wtf
toolchain
13
Yes
WARNING: modpost: Found 2 section mismatch(es).
To see full details build your kernel with:
‘make CONFIG_DEBUG_SECTION_MISMATCH=y’
FATAL: modpost: Section mismatches detected.
Set CONFIG_SECTION_MISMATCH_WARN_ONLY=y to allow them.
make[2]: *** [../scripts/Makefile.modpost:114: vmlinux.o] Error 1
make[1]: *** [/root/Desktop/Lightning-Kernel/Makefile:1190: vmlinux] Error 2
make[1]: Leaving directory ‘/root/Desktop/Lightning-Kernel/out’
make: *** [Makefile:146: sub-make] Error 2
Proton Clang 15
how to fix
unofficial