<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 22, 2020 at 2:22 AM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 22/06/2020 08:38, Chris Johns wrote:<br>
<br>
> On 22/6/20 2:11 am, <a href="mailto:Jan.Sommer@dlr.de" target="_blank">Jan.Sommer@dlr.de</a> wrote:<br>
>> Hello,<br>
>><br>
>> I just tried to compile some riscv bsps with tests enabled and got a <br>
>> compile time error for the dl06 test.<br>
>> I tried with griscv and rv32imac with the following configure:<br>
>><br>
>> ../rtems-5.0.0-m2006-2/configure --target=riscv-rtems5 <br>
>> --prefix../install/bsps --disable-networking --enable-tests <br>
>> --enable-rtemsbsp=griscv<br>
>><br>
>> I got the following error:<br>
>><br>
>> rtems-ld -r <br>
>> /localdata2/somm_ja/rtems/5-0-rc/build-riscv/riscv-rtems5/c/griscv \<br>
>> -C riscv-rtems5-gcc -c "-march=rv32imafd -mabi=ilp32d" \<br>
>> -O rap -b dl06.pre -e rtems_main -s \<br>
>> -o dl06.rap dl06-o1.o dl06-o2.o -lm<br>
>> error: rap::object: Section index '0' not found: dl06-o1.o<br>
><br>
> Thank you for reporting this. I can reproduce it.<br>
><br>
> Please raise a ticket and assign it to the 5.2 milestone. <br>
<br>
Is libdl supported at all on riscv? In the new build system I excluded <br>
the libdl tests from the build for riscv. Do we need something like this:<br>
<br>
diff --git a/testsuites/libtests/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a> <br>
b/testsuites/libtests/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
index 3b5462600d..fa07269c1a 100644<br>
--- a/testsuites/libtests/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
+++ b/testsuites/libtests/<a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a><br>
@@ -49,7 +49,7 @@ AM_CONDITIONAL(HAS_POSIX,test <br>
x"${rtems_cv_RTEMS_POSIX_API}" = x"yes")<br>
# Must match the list in cpukit.<br>
AC_MSG_CHECKING([whether CPU supports libdl])<br>
case $RTEMS_CPU in<br>
- arm | i386 | m68k | mips | moxie | powerpc | riscv | sparc)<br>
+ arm | i386 | m68k | mips | moxie | powerpc | sparc)<br>
TEST_LIBDL=yes ;;<br>
# bfin has an issue to resolve with libdl. See ticket #2252<br>
bfin)<br>
<br>
Plus a ticket to add libdl support for riscv?<br>
<br>
I wonder why the BSP builder didn't surface this issue here.<br></blockquote><div><br></div><div>If I recall correctly, the BSP builder doesn't build tests and my build</div><div>sweep doesn't send email if the attempt to build the BSP fails. It </div><div>only sends reports from rtems-tester. And I am going to guess that</div><div>I didn't notice that my sweeps were not generating any reports for</div><div>RISCV BSPs. :(</div><div><br></div><div>--joel</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>