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
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #riscv
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
agentcasey has quit [Ping timeout: 248 seconds]
prabhakalad has quit [Ping timeout: 252 seconds]
prabhakalad has joined #riscv
jacklsw has joined #riscv
Tenkawa has quit [Quit: Was I really ever here?]
fuwei has joined #riscv
fuwei has quit [Ping timeout: 276 seconds]
fuwei has joined #riscv
heat__ has quit [Ping timeout: 246 seconds]
BootLayer has joined #riscv
jacklsw has quit [Ping timeout: 246 seconds]
midfavila has joined #riscv
sajattack has quit [Ping timeout: 252 seconds]
atka has quit [Ping timeout: 252 seconds]
jacklsw has joined #riscv
BootLayer has quit [Quit: Leaving]
sajattack has joined #riscv
sajattack has quit [Read error: Connection reset by peer]
sajattack has joined #riscv
sajattack has quit [Remote host closed the connection]
sajattack has joined #riscv
mlw_ has quit [Ping timeout: 260 seconds]
mlw has joined #riscv
atka has joined #riscv
DragonMaus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DragonMaus has joined #riscv
coldfeet has joined #riscv
coldfeet has quit [Remote host closed the connection]
markh has quit [Ping timeout: 260 seconds]
jobol has joined #riscv
levitating has joined #riscv
ldevulder has joined #riscv
cleger_ has joined #riscv
levitating has quit [Ping timeout: 246 seconds]
levitating has joined #riscv
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #riscv
danilogondolfo has joined #riscv
danilogondolfo has quit [Remote host closed the connection]
danilogondolfo has joined #riscv
coldfeet has joined #riscv
lagash has quit [Ping timeout: 248 seconds]
zjason` is now known as zjason
heat has joined #riscv
damian101 has joined #riscv
pabs3 has quit [Quit: Don't rest until all the world is paved in moss and greenery.]
pabs3 has joined #riscv
flatmush has joined #riscv
jacklsw has quit [Ping timeout: 255 seconds]
markh has joined #riscv
jfsimon1981 has quit [Read error: Connection reset by peer]
jfsimon1981 has joined #riscv
lagash has joined #riscv
heat has quit [Ping timeout: 246 seconds]
heat has joined #riscv
X-Scale has joined #riscv
damian101 has quit [Ping timeout: 246 seconds]
levitating has quit [Remote host closed the connection]
damian101 has joined #riscv
iooi has quit [Read error: Connection reset by peer]
iooi has joined #riscv
heat has quit [Read error: Connection reset by peer]
heat has joined #riscv
unlord_ is now known as unlord
lemoniter has joined #riscv
heat has quit [Read error: Connection reset by peer]
heat has joined #riscv
Tenkawa has joined #riscv
damian101 has quit [Ping timeout: 248 seconds]
heat has quit [Read error: Connection reset by peer]
heat has joined #riscv
heat has quit [Read error: Connection reset by peer]
heat has joined #riscv
ln5 has quit [Remote host closed the connection]
Starfoxxes has quit [Ping timeout: 260 seconds]
inad922 has joined #riscv
<inad922> Hello
<inad922> Could someone either help me with how to build gdb for Risc-V with python support from this repository https://github.com/riscv-collab/riscv-gnu-toolchain or suggest a place where I can ask about it? I tried ` GDB_TARGET_FLAGS_EXTRA="--with-python --with-python-libdir" ./configure --prefix=/opt/riscv` but it doesn't seem to build it with python
<inad922> support unfortunately.
<inad922> I mean that `configure` command and the corresponding `make`.
Starfoxxes has joined #riscv
<palmer> shouldn't `--with-python-libdir`take a path?
<inad922> It doesn't seem to drop an error due to that.
<inad922> I checked out https://sourceware.org/git/binutils-gdb.git just in case and issued `./configure --with-python --with-python-libdir`. Shouldn't this fail with the configure script?
naoki has quit [Quit: naoki]
<palmer> inad922: I'd expect configure to fail if the path is necessary, but maybe it just produces a python that doesn't work?
<palmer> is there anything exciting in the configure output?
<inad922> palmer It compiles gdb fine but `/opt/riscv/bin/riscv64-unknown-elf-gdb --config | grep '\-\-with\-python'` comes back empty.
<inad922> > is there anything exciting in the configure output?
<inad922> No, nothing irregular.
<palmer> so you get some sort of message saying it enables python, and then it doesn't? I'm running on locally, IIRC this used to work fine
<inad922> > so you get some sort of message saying it enables python.
<inad922> No I peaked into the configure script and set the environment variable `GDB_TARGET_FLAGS_EXTRA` to the extra flags that are passed down to the build in the gdb submodule.
<inad922> At least that's what I thought I do. I'm not sure anymore.
levitating has joined #riscv
impomatic has joined #riscv
<palmer> inad922: so there should be a binutils-gdb submodule, and then a gdb folder in there. There's a `config.log` for that folder, you should see some python-related stuff (around `configure:27912: checking whether to use python` for me)
Stat_headcrabed has joined #riscv
balrog has quit [Ping timeout: 245 seconds]
balrog has joined #riscv
<inad922> palmer I checked the submodule configuration, cloned binutils-gdb separately, checked out the branch that the submodule pointed to and tried building from there. Looks like the python headers were missing on my machine. I give it another go with those installed.
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<inad922> Also I can't find no config.log anywhere.
<inad922> Yes, so installing the relevant python header files and compiling binutils-gdb that way worked. I also used the `--with-python=$(which python)` flag. The libdir was not needed. Now I try it with the riscv repo
<impomatic> Hi, there are a few RISC-V assembly programming books on Amazon. Any recommendations, or ones to avoid?
<palmer> impomatic: people like Andrew's
cleger_ has quit [Quit: Leaving]
<impomatic> palmer: thanks, is it still pretty up-to-date? There have been a few published since (including a couple this year), but no reviews.
<palmer> impomatic: there's new extensions and such, but the core of the ISA hasn't changed so it should be fine to get started
<impomatic> Thank you
Andre_Z has joined #riscv
<palmer> though I guess it depends on where you're coming from? if you don't know any other assembly languages then it might just be best to get a textbook (we used Patt/Patel). At a certain point all the RISC-flavored assembly is pretty much the same...
coldfeet has quit [Remote host closed the connection]
BootLayer has joined #riscv
<inad922> Also godbolt or objdumping some simple programs that were compiled for Risc-V.
jfsimon1981 has quit [Read error: Connection reset by peer]
jfsimon1981 has joined #riscv
vagrantc has joined #riscv
craigo has joined #riscv
aethlas_ has quit [Quit: bye]
Stat_headcrabed has joined #riscv
aethlas has joined #riscv
___nick___ has joined #riscv
Andre_Z has quit [Ping timeout: 246 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
coldfeet has joined #riscv
inad922 has quit [Quit: Client closed]
impomatic has quit [Quit: Client closed]
khem has quit [Quit: WeeChat 4.4.1]
coldfeet has quit [Remote host closed the connection]
heat has quit [Read error: Connection reset by peer]
heat has joined #riscv
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
khem has joined #riscv
___nick___ has joined #riscv
___nick___ has quit [Client Quit]
___nick___ has joined #riscv
Stat_headcrabed has joined #riscv
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Andre_Z has joined #riscv
peepsalot has quit [Remote host closed the connection]
peepsalot has joined #riscv
impomatic has joined #riscv
BootLayer has quit [Quit: Leaving]
jfsimon1981 has quit [Remote host closed the connection]
coldfeet has joined #riscv
mlw has quit [Ping timeout: 246 seconds]
X-Scale has quit [Quit: Client closed]
Andre_Z has quit [Quit: Leaving.]
coldfeet has quit [Remote host closed the connection]
zjason has quit [Read error: Connection reset by peer]
X-Scale has joined #riscv
zjason has joined #riscv
atka has quit [Quit: WeeChat 4.4.1]
___nick___ has quit [Ping timeout: 255 seconds]
naoki has joined #riscv
X-Scale has quit [Quit: Client closed]
naoki has quit [Quit: naoki]
X-Scale has joined #riscv
ldevulder has quit [Quit: Leaving]
atka has joined #riscv
naoki has joined #riscv
jobol has quit [Quit: Leaving]
TMM has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
TMM has joined #riscv
danilogondolfo has quit [Quit: Leaving]
impomatic has quit [Quit: Client closed]
impomatic has joined #riscv
vagrantc has quit [Quit: leaving]
pdziepak has quit [Ping timeout: 248 seconds]
pdziepak has joined #riscv
aethlas has quit [Quit: bye]
DesRoin has quit [Ping timeout: 246 seconds]
aethlas has joined #riscv
aethlas has quit [Client Quit]
DesRoin has joined #riscv
pdziepak has quit [Ping timeout: 246 seconds]
aethlas has joined #riscv
pdziepak has joined #riscv