kerzhak has quit [Remote host closed the connection]
kerzhak_ has joined #riscv
kerzhak_ is now known as kerzhak
Trifton has quit [Ping timeout: 268 seconds]
troglodito has quit [Ping timeout: 252 seconds]
leah2 has quit [Ping timeout: 260 seconds]
troglodito has joined #riscv
Trifton has joined #riscv
Trifton has quit [Client Quit]
JRepin has quit [Remote host closed the connection]
JRepin has joined #riscv
JanC has quit [Ping timeout: 248 seconds]
JanC has joined #riscv
JanC has quit [Ping timeout: 252 seconds]
JanC has joined #riscv
leah2 has joined #riscv
hmw has quit [Quit: Bye.]
hmw has joined #riscv
<drewfustini>
conchuod: you have rust working for arch riscv? I'm trying to figure out how to get llvm and rust building now that there is a th1520 rust pwm driver.
<xypron>
drewfustini: Ubuntu 25.04 has rustc available on RISC-V in these packages: rustc-1.81: /usr/bin/rustc-1.81, rustc-1.82: /usr/bin/rustc-1.82, rustc-1.83: /usr/bin/rustc-1.83, rustc-1.84: /usr/bin/rustc-1.84, rustup: /usr/bin/rustc
haritz has quit [Remote host closed the connection]
<mps>
alpine has rust 1.87.0
cleger has joined #riscv
ldevulder has joined #riscv
thanosengine has quit [Remote host closed the connection]
thanosengine has joined #riscv
naoki has quit [Ping timeout: 272 seconds]
JanC has quit [Killed (tantalum.libera.chat (Nickname regained by services))]
JanC has joined #riscv
naoki has joined #riscv
naoki1 has joined #riscv
naoki1 has quit [Client Quit]
naoki has quit [Ping timeout: 248 seconds]
naoki has joined #riscv
Trifton has quit [Ping timeout: 244 seconds]
naoki1 has joined #riscv
naoki has quit [Ping timeout: 276 seconds]
naoki has joined #riscv
naoki1 has quit [Ping timeout: 248 seconds]
naoki1 has joined #riscv
naoki has quit [Ping timeout: 252 seconds]
naoki1 is now known as naoki
naoki has quit [Client Quit]
naoki1 has joined #riscv
naoki1 has quit [Read error: Connection reset by peer]
naoki has joined #riscv
naoki1 has joined #riscv
naoki has quit [Ping timeout: 244 seconds]
naoki1 has quit [Ping timeout: 252 seconds]
Trifton has joined #riscv
naoki has joined #riscv
naoki1 has joined #riscv
naoki has quit [Ping timeout: 276 seconds]
naoki1 has quit [Ping timeout: 244 seconds]
naoki has joined #riscv
bjoto has joined #riscv
Trifton has quit [Quit: TOADiE v1.2 - Raid [SLAM] <It's time for a reinstall... HeHeHe>]
Trifton has joined #riscv
Trifton has quit [Remote host closed the connection]
<drewfustini>
xypron: thanks!
impomatic has joined #riscv
sakman has joined #riscv
naoki has quit [Quit: naoki]
<drewfustini>
xypron: I'm on x86. do I just need one rust compiler or do I need separate llvm and rust for cross compiling for riscv?
<drewfustini>
*cross compiling Linux for riscv
<drewfustini>
I've only used used gcc before where it's normal to have a cross compiler package
<kepstin>
llvm and rust can be built to support compiling to multiple arches (and are by default), but you also need a copy of the standard library built for riscv to compile apps for riscv.
<kepstin>
if you're using rustup it's straightforwards, run "rustup target add riscv64gc-unknown-linux-gnu" or so and it'll pull the required libraries
haritz has joined #riscv
haritz has quit [Changing host]
haritz has joined #riscv
<kepstin>
(you may also need a cross-compiling C toolchain and cross-compiling or multi-arch linker)
<conchuod>
drewfustini: my toolchain came from rustup
<conchuod>
There's some stuff you need to turn off (or you needed to, might be diff now but my config hasnt changed) so make sure you open menuconfig and check that rust isn't blocked by some clang features
<drewfustini>
Thanks
<conchuod>
For example, CFI_CLANG can be a blocker
<conchuod>
Like look at the config option for rust: