sorear changed the topic of #riscv to: RISC-V instruction set architecture | https://riscv.org | Logs: https://libera.irclog.whitequark.org/riscv | Matrix: #riscv:catircservices.org
thanosengine has joined #riscv
khem has joined #riscv
KombuchaKip has quit [Quit: Leaving.]
marcj has joined #riscv
_whitelogger has joined #riscv
BootLayer has joined #riscv
hexdump0815 has quit [Ping timeout: 244 seconds]
hexdump0815 has joined #riscv
JanC has quit [Ping timeout: 248 seconds]
JanC has joined #riscv
BootLayer has quit [Quit: Leaving]
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.
<drewfustini> I was trying to use this https://mirrors.edge.kernel.org/pub/tools/llvm/rust/
<drewfustini> but I'm not sure if that would support cross compiling or not
Trifton has joined #riscv
Trifton has quit [Remote host closed the connection]
Trifton has joined #riscv
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
<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:
<drewfustini> Thanks. I didn't know much about rustup so I'll try it out
<kepstin> if this is kernel stuff i don't think the kernel even uses the rust standard library?
<kepstin> probably still some target-specific stuff required tho, and it certainly won't hurt to get a fully setup toolchain
Guest6754 has joined #riscv
jobol has joined #riscv
Guest6754 has quit [Quit: Client closed]
JRepin has quit [Ping timeout: 268 seconds]
JRepin has joined #riscv
ldevulder has quit [Ping timeout: 272 seconds]
BootLayer has joined #riscv
<drewfustini> Yeah this is for Linux kernel
stolen has joined #riscv
impomatic has quit [Quit: Client closed]
KombuchaKip has joined #riscv
xless1 has joined #riscv
Andre_Z has joined #riscv
impomatic has joined #riscv
BootLayer has quit [Quit: Leaving]
usama3 has joined #riscv
kaaliakahn has quit [Quit: Leaving]
coldfeet has joined #riscv
EchelonX has joined #riscv
EchelonX has quit [Client Quit]
stolen has quit [Quit: Connection closed for inactivity]
EchelonX has joined #riscv
impomatic has quit [Quit: Client closed]
Trifton has joined #riscv
coldfeet has quit [Quit: Lost terminal]
zjason` has joined #riscv
zjason has quit [Ping timeout: 276 seconds]
prabhakalad has joined #riscv
Andre_Z has quit [Quit: Leaving.]
cleger has quit [Ping timeout: 265 seconds]
Trifton has quit [Quit: TOADiE v1.2 - Raid [SLAM] <It's time for a reinstall... HeHeHe>]
Trifton has joined #riscv
m5zs7k has quit [Ping timeout: 252 seconds]
thanosengine is now known as eden
eden has quit [Quit: WeeChat 4.6.1]
jobol has quit [Quit: Leaving]
m5zs7k has joined #riscv
thanosengine has joined #riscv
thanosengine has quit [Quit: WeeChat 4.6.1]
thanosengine has joined #riscv
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
EchelonX has quit [Quit: Leaving]
sakman has quit [Quit: Leaving]
prabhakalad has quit [Read error: Connection reset by peer]
prabhakalad has joined #riscv
nexR has quit [Read error: Connection reset by peer]
_whitelogger has joined #riscv