<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 18, 2019 at 11:30 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</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 16/3/19 4:43 am, Joel Sherrill wrote:<br>
> Hi<br>
> <br>
> Is this the way this test fails when the BSP doesn't have enough memory?<br>
<br>
Correct, this is a test where a lot of memory is needed. The test has to make<br>
sure the code is loaded at offsets that are greater than the relative offsets in<br>
the generated code.<br>
<br>
The problem with this failure is the arch, SPARC, does not need trampoline<br>
support and so the test is actually a `nop`. I wonder if I need to handle this<br>
better in the test by coding the archs that need to have a suitable load offset?<br></blockquote><div><br></div><div>I hate to see them disabled on every BSP in every architecture that has this characteristic.</div><div><br></div><div>It would be better to teach the test to pass when it is NA.</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>
Chris<br>
<br>
> <br>
> *** BEGIN OF TEST libdl (RTL) 9 ***<br>
> *** TEST VERSION: 5.0.0.2defa94c4ce2204cf5cb86d2900d8c48e7d7d781<br>
> *** TEST STATE: EXPECTED-PASS<br>
> *** TEST BUILD: RTEMS_POSIX_API<br>
> *** TEST TOOLS: 7.4.0 20181206 (RTEMS 5, RSB<br>
> 38241392a4f96dabf2d1aba51a43dcb623db4dfb, Newlib 1d35a003f)<br>
> --------------------------------------------------<br>
>  Run: 0<br>
> Test source (link in strstr): testsuites/libtests/dl09/dl-load.c<br>
> load: /dl09-o1.o<br>
> handel: 0x206cc20: unresolved externals<br>
> handle: 0x206cc20 loaded<br>
> space alloc: /dl09-o1.o: 33554432: 0<br>
> ../../../../../../rtems/c/src/../../testsuites/libtests/dl09/dl-load.c: 156<br>
> o->space != NULL<br>
> <br>
> *** FATAL ***<br>
> fatal source: 5 (RTEMS_FATAL_SOURCE_EXIT)<br>
> fatal code: 0 (0x00000000)<br>
> RTEMS version: 5.0.0.2defa94c4ce2204cf5cb86d2900d8c48e7d7d781<br>
> RTEMS tools: 7.4.0 20181206 (RTEMS 5, RSB<br>
> 38241392a4f96dabf2d1aba51a43dcb623db4dfb, Newlib 1d35a003f)<br>
> executing thread ID: 0x08a010001<br>
> <br>
> <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><br>
> <br>
</blockquote></div></div>