#
#asahi-alt · 2023-04-13 02:58
chadmed_is bindgen in your PATH?
#asahi-alt · 2023-04-13 02:58
zerdoxnothing interesting in logs actually. i am using default asahi kernel config just with rust enabled. my rustc and bindgen versions are exact required. i am using 16 llvm
#asahi-alt · 2023-04-13 02:56
zerdoxchadmed_: https://transfer.sh/p2a7Hi/genkernel.log
#asahi-alt · 2023-04-13 02:50
zerdoxhttps://rust-for-linux.zulipchat.com/#narrow/stream/291565-Help/topic/make.20LLVM.3D1.20error
#asahi-alt · 2023-04-13 02:50
zerdoxhttps://www.spinics.net/lists/kernel/msg4750171.html
#asahi-alt · 2023-04-13 02:49
zerdoxsure. for now i'll send these 2 links
#asahi-alt · 2023-04-13 02:49
chadmed_can you paste the entire build log somewhere
#asahi-alt · 2023-04-13 02:49
chadmed_hmmm
#asahi-alt · 2023-04-13 02:48
chadmed_ah so you followed the quick start guide
#asahi-alt · 2023-04-13 02:48
zerdoxrustup
#asahi-alt · 2023-04-13 02:48
chadmed_did you install rust-bin or rust
#asahi-alt · 2023-04-13 02:48
chadmed_hm so the compiler is panicking interesting
#asahi-alt · 2023-04-13 02:46
zerdoxit doesn't matter if i run genkernel or make LLVM=1. i get thread panicked while compiling kernel
#asahi-alt · 2023-04-13 02:44
zerdoxchadmed i have not yet built anything
#asahi-alt · 2023-04-13 02:37
chadmed_so youve built the kernel already and youre just trying to make an initramfs?
#asahi-alt · 2023-04-13 02:35
zerdoxdo i need to do something different in asahi case? instead of --all-ramdisk-modules
#asahi-alt · 2023-04-13 02:33
chadmed_its not that hard
#asahi-alt · 2023-04-13 02:33
chadmed_i dont think genkernel really supports rusty kernels atm, youll have to do it manually
#asahi-alt · 2023-04-13 02:32
zerdoxchadmed_: trying to genkernel
#asahi-alt · 2023-04-13 02:31
chadmed_zerdox: at runtime?
#asahi-alt · 2023-04-13 02:03
zerdoxMichaelLong did you encounter `thread 'main' panicked at '"ftrace_branch_data_union_`? I am trying to compile the kernel finally. I found one guy in rust-for-linux zulip chat, he met this error 2 months ago. and i also googled some email from 5 april mentioning my error
#asahi-alt · 2023-04-12 22:11
zerdoxI've fixed my issue, thanks to https://github.com/Rust -for-Linux/linux/issues/934 i've emerged llvm and clang and set LIBCLANG_PATH variable. now i get "rust is available!"
#asahi-alt · 2023-04-12 18:49
MichaelLonghm interesting, I was now able to compile the kernel with rust support. Now using the latest bindgen (rustavailable complains alot). But now sddm crashes instantly.
#asahi-alt · 2023-04-12 18:28
mpswithout echo I've got this https://tpaste.us/d11L
#asahi-alt · 2023-04-12 18:26
zerdoxoh... ok. i also don't know if this correct. ok, ty anyways
#asahi-alt · 2023-04-12 18:25
mpsnot sure if it is correct
#asahi-alt · 2023-04-12 18:25
mpsthat is what I got https://tpaste.us/lgg6
#asahi-alt · 2023-04-12 18:22
zerdoxedit scripts/rust_is_available. inside get_canonical_version put echo. i would like to see what exactly $1, $2 and $3 are
#asahi-alt · 2023-04-12 18:20
mpshm, how I could show them
#asahi-alt · 2023-04-12 18:19
zerdoxmps: could you echo these variables in the script? just curious
#asahi-alt · 2023-04-12 18:18
zerdoxyeah. i did. it doesn't make any changes for me
#asahi-alt · 2023-04-12 17:42
mpsthis works for me
#asahi-alt · 2023-04-12 17:41
mpsmake LLVM=1 rustavailable
#asahi-alt · 2023-04-12 17:35
zerdoxi can see in rust_is_available.sh that $1, $2 and $3 variables are missing inside get_canonical_version. where do these variables come from?
#asahi-alt · 2023-04-12 17:32
zerdoxhi guys. i am trying to `make rustavailable` but get syntax error on line 21 (100000 * + 100 * +). does anyone have any info about this? i've installed rustup with all building requirements and have exact needed versions of rustc and bindgen
#asahi-alt · 2023-04-12 06:35
steffen[m]Does anyone of the nixos users have a fix for the edge kernel build with newer nixpkgs?
#asahi-alt · 2023-04-11 01:24
sam_-(you already pay the cost of trying to make ebuilds handle the deps & selection at build time work correctly)
#asahi-alt · 2023-04-11 01:24
sam_-and in fact, we already suffer the pain from it being semi-slotted, because of rust and rust-bin being coinstallable
#asahi-alt · 2023-04-11 01:24
sam_-i need to ask gyakovlev about why rust isn't actually slotted because.. it feels natural for it to be
#asahi-alt · 2023-04-11 01:23
sam_-there's an ebuild for bindgen right now but I have no idea if it actually works for much yet
#asahi-alt · 2023-04-10 23:01
jannaubindgen is hopefully less of a problem once the kernel is updated for allow/block-list
#asahi-alt · 2023-04-10 23:00
chadmed_sam_- might have some ideas
#asahi-alt · 2023-04-10 23:00
jannauah, rust is slotted but virtual/rust and rust-bin are not
#asahi-alt · 2023-04-10 23:00
chadmed_with the gpu coming down the pipeline ill start thinking a bit harder about it
#asahi-alt · 2023-04-10 22:59
chadmed_"rust" USE flag in our ebuild
#asahi-alt · 2023-04-10 22:59
chadmed_i think i put an RDEPEND on a specific version of rust behind the
#asahi-alt · 2023-04-10 22:58
chadmed_it doesnt really matter for us (our systems are very fast) but bootstrapping even one version of rust is a tall order for like 90% of systems
#asahi-alt · 2023-04-10 22:57
chadmed_rustc is slotted now i think?
#asahi-alt · 2023-04-10 22:55
jannaunormal dependencies are probably the better fit but would require slotted rustc/bindgen
#asahi-alt · 2023-04-10 22:54
jannauit's also a mess because rustc/bindgen are neither build nor normal dependencies

plus ›