#asahi-alt · 2023-07-20 19:42
jannauI think the kernel docs still suggest to build with llvm#asahi-alt · 2023-07-20 19:41
mrhhok, I might have read the kernel docs on rust wrong then#asahi-alt · 2023-07-20 19:41
jannauthis has nothing to do with rust support in gcc#asahi-alt · 2023-07-20 19:40
jannauthe fedora asahi kernel is built using gcc with rust#asahi-alt · 2023-07-20 19:40
jannauno, can be build with gcc. there were initially a few config options which you couldn't enable in a gcc+rust build but that should be sorted out and wasn't a problem if thsoe weren't enabled#asahi-alt · 2023-07-20 19:36
mrhhIsn't llvm needed to build the edge kernel w/ rust features?#asahi-alt · 2023-07-20 19:35
jannauonly extra build dependency I can think of is, dev-util/pahole#asahi-alt · 2023-07-20 19:34
jannauI guess you want "|| (dev-lang/rust[rust-src] dev-lang/rust-bin[rust-src])#asahi-alt · 2023-07-20 19:32
jannaudo not depend on each other#asahi-alt · 2023-07-20 19:31
jannaurust and llvm do not deped on it, maybe use rust and llvm use flags#asahi-alt · 2023-07-20 19:30
jannaumrhh: I guess if you find it useful enough it's not that hard to bump. would it make sense use the same source package name as asahi-sources? i.e. asahi-sources-6.3.0_p13.tar.gz#asahi-alt · 2023-07-20 19:12
mrhhHi, I was wondering whether an automated kernel ebuild might be helpful for the asahi gentoo overlay. Here's one I wrote that works for me: https://github.com/mrhh69/asahi-overlay/tree/asahi-kernel/sys-kernel/asahi-kernel#asahi-alt · 2023-07-20 12:38
psykoseeven that is challenging#asahi-alt · 2023-07-20 12:38
psykosehm yeah#asahi-alt · 2023-07-20 12:35
_jannau__it won't apply cleanly, https://github.com/Rust-for-Linux/linux/commit/327cfb66df6947db1618ec0dd339648b0db258e7 is probably less of a hassle#asahi-alt · 2023-07-20 12:33
mpshttps://github.com/Rust-for-Linux/linux/commit/c8d1ae2cbe240789ad402c71fce78a7ea1ebdea5#asahi-alt · 2023-07-20 12:32
mpsiirc I looked at it but didn't applied because first have to build previous versions#asahi-alt · 2023-07-20 12:31
mpspsykose: for what? rust 1.71#asahi-alt · 2023-07-20 12:31
psykosedidn't i already tell you which patch you probably need#asahi-alt · 2023-07-20 12:31
mpsand I can't build all these rust pkgs incrementally on my containers#asahi-alt · 2023-07-20 12:29
mpsto test with rust 1.70.0 I don't have rust-stdlib 1.70.0#asahi-alt · 2023-07-20 12:27
mpsthis is build log with 1.71.0 https://tpaste.us/vN1M#asahi-alt · 2023-07-20 12:19
mpsright now building kernel for alpine without GPU and w/o rust. will check in few minutes and report#asahi-alt · 2023-07-20 12:18
_jannau__is that still the libc stat64 issue#asahi-alt · 2023-07-20 12:17
mpsiirc 6.3-12 build worked with 1.70.0#asahi-alt · 2023-07-20 12:16
_jannau__yes, because the kernel requires 1.68.2 as minimal version#asahi-alt · 2023-07-20 12:16
mps1.67.0#asahi-alt · 2023-07-20 12:15
mpsand make with 1.67 rejects to start build in my case#asahi-alt · 2023-07-20 12:11
_jannau__builds with 1.68.2 and 1.70.0, 1.71.0 is broken#asahi-alt · 2023-07-20 11:57
mpsI managed to build rust 1.67 on alpine but failed with 1.68 (and I don't have much free time to look for solution)#asahi-alt · 2023-07-20 11:56
_jannau__I've built it but I'm not sure which rust version, might have been 1.68.2#asahi-alt · 2023-07-20 11:56
mps(rust in kernel make me really 'nervous')#asahi-alt · 2023-07-20 11:55
mps`make LLVM=1 rustavailable` says that rust 1.68.2 or higher is needed#asahi-alt · 2023-07-20 11:54
mpsanyone build kernel 6.4-1 with GPU enabled and rust 1.70 or 1.71#asahi-alt · 2023-07-20 11:51
mpsaha, thanks for info#asahi-alt · 2023-07-20 11:49
_jannau__safe to ignore, not new and not alpine specific#asahi-alt · 2023-07-20 11:46
mpsI've got this warning when building m1n1 on alpine linux (musl libc) https://tpaste.us/5X7j#asahi-alt · 2023-07-18 13:15
tobhei hope this all gets better once more people start using it and trigger all those edge cases#asahi-alt · 2023-07-18 13:14
tobhethe first time I tried to use it there was another funny bug where the libclang version detection greped for the first X.X.X version pattern in the output of bindgen. Unfortunately the file path was part of the output.#asahi-alt · 2023-07-18 13:10
tobheof course they do#asahi-alt · 2023-07-18 13:07
mpsso, rust kernel devs think that the default /bin/sh is bash#asahi-alt · 2023-07-18 13:01
mpson stable alpine#asahi-alt · 2023-07-18 13:01
mpsoh, finally, with some tweaks here and there building of kernel 6.3-13 started, lets hope it will finish#asahi-alt · 2023-07-18 12:56
mpsyes, (()) problem#asahi-alt · 2023-07-18 12:54
psykoseyeah#asahi-alt · 2023-07-18 12:54
psykoseor one of the variables is just unset or something because of the version check failing before#asahi-alt · 2023-07-18 12:53
tobhemight be that one of the arguments is empty#asahi-alt · 2023-07-18 12:53
psykosethough maybe that's fine for $1#asahi-alt · 2023-07-18 12:53
psykose$ in $(())#asahi-alt · 2023-07-18 12:52
tobhebashism maybe?