Compilation error in compiling RISC-V bsps
joel at rtems.org
Thu Nov 12 16:00:17 UTC 2020
The tests that start with dl are dynamic loader tests. They require
architecture specific support which sometimes breaks. That's why there is a
ticket until it gets addressed by someone. Things get fixed as either
volunteers step up or someone gets funded to fix them.
You should be to do "make -k" to ignore this error and continue or, more
cleanly, add a ".tcfg" file to the BSP's config directory to specify that
this test should be
excluded. bsps/riscv/riscv/config/rv64imafd-testsuite.tcfg which should
need only one line:
There are lots of other .tcfg files to look at for examples.
On Wed, Nov 11, 2020 at 10:42 PM somesh deshmukh <someshdeshmukh07 at gmail.com>
> Hi All,
> Gentle reminder!!
> Can you please give some update on this query?
> I am looking into developing a custom bsp for risc-v board and an update
> on this query will be very helpful.
> On Fri, Nov 6, 2020 at 8:03 PM somesh deshmukh <someshdeshmukh07 at gmail.com>
>> I am trying to compile rv64imafd BSP and I am facing the following
>> Error log pasted below:
>> Making all-am in libtests
>> gmake: Entering directory
>> rtems-ld -r
>> /home/somesh/rtos/rtems/src/kernel/rv64imafd/riscv-rtems5/c/rv64imafd \
>> -C riscv-rtems5-gcc -c "-march=rv64imafd -mabi=lp64d" \
>> -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
>> gmake: *** [Makefile:8479: dl06.rap] Error 10
>> gmake: Leaving directory
>> The command I used for building the BSP is pasted below:
>> *../rtems/configure --prefix=$HOME/rtos/rtems/5 --target=riscv-rtems5
>> --enable-rtemsbsp=rv64imafd --enable-tests --enable-posix
>> I am using latest release of RTEMS v5.1 on ubuntu v20 system.
>> I found the discussion related to similar issue at following link:
>> There is a ticket raised for the same issue:
>> What is the status of this ticket?
> users mailing list
> users at rtems.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users