ChanServ changed the topic of #asahi-alt to: Asahi Linux: porting Linux to Apple Silicon macs | User-contributed/unofficial distribution ports | Logs: https://alx.sh/l/asahi-alt
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
deteg1337 has joined #asahi-alt
zzywysm has joined #asahi-alt
nsklaus has quit [Quit: ZZZzzz…]
deteg1337 has quit [Ping timeout: 480 seconds]
QuickTimeX has quit [Remote host closed the connection]
QuickTimeX has joined #asahi-alt
hightower3 has joined #asahi-alt
hightower2 has quit [Ping timeout: 480 seconds]
maria28547 has joined #asahi-alt
maria2854 has quit [Ping timeout: 480 seconds]
QuickTimeX has quit [Remote host closed the connection]
QuickTimeX has joined #asahi-alt
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
rpirea has quit []
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
janrinze has joined #asahi-alt
deteg1337 has joined #asahi-alt
hightower3 has quit [Read error: Connection reset by peer]
janrinze has quit [Remote host closed the connection]
deteg1337 has quit [Ping timeout: 480 seconds]
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
chadmed has quit [Remote host closed the connection]
deteg1337 has joined #asahi-alt
nsklaus has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
chadmed has joined #asahi-alt
yuka has quit [Remote host closed the connection]
yuka has joined #asahi-alt
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
cylm_ has joined #asahi-alt
QuickTimeX has quit [Ping timeout: 480 seconds]
QuickTimeX has joined #asahi-alt
yuka has quit [Remote host closed the connection]
yuka has joined #asahi-alt
deteg1337 has joined #asahi-alt
QuickTimeX has quit [Remote host closed the connection]
QuickTimeX has joined #asahi-alt
QuickTimeX has quit [Remote host closed the connection]
QuickTimeX has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi-alt
Dementor1 has joined #asahi-alt
Dementor3 has joined #asahi-alt
ChaosPri1 has joined #asahi-alt
Dementor2 has joined #asahi-alt
Dementor has quit [Ping timeout: 480 seconds]
Dementor2 is now known as Dementor
Dementor1 has quit [Ping timeout: 480 seconds]
Dementor3 has quit [Ping timeout: 480 seconds]
ChaosPrincess has quit [Quit: WeeChat 1.9.1]
ChaosPri1 is now known as ChaosPrincess
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
zerdox has joined #asahi-alt
QuickTimeX has quit []
jamespmorgan has quit [Ping timeout: 480 seconds]
jamespmorgan has joined #asahi-alt
deteg1337 has joined #asahi-alt
deteg1337 has quit [Remote host closed the connection]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Remote host closed the connection]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Remote host closed the connection]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
possiblemeatball has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
<zerdox>
chadmed: so.. make LLVM=1 rustavailable itself gives me syntax error (scripts/rust_is_available.sh line 21). i did all requirements except older rustc, but still don't get hidden option in menuconfig
deteg1337 has joined #asahi-alt
<MichaelLong>
that part is a lot of work
<zerdox>
sorry about me being this but... i can't even google it
<MichaelLong>
zerdox, no problem I've another error compiling the kernel with the rust bindings. don't have it at hand right now.
<zerdox>
exactly i get line 21: 100000 * + 100 * + : syntax error: operand expected
<zerdox>
it's get_canonical_version which uses $1-3 inside which are empty for some reason
Dementor has quit [Remote host closed the connection]
deteg1337 has quit [Ping timeout: 480 seconds]
Dementor has joined #asahi-alt
Dementor has quit [Remote host closed the connection]
Dementor has joined #asahi-alt
<zerdox>
ok so for now i will just wait for your ping...
<zerdox>
and thank you
<MichaelLong>
zerdox, so your're also on gentoo or another distribution?
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
<ChaosPrincess>
zerdox: make sure rustc is the version it wants and is in PATH, also bindgen is the correct version
<ChaosPrincess>
whoever wrote the makefile that way is a bad person, :P, having a bunch of drivers randomly vanish because you dared to run make menuconfig w/o rust in path is terrible
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
<MichaelLong>
in some kernel include file.
<MichaelLong>
I used this https://codentium.com/building-a-linux-kernel-with-rust-support-on-gentoo/ (now older) article, but stopped as I have rust 1.66.1 (the kernel would like to have 1.66.0) and bindgen is available in portage in version 0.56.0 so I was save. I was able to overcome the "make LLVM=1 rustavailable" stage and can select rust in the kernel eventually but compiling the kernel failed very very early complaingin rust having some "indent" error
<MichaelLong>
(don't have the exact failure message right now as I shut down the laptop for today)
<zerdox>
MichaelLong: i am on gentoo. i would not like to compile kernel but it's maybe required for me to graphics work correctly
<MichaelLong>
zerdox, I fear it is :)
<zerdox>
ChaosPrincess ty. i guess i will remove emerged rust and will use rustup because i already cannot downgrade rustc
deteg1337 has quit [Ping timeout: 480 seconds]
<ChaosPrincess>
im using emerged rust for stuff that needs it to build and a separate rust for kernel (that rust is not in PATH unless im compiling kernels)
<ChaosPrincess>
this is all brittle and janky, but technically works
<MichaelLong>
but why?
<MichaelLong>
was I was also almost going that way but looking at packages.gentoo.org virtual/rust is already stable at 1.66.1. the ashai-kernel I use (based on 6.2.0) wants 1.66.0
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
possiblemeatball has quit [Quit: Quit]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
possiblemeatball has joined #asahi-alt
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
jamespmo_ has joined #asahi-alt
jamespmorgan has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
<chadmed>
MichaelLong: for a while the kernel rust was unstable and new versions would throw errors every week so the recommendation was to have rustup override your system toolchain
<chadmed>
but ive been using the packaged ~arm64 rustc for ages now and it works fine
possiblemeatball has quit [Quit: Quit]
deteg1337 has joined #asahi-alt
cylm_ has quit [Ping timeout: 480 seconds]
deteg1337 has quit [Ping timeout: 480 seconds]
<MichaelLong>
chadmed, a thx for the clarification. that stuff is totally new for me, just trying to get it working.
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
deteg1337 has joined #asahi-alt
deteg1337 has quit [Ping timeout: 480 seconds]
chadmed_ has joined #asahi-alt
<chadmed_>
MichaelLong: we're all learning, dont sweat it :P
<chadmed_>
ive been racking my brain trying to think of how we handle this for packaging rusty sources upstream and i think the easiest way is make a rust ebuild for bindgen
<chadmed_>
but theres already one for cbindgen (different) because firefox uses it
<chadmed_>
so its a mess
deteg1337 has joined #asahi-alt
<jannau>
it's also a mess because rustc/bindgen are neither build nor normal dependencies
<jannau>
normal dependencies are probably the better fit but would require slotted rustc/bindgen
<chadmed_>
rustc is slotted now i think?
<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
<chadmed_>
i think i put an RDEPEND on a specific version of rust behind the
<chadmed_>
"rust" USE flag in our ebuild
<chadmed_>
with the gpu coming down the pipeline ill start thinking a bit harder about it
<jannau>
ah, rust is slotted but virtual/rust and rust-bin are not
<chadmed_>
sam_- might have some ideas
<jannau>
bindgen is hopefully less of a problem once the kernel is updated for allow/block-list