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?

|
Tetsuo_Osaka 2022-08-05 22:11:27
Dr Toboggan 2022-08-05 22:10:47
Hey! I’m having this issue where when I’m trying to compile my kernel the dt bindings are broken.. “dt-bindings/interrupt-controller/arm-gic.h: No such file…”. 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?

Please read pinned message

Dr Toboggan 2022-08-05 22:13:48
Tetsuo_Osaka 2022-08-05 22:11:27
Please read pinned message

Missed it.. sorry

Dr Toboggan 2022-08-05 22:24:13
Found another source for kernel when I was gonna upload mine for error template, seems like the problem solved itself πŸ₯³ kernel is android_kernel_samsung_r9q
siimsek 2022-08-05 22:30:55
cyberknight777 2022-08-05 22:07:46
also fixed that

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

siimsek 2022-08-05 22:30:59
newer errors πŸ˜€
cyberknight777 2022-08-05 22:35:27
you’re missing stuff
cyberknight777 2022-08-05 22:35:30
or mismerge
Tashar02 2022-08-05 22:36:34
siimsek 2022-08-05 22:30:55
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

4.19?

siimsek 2022-08-05 22:36:52
Tashar02 2022-08-05 22:36:34
4.19?

4.14

Tashar02 2022-08-05 22:37:02
merged android-4.14-stable?
Tashar02 2022-08-05 22:37:55
or are u a no-upstream guy?
siimsek 2022-08-05 22:45:03
Tashar02 2022-08-05 22:37:02
merged android-4.14-stable?

yeah

siimsek 2022-08-05 22:45:19
git fetch https://android.googlesource.com/kernel/common/ android-4.14-stable && git merge FETCH_HEAD –log
Tashar02 2022-08-05 22:45:26
siimsek 2022-08-05 22:45:03
yeah

that should have compiled without any issue , strange

Tashar02 2022-08-05 22:45:49
were there any conflicted files
siimsek 2022-08-05 22:49:41
Tashar02 2022-08-05 22:45:49
were there any conflicted files

how to rebert back all changes that i merged but not pushed

siimsek 2022-08-05 22:49:53
i want to merge from beginning
siimsek 2022-08-05 22:50:04
i dont want to re-clone
Tashar02 2022-08-05 22:55:25
siimsek 2022-08-05 22:49:41
how to rebert back all changes that i merged but not pushed

reset it?

siimsek 2022-08-05 22:55:34
Tashar02 2022-08-05 22:55:25
reset it?

how

siimsek 2022-08-05 22:55:41
gir reset?
Tashar02 2022-08-05 22:55:45
git reset β€”hard HEAD~
Tashar02 2022-08-05 22:55:56
will reset one commit back
erikdrozina 2022-08-06 18:32:04
Hi, recently I had to reinstall Arch due to nvidia drivers fuckery and since that I am unable to build kernel for tucana.
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 πŸ™‚

Error_69_bruhh 2022-08-06 19:03:54
Hey I Got One Base 4.9 And My Kernel Is 3.18 So How Can I Merge That??
siimsek 2022-08-06 19:40:38
cyberknight777 2022-08-05 22:07:46
also fixed that

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

cyberknight777 2022-08-06 19:41:54
proton clang 15 what
nekoshirro 2022-08-06 19:42:09
siimsek 2022-08-06 19:40:38
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

Proton clang only clang 12 wtf

siimsek 2022-08-06 19:42:13
cyberknight777 2022-08-06 19:41:54
proton clang 15 what

toolchain

cyberknight777 2022-08-06 19:42:15
nekoshirro 2022-08-06 19:42:09
Proton clang only clang 12 wtf

13

nekoshirro 2022-08-06 19:42:21
cyberknight777 2022-08-06 19:42:15
13

Yes

nekoshirro 2022-08-06 19:42:24
Forgot it
siimsek 2022-08-06 19:42:29
siimsek 2022-08-06 19:40:38
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

how to fix

siimsek 2022-08-06 19:42:44
cyberknight777 2022-08-06 19:41:54
proton clang 15 what

unofficial

cyberknight777 2022-08-06 19:43:05
do what it says
|