riscv64-absolute-symbols fails with GCC 14
marxin opened this issue · 9 comments
marxin commented
It started to fail on around August 31, though it might have been caused by a change in the GCC 14 compiler. The binary does not produce any output:
[ 5308s] + out/test/riscv64/absolute-symbols/exe
[ 5308s] + out/test/riscv64/absolute-symbols/exe
[ 5308s] + grep -q '^ip=0x80000.$'
rui314 commented
When I ran your executable in a riscv64/ubuntu
docker image, it printed out ip=0x800008
. So it looks like it's system-dependent?
marxin commented
Maybe. @andreas-schwab can help us, I guess?
andreas-schwab commented
It's a qemu bug.
rui314 commented
Did you have a link to the qemu bug?
andreas-schwab commented
No.
rui314 commented
How did you know it was a qemu bug?
andreas-schwab commented
$ qemu-riscv64 ./exe
mmap stack: Cannot allocate memory
marxin commented
@andreas-schwab Can you file an issue so that upstream knows about it?
andreas-schwab commented
0x7ee000 0x866000 0x78000 0x0 rw-p [heap]