#
#asahi-alt · 2023-07-21 14:12
Ry_Darcy@No, in asahi-6.3-13 and today's asahi-6.4-3 kernel (which failed in the u-boot step) the same u-boot version was used.
#asahi-alt · 2023-07-21 14:11
mpsRy_Darcy: I know that debian is not musl based though it have musl package (or it had it when I used debian)
#asahi-alt · 2023-07-21 14:10
mpsRy_Darcy: I'm building kernels with rust from around new year without big problems, but now when the musl and rust upgraded it doesn't work
#asahi-alt · 2023-07-21 14:10
Ry_Darcy@mps I saw that. But as stated before, I do not have musl on my system.
#asahi-alt · 2023-07-21 14:09
mpsRy_Darcy: problem with rust and kernel is related to musl 1.2.4 version, I guess with glibc all this works fine
#asahi-alt · 2023-07-21 14:08
j`eysince last time you built
#asahi-alt · 2023-07-21 14:08
j`eydid you change the version of u-boot?
#asahi-alt · 2023-07-21 14:07
j`eyyou must change his script to change the version numbers, right?
#asahi-alt · 2023-07-21 14:06
Ry_Darcy@mps I am running a vanilla Asahi environment. I have not changed/tweaked anything and using Glanzmann's build script.
#asahi-alt · 2023-07-21 14:04
Ry_Darcy@mps not that I am aware of. I built asahi-6.3-13 last week using Rust 1.66 with no problems.
#asahi-alt · 2023-07-21 13:58
j`eyRy_Darcy: are you actually building a different uboot? maybe youre environment changed somehow
#asahi-alt · 2023-07-21 13:54
mpsRy_Darcy: interesting, this patch is for u-boot mainline, not sure if the u-boot-asahi is same
#asahi-alt · 2023-07-21 13:46
Ry_Darcy@mps musl is not installed on my system (Debian). Also, this line - HOSTCFLAGS_ubsha1.o := -pedantic does not exist in my u-boot/tools/Makefile.
#asahi-alt · 2023-07-21 13:13
mpsrust have to be fixed
#asahi-alt · 2023-07-21 13:10
mpsrust is https://github.com/gentoo/gentoo/pull/31205 also
#asahi-alt · 2023-07-21 13:10
mpsfound what is cause of building kernel with rust on musl system (alpine in my case) https://bugs.archlinux.org/task/79002
#asahi-alt · 2023-07-21 09:32
mpsRy_Darcy: in u-boot source, look patch I posted
#asahi-alt · 2023-07-21 09:20
Ry_Darcy@mps I am running Debian, where do I disable kwboot build?
#asahi-alt · 2023-07-21 09:18
mpshmm, I've got same problem (cargo can't find libs) even with rust 1.70.0
#asahi-alt · 2023-07-21 09:16
mpsthis is patch I made for alpine https://tpaste.us/KEZg
#asahi-alt · 2023-07-21 09:14
mpsRy_Darcy: disable kwboot build
#asahi-alt · 2023-07-21 09:13
Ry_Darcy@mps OK.
#asahi-alt · 2023-07-21 09:13
Ry_DarcyThis (compile fail U-Boot) did not happen before.
#asahi-alt · 2023-07-21 09:11
mpsRy_Darcy: thanks for info, but I don't use rustup. I use alpine rust packages to have regular alpine build method
#asahi-alt · 2023-07-21 09:08
Ry_DarcyCompiling asahi-6.4-3 (Mini M1 - Debian) using Rust 1.68.2, U-Boot compile is failing with - see https://paste.debian.net/1286501/
#asahi-alt · 2023-07-21 08:57
Ry_Darcy@mps - try "rustup override set 1.68.2" in your Rust setup. Works for me.
#asahi-alt · 2023-07-21 08:01
mpsyes, just saw on #asahi-dev that there is 6.4-2
#asahi-alt · 2023-07-21 08:01
mpsjannau: I can't find old original rust pkg 1.68.2, had to build it in chroot
#asahi-alt · 2023-07-21 07:57
jannaucan't you use the old APK build file used for rust 1.68.2?
#asahi-alt · 2023-07-21 07:57
j`eyoh, still broken if you dont select CONFIG_ARM64_ACTLR_STATE
#asahi-alt · 2023-07-21 07:54
jannaubtw, there's now asahi-6.4-2, no rust related changes
#asahi-alt · 2023-07-21 07:54
jannauthis looks like your rust 1.68.2 is broken
#asahi-alt · 2023-07-21 07:53
jannauthat is a rust issue. Only relation to the kernel is that it tries build rust user space code in the kernel used as build tool (scripts/generate_rust_target.rs)
#asahi-alt · 2023-07-21 07:45
mpsmaybe to ask at #kernelnewbies
#asahi-alt · 2023-07-21 07:44
mpsand tried to build with llvm and gcc, same result
#asahi-alt · 2023-07-21 07:43
mpstried to search net but didn't found anything which would help me
#asahi-alt · 2023-07-21 07:42
mpsas I know very little about cargo/rust I have no idea how to tell them to use external libs
#asahi-alt · 2023-07-21 07:41
mpstrying to build kernel with it got this https://tpaste.us/QRZ4 error
#asahi-alt · 2023-07-21 07:40
mpsto continue about problem building kernel 6.4-1 with GPU enabled and using rust on alpine: managed to build rust 1.68.2 (required by kernel build) last night
#asahi-alt · 2023-07-21 01:33
chadmed_(either upstreaming or listing on o.g.o at the very least)
#asahi-alt · 2023-07-21 01:33
chadmed_mrhh: we need to get it working with the kernel build eclass as the eventual goal is to have the overlay in a state suitable for upstreaming, hence the flurry of QA commits recently
#asahi-alt · 2023-07-20 21:24
sam_mrhh: base it on gentoo-kernel/vanilla-kernel please
#asahi-alt · 2023-07-20 21:24
sam_mrhh: why aren't you using kernel-build.eclass?
#asahi-alt · 2023-07-20 19:51
mrhhI ~did steal~was inspired by some of the code though
#asahi-alt · 2023-07-20 19:51
jannauok
#asahi-alt · 2023-07-20 19:50
mrhhI tried, but there were some issues with rust detection not working and the postinst being broken that I just decided it wasn't worth it
#asahi-alt · 2023-07-20 19:49
jannauhave you looked if the kernel-build eclass can be used
#asahi-alt · 2023-07-20 19:49
jannaupulling the sources directly seems ok judging by gentoo-kernel. using the extracted source dir of the matching asahi-source ebuild seems fragile
#asahi-alt · 2023-07-20 19:44
mrhhanother thing: should an asahi-kernel package depend on the asahi-sources package, or just pull the sources from the official repository into the workdir like it's doing now?
#asahi-alt · 2023-07-20 19:42
mrhhthat was probably it then

plus ›