#3827 closed defect (fixed)

make fail following quickstart guide

Reported by: md403 Owned by: Hesham Almatary <Hesham.Almatary@…>
Priority: normal Milestone:
Component: arch/riscv Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

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:

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

make

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

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...

Change History (3)

comment:1 Changed on Nov 29, 2019 at 11:31:54 AM by md403

NB. The ticket I referenced is #3400

comment:2 Changed on Nov 29, 2019 at 12:34:28 PM by Hesham Almatary <Hesham.Almatary@…>

Owner: set to Hesham Almatary <Hesham.Almatary@…>
Resolution: fixed
Status: newclosed

In f0c30c5/rtems-source-builder:

5: Update rtems-tools

Fixes #3827

comment:3 Changed on Nov 29, 2019 at 1:34:50 PM by Hesham Almatary <Hesham.Almatary@…>

In a1dcc3c/rtems-source-builder:

5: Update the hash for the new rtems-tools revision

Fixes #3827

Note: See TracTickets for help on using tickets.