[RTEMS Project] #3827: make fail following quickstart guide

RTEMS trac trac at rtems.org
Thu Nov 28 22:37:44 UTC 2019


#3827: make fail following quickstart guide
-------------------------+--------------------
  Reporter:  md403       |      Owner:  (none)
      Type:  defect      |     Status:  new
  Priority:  normal      |  Milestone:
 Component:  arch/riscv  |    Version:  5
  Severity:  normal      |   Keywords:
Blocked By:              |   Blocking:
-------------------------+--------------------
 I am attempting to follow the quickstart guide.

 Host:
 Macbook Pro
 2.3 GHz Quad-Core Intel Core i5
 16 GB 2133 MHz LPDDR3
 MacOS 10.15.1 Catalina

 Target:
 RISC-V
 rv32i

 I am in step 2.6 of the quickstart (Build a BSP).  Everything up to and
 including creating the Makefile appears to have gone fine.

 I build the Makefile with the following command, modified from the
 quickstart guide:

 {{{#!bash
 cd $HOME/projects/rtems_root/build/b-rv32i
 export PATH=$HOME/projects/rtems_root/rtems/5/bin:$PATH
 $HOME/projects/rtems_root/src/rtems/configure \
     --prefix=$HOME/projects/rtems_root/rtems/5 \
     --enable-maintainer-mode \
     --target=riscv-rtems5 \
     --enable-rtemsbsp=rv32i \
     --enable-tests
 }}}

 I type
 {{{#!bash
 make
 }}}

 and it proceeds just fine for a while and then I get the following:

 {{{#!bash
 rtems-ld -r /Users/michaeldodson/projects/rtems_root/build/b-rv32i/riscv-
 rtems5/c/rv32i \
           -C riscv-rtems5-gcc -c "-march=rv32i -mabi=ilp32" \
           -O rap -b dl06.pre -e rtems_main -s \
           -o dl06.rap dl06-o1.o dl06-o2.o -lm
 error: rap::object: Section index '0' not found: dl06-o1.o
 make[5]: *** [dl06.rap] Error 10
 }}}

 I submit this with some trepidation, as a) I'm brand new, and b) I see
 there's one ticket with a similar complaint (though no description) which
 is about a year old...

--
Ticket URL: <http://devel.rtems.org/ticket/3827>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list