Why did it happen?

|
Abdul7852 2022-07-09 07:32:12
KurangKopiGes 2022-07-09 04:10:47
techpack/audio/asoc/codecs/wcd_cpe_services.c:658:17: error: implicit conversion from enumeration type ‘enum cpe_svc_result’ to different enumeration type ‘enum cmi_api_result’ [-Werror,-Wenum-conversion]
notif.result = result;
~ ^~
../techpack/audio/asoc/codecs/wcd_cpe_services.c:1350:8: error: implicit conversion from enumeration type ‘enum cpe_svc_result’ to different enumeration type ‘enum cpe_process_result’ [-Werror,-Wenum-conversion]
rc = cpe_send_msg_to_inbox(t_info, 0, m);
~ ^~~~~~~~~~~
2 errors generated.
make[5]: *** [../scripts/Makefile.build:342: techpack/audio/asoc/codecs/wcd_cpe_services.o] Error 1
make[5]: *** Waiting for unfinished jobs….

How to fix this error for clang 15 🥺

Its a werror
Either turn off werrors or google enum conversion and fix sir

Abdul7852 2022-07-09 07:32:19
javashin 2022-07-09 06:05:52
are you sure is just happening with clang 15 ?

No
Its a code issue probably

haunted2bwanted 2022-07-09 14:33:28
Question for everyone. Sorry. I’ve been trying to build a working kernel for raviole for the past week. Has anyone succeeded in building a monolith kernel for Pixel 6/Pro? I don’t want to build aosp. Just need to replace the kernel. Any ideas?

BUILD_KERNEL=1 ./build_slider.sh does give me artefacts, but when I flash them I get bootloops.

So strange. I used to build kernels for sargo/bonito. They were a cake walk in comparison. I never had any issues

Neternels777 2022-07-09 17:13:49
#patching
ΛRCHITΣCT ツ || アニルバン ||  2022-07-09 18:47:01
#upstream
GamingGeek69 2022-07-09 19:23:41
#upstream
YesEyeCan 2022-07-10 06:07:00
Error log: https://pastebin.com/Bzc6rmWD
Kernel tree: https://github.com/ArbitraryFox/kernel_xiaomi_davinci
Compiler: Proton clang
I tried to search for possible fixes but none worked

make[1]: Entering directory ‘/home/shadowfax/Downloads/kernel_xiaomi_davinci/out – Pastebin.comPastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.
OnettBoots 2022-07-10 06:33:22
KurangKopiGes 2022-07-09 04:10:47
techpack/audio/asoc/codecs/wcd_cpe_services.c:658:17: error: implicit conversion from enumeration type ‘enum cpe_svc_result’ to different enumeration type ‘enum cmi_api_result’ [-Werror,-Wenum-conversion]
notif.result = result;
~ ^~
../techpack/audio/asoc/codecs/wcd_cpe_services.c:1350:8: error: implicit conversion from enumeration type ‘enum cpe_svc_result’ to different enumeration type ‘enum cpe_process_result’ [-Werror,-Wenum-conversion]
rc = cpe_send_msg_to_inbox(t_info, 0, m);
~ ^~~~~~~~~~~
2 errors generated.
make[5]: *** [../scripts/Makefile.build:342: techpack/audio/asoc/codecs/wcd_cpe_services.o] Error 1
make[5]: *** Waiting for unfinished jobs….

How to fix this error for clang 15 🥺

fixed for me add in kbuild
CFLAGS_wcd_cpe_services.o = $(call cc-disable-warning, enum-conversion)

Kapsla 2022-07-10 16:27:06
Dawfuk 2022-07-08 01:17:28
like gcc/clang/bc/bison/python/flex etc…

python?

Kapsla 2022-07-10 16:27:37
for what
Dawfuk 2022-07-10 16:27:52
Kapsla 2022-07-10 16:27:37
for what

Mkdtboimg

parth_7720 2022-07-10 18:45:45
#newgcc
parth_7720 2022-07-10 18:46:27
#bldgcc
Ssaikat1996 2022-07-11 01:22:42
Hello i want help about KVM support..

Kernel version 3.18
In my kernel i enable KVM support..

But after boot i can’t find any /dev/kvm

anyone can help about it?

Ssaikat1996 2022-07-11 01:27:46
#gpu_profiling
Akatsu39 2022-07-11 10:02:05
Ssaikat1996 2022-07-11 01:22:42
Hello i want help about KVM support..

Kernel version 3.18
In my kernel i enable KVM support..

But after boot i can’t find any /dev/kvm

anyone can help about it?

For kvm you need el2 I think, and it’s not available on 99.9% devices

Akatsu39 2022-07-11 10:02:15
Atleast qcom ones
Akatsu39 2022-07-11 10:02:24
Unless unfused
Ssaikat1996 2022-07-11 10:03:21
Akatsu39 2022-07-11 10:02:24
Unless unfused

I have Qualcomm device.. but can you explain more about el2 ?

Akatsu39 2022-07-11 10:04:17
https://developer.arm.com/documentation/102412/0100/Privilege-and-Exception-levels
Ssaikat1996 2022-07-11 10:04:37
Akatsu39 2022-07-11 10:04:17
https://developer.arm.com/documentation/102412/0100/Privilege-and-Exception-levels

Okay checking thank you

Ssaikat1996 2022-07-11 10:28:32
Akatsu39 2022-07-11 10:02:05
For kvm you need el2 I think, and it’s not available on 99.9% devices

Only available for 3 Qualcomm devices 😞

kogame1762 2022-07-11 16:13:00
Does anyone know how to make a device tree? To build various custom ROMs, you need a kernel and a device tree. The kernel is ready and I need a device tree. Is there a way to make one?
aepranata 2022-07-11 16:20:32
#upstream
aoleary 2022-07-11 20:59:54
kogame1762 2022-07-11 16:13:00
Does anyone know how to make a device tree? To build various custom ROMs, you need a kernel and a device tree. The kernel is ready and I need a device tree. Is there a way to make one?

There are guides here on how to extract the device for a device
https://t.me/androidbringup

Bringup/FW chatTelegram
This chat is only for bringup stuff and not build errors.
Use https://t.me/AndroidBuildersHelp for build help.
soenggamlu 2022-07-12 05:16:27
Hey guys
soenggamlu 2022-07-12 05:17:28
I am using #oemcommits to split OEM commit
soenggamlu 2022-07-12 05:19:24
When I run git show “commit id” –stat , I could see some files in drivers/oplus are changed
soenggamlu 2022-07-12 05:21:01
Then I run git reset HEAD^ drivers/oplus
soenggamlu 2022-07-12 05:21:19
But there isn’t any output !
soenggamlu 2022-07-12 05:21:29
Why did it happen ?
soenggamlu 2022-07-12 05:46:35
Akatsu39 2022-07-11 10:02:05
For kvm you need el2 I think, and it’s not available on 99.9% devices

I remember there are some Samsung phones’ source code leaked

soenggamlu 2022-07-12 05:47:01
Including bootloader and trustzone
soenggamlu 2022-07-12 05:48:17
So could we build bootloader from source code ?
soenggamlu 2022-07-12 05:48:45
And then flash into the phone
|