[RTEMS Project] #4069: dl06 does not link on RISCV

RTEMS trac trac at rtems.org
Wed Sep 9 07:35:50 UTC 2020


#4069: dl06 does not link on RISCV
-------------------------+-------------------------------------------------
 Reporter:  Chris Johns  |       Owner:  Hesham Almatary
                         |  <Hesham.Almatary@…>
     Type:  defect       |      Status:  reopened
 Priority:  normal       |   Milestone:  6.1
Component:  tool         |     Version:  6
 Severity:  normal       |  Resolution:
 Keywords:               |  Blocked By:
 Blocking:               |
-------------------------+-------------------------------------------------

Comment (by Jiri Gaisler):

 Replying to [comment:7 Chris Johns]:
 > I built the tests and `dl01` to `dl04` pass and `dl05` to `dl09` fail. I
 tried to have a look at `dl05` however gdb reported:
 > {{{
 > (gdb) target remote :1234
 > Remote debugging using :1234
 > Truncated register 52 in remote 'g' packet
 > }}}
 > then disconnected me from `sis`.

 Make sure you use the extended-remote target, and riscv-rtems5-sis:

 $ riscv-rtems5-sis -gdb
 .
 .


 $ riscv-rtems6-gdb ./riscv-
 rtems6/c/griscv/testsuites/psxtests/psxfenv01.exe

 $ (gdb) tar extended-remote localhost:1234
 Remote debugging using localhost:1234
 0x00000000 in ?? ()
 (gdb) load
 Loading section .start, size 0xa8 lma 0x40000000
 Loading section .text, size 0x15138 lma 0x400000a8
 Loading section .rodata, size 0x1c1d lma 0x400151e0
 Loading section .eh_frame, size 0x68 lma 0x40016e00
 Loading section .init_array, size 0x4 lma 0x40016e68
 Loading section .fini_array, size 0x4 lma 0x40016e6c
 Loading section .rtemsroset, size 0x74 lma 0x40016e70
 Loading section .data, size 0x490 lma 0x40016ee8
 Loading section .sdata, size 0xac lma 0x40017380
 Start address 0x40000000, load size 95261
 Transfer rate: 4429 KB/sec, 237 bytes/write.
 (gdb) run

--
Ticket URL: <http://devel.rtems.org/ticket/4069#comment:8>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list