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

RTEMS trac trac at rtems.org
Thu Sep 10 07:21:02 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:9 Chris Johns]:
 > Replying to [comment:8 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
 > > .
 >
 > I built it using the `devel/sis` RSB package and I only got an `sis`
 executable installed.
 >
 > {{{
 > $ ../source-builder/sb-set-builder --list-bsets | grep sis
 >     devel/sis.bset
 > $ ls /opt/work/rtems/6/bin/ | grep sis
 > sis
 > sparc-rtems6-sis
 > }}}
 >
 > I checked the build log and there is no `riscv-rtems[56]-sis` installed.
 I see a `sparc-rtems-sis` installed. Where do the those come from?
 >
 > I will push a change to the RSB to build 2.22.
 >
 > >
 > > $ riscv-rtems6-gdb ./riscv-
 rtems6/c/griscv/testsuites/psxtests/psxfenv01.exe
 > >
 > > $ (gdb) tar extended-remote localhost:1234
 >
 > I added `-riscv` to the `sis` command line and it works. It must have
 been defaulting to the `sparc` simulation.
 >
 > Note, the `-riscv` option is spelt wrong in the usage help.

 I have updated RSB to also build sis for RISC-V. This was previously done
 only for rtems5, not rtems6.

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


More information about the bugs mailing list