**** BEGIN LOGGING AT Sat Dec 21 02:59:58 2019 Dec 21 09:40:51 Morning! Dec 21 10:14:42 Morning! Dec 21 10:14:49 I guess I found Hacker1245's issue Dec 21 10:15:08 Probably: https://github.com/Hacker1245/meta-motorola/blob/master/conf/machine/cedric.conf#L7 Dec 21 10:16:02 Seeing we have: https://github.com/shr-distribution/meta-smartphone/blob/zeus/meta-xiaomi/conf/machine/tissot.conf#L7 Dec 21 10:22:13 Hacker1245: Got a bit further on your kernel: in https://github.com/Hacker1245/meta-motorola/blob/master/conf/machine/cedric.conf#L7 change into https://github.com/shr-distribution/meta-smartphone/blob/zeus/meta-xiaomi/conf/machine/tissot.conf#L7 Dec 21 10:22:39 Alright Dec 21 10:23:07 Then also need to update KERNEL_IMAGETYPE on L38 to correct value Dec 21 10:25:59 Just I'm not sure what's the right value there to be honest, haven't played with Motorola devices Dec 21 10:26:16 in the same file? Dec 21 10:26:17 zImage is incorrect for sure, kernel fails to build with Image.gz-dtb for me Dec 21 10:26:19 Yeah Dec 21 10:28:58 you tried Image.gz-dtb? Dec 21 10:29:37 Yes, seems it might be Image.gz according to https://forum.xda-developers.com/g5/development/official-twrp-3-1-1-0-moto-g5-t3699737/page12 Dec 21 10:30:26 That works better but still failing with "/home/herriemerim/LuneOS/zeus/webos-ports/tmp-glibc/work-shared/cedric/kernel-source/drivers/soc/qcom/msm_rq_stats.c:63:18: error: implicit declaration of function 'get_cpu_idle_time'; did you mean 'get_cpu_idle_time_us'? [-Werror=implicit-function" Dec 21 10:36:48 Herrie: any way to ignore that error? Dec 21 10:36:52 or fix it? Dec 21 10:37:12 It seems to be some governor related thing from what I can find Dec 21 10:37:33 Also this kernel is 3.18.4x we have 3.18.1xx for our Xiaomi targets which might have addressed these issues Dec 21 10:38:05 Maybe I can check there Dec 21 10:42:29 umm Dec 21 10:42:36 it's the same for Xiaomi Dec 21 10:44:26 This one is a lot newer for example: https://github.com/Sohamlad7/android_kernel_motorola_msm8937/blob/lineage-15.1-64/Makefile Dec 21 10:44:46 But it's a 15.1 kernel (though theoretically that would work), you'd need to update the defconfig though Dec 21 10:45:19 would a 64 bit kernel work with Halium? Dec 21 10:45:31 keep in mind that Nougat for this device is 32 bit Dec 21 10:48:35 Well 64 bit works for us in general. There is a 64 bits rootfs floating around somewhere Dec 21 10:48:45 We build everything for aarch64 in LuneOS for example Dec 21 10:48:56 still I'm not sure if Halium will run with 64 bit Dec 21 10:48:57 64 bits rootfs for Halium I mean Dec 21 10:49:18 I can try though Dec 21 11:00:04 Herrie: you can try compiling with this https://github.com/Hacker1245/android_kernel_motorola_msm8937-1/tree/lineage-15.1-64 Dec 21 11:12:06 Hacker1245: Trying now Dec 21 11:22:24 Builds! Dec 21 11:23:10 This is my recipe for kernel: https://paste.ubuntu.com/p/vyPNddT54d/ Dec 21 11:26:47 Yay! Dec 21 11:27:31 with image.gz? Dec 21 11:28:07 Yes seems so Dec 21 11:28:34 I wonder if I won't have any dtb issues Dec 21 11:41:34 Well I can try with -dtb in a bit Dec 21 11:42:11 I'm trying to compile without it for now Dec 21 11:42:14 I put the whole image to build now, once that completes or fails will try with -dtb Dec 21 11:42:35 building the whole image too Dec 21 11:45:45 Mine failed on Chromium, but that's because I have a frankenbuild on this machine. We use QtWebengine for webapp runtime & browser, but I was testing with LG's WAM + Chromium, so it's not very representative ;) Dec 21 11:46:04 KERNEL_IMAGETYPE = "Image.gz-dtb" seems to work though as well Dec 21 11:46:15 So I guess the other kernel was a bit old/faulty Dec 21 11:46:18 That happens at times Dec 21 12:08:55 Herrie: still getting kernel compilation errors... Dec 21 12:13:18 oh what the hell is going on with my build environment Dec 21 12:13:24 When I just do MACHINE=cedric bb -f linux-motorola-cedric it completes fine here. Dec 21 12:13:42 Any logs? Dec 21 12:13:43 meanwhile now gcc-runtime fails Dec 21 12:14:16 Got a segmentation fault on the gcc-runtime Dec 21 12:19:39 | cc1: internal compiler error: Segmentation fault Dec 21 12:19:39 | Please submit a full bug report, Dec 21 12:19:39 | with preprocessed source if appropriate. Dec 21 12:19:39 | See for instructions. Dec 21 12:19:39 | /home/hello/luneos/webos-ports-env/webos-ports/tmp-glibc/work-shared/cedric/kernel-source/scripts/Makefile.build:257: recipe for target 'net/netfilter/nf_conntrack_core.o' failed Dec 21 12:19:41 | make[4]: *** [net/netfilter/nf_conntrack_core.o] Error 1 Dec 21 12:19:43 | /home/hello/luneos/webos-ports-env/webos-ports/tmp-glibc/work-shared/cedric/kernel-source/scripts/Makefile.build:402: recipe for target 'net/netfilter' failed Dec 21 12:19:48 | make[3]: *** [net/netfilter] Error 2 Dec 21 12:19:50 | make[3]: *** Waiting for unfinished jobs.... Dec 21 12:20:05 these are the kernel errors Dec 21 12:25:51 | /home/hello/luneos/webos-ports-env/webos-ports/tmp-glibc/work-shared/cedric/kernel-source/net/netfilter/nf_conntrack_proto_sctp.c:158:1: internal compiler error: Segmentation fault Dec 21 12:25:51 | 158 | } Dec 21 12:25:51 | | ^ Dec 21 12:25:51 | Please submit a full bug report, Dec 21 12:25:51 | with preprocessed source if appropriate. Dec 21 12:25:53 | See for instructions. Dec 21 12:26:18 I think it's my system Dec 21 12:28:19 Segmentation faults are usually system issue Dec 21 12:28:38 Yeah that's what I thought too Dec 21 12:29:01 Maybe I can ask my friend to compile it Dec 21 12:39:32 or you could try to compile the image Dec 21 12:39:49 with image.gz-dtb Dec 21 12:42:53 but you would need to remove chromium Dec 21 13:19:45 hmm do the servers work fine now? Dec 21 14:14:33 Hacker1245: When you changes your loc Dec 21 14:14:44 Local.conf it shouldn't matter Dec 21 14:15:03 And it shouldn't influence your build anyway Dec 21 16:10:06 Herrie: seems like my friend also has compilation errors, he uses Artix Dec 21 17:02:13 I'll have a look later tonight on a clean build at my side Dec 21 17:02:22 alright Dec 21 18:12:00 Hacker1245: Kicked off a new build at my side just now Dec 21 18:17:06 alright Dec 21 18:36:36 Seems my cedric build actually finished Dec 21 18:37:36 hmm, could you send it somewhere? Dec 21 18:37:45 and is it flashable? Dec 21 18:38:41 Well I have no device to check, but I have a ZIP Dec 21 18:38:48 Let me see if I can put it on my NAS FTP ;) Dec 21 18:38:58 I can test it **** ENDING LOGGING AT Sun Dec 22 02:59:58 2019