<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Oct 10, 2020 at 8:13 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 10/10/2020 15:11, Sebastian Huber wrote:<br>
<br>
> Hello Kinsey,<br>
><br>
> the new aarch64/a53_ilp32_qemu produces a lot of warnings like this:<br>
><br>
> ../../../testsuites/psxtests/psxhdrs/math/truncl.c:45:12: warning: <br>
> implicit declaration of function 'truncl' <br>
> [-Wimplicit-function-declaration]<br>
> ../../../testsuites/psxtests/psxhdrs/math/truncl.c:45:12: warning: <br>
> incompatible implicit declaration of built-in function 'truncl'<br>
><br>
> Is this a known issue?<br></blockquote><div><br></div><div>It is likely that this is because some/many architectures do not</div><div>have long double support in newlib. Or have a true long double</div><div>type. This will require a newlib discussion.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
There is also this warning:<br>
<br>
cpukit/libmisc/stackchk/check.c:455:5: warning: cast to pointer from <br>
integer of different size [-Wint-to-pointer-cast]<br>
<br>
This is probably an error. Could you please fix the warnings specific to <br>
the new BSPs.<br></blockquote><div><br></div><div>This looks like code being sloppy that isn't the fault of this BSP. It is</div><div>just one where sizeof(int) != sizeof(void *). </div><div><br></div><div>Kinsey.. likely solution is to replace the cast/type with intptr_t or uintptr_t.</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><br>
</blockquote></div></div>