<div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Aug 16, 2023, 8:30 PM Chris Johns <<a href="mailto:chrisj@rtems.org">chrisj@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 17/8/2023 6:34 am, Gedare Bloom wrote:<br>
> On Mon, Aug 14, 2023 at 10:05 PM <<a href="mailto:chrisj@rtems.org" target="_blank" rel="noreferrer">chrisj@rtems.org</a>> wrote:<br>
>><br>
>> These patches add support to rtems.git and rtems-tools.git to<br>
>> provide access to TLS variables in the base from loaded code.<br>
>> The changes contain the ground work to resolving #4920 which is<br>
>> a blocker for the release of 6.<br>
>><br>
>> This change is required due to the regression in libdl due to the<br>
>> change in newlib to use TLS variables for reneterant data.<br>
>><br>
>> The rtems.git patch can be applied before the rtems-tools.git<br>
>> patch. If the tools are updated and the libdl code is not present<br>
>> the tests fail with linker errors. If the tools change is<br>
>> not present the test will link but it will continue to fail.<br>
>><br>
>> The currently supported archs that build are:<br>
>><br>
>> - aarch64<br>
>> - arm<br>
>> - powerpc<br>
>> - sparc<br>
>><br>
>> The follow are to be completed and do not build:<br>
>><br>
>> - bfin<br>
>> - i386<br>
>> - lm32<br>
>> - m68k<br>
>> - mips<br>
>> - moxie<br>
>> - riscv<br>
>> - v850<br>
>><br>
>> We need to add support for these architectures if they support TLS.<br>
>><br>
> We are deprecating v850. It might be worth considering whether some of<br>
> these other architectures should also be deprecated, especially if no<br>
> one is able/willing to add TLS for them.<br>
<br>
>From Joel's comments on #4920 some have TLS but the newlib support has not been<br>
updated. Newlib TLS support for reent is a nice and welcomed feature but not<br>
having newlib TLS support means the arch is performing as before.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div><div dir="auto">Is TLS off on some architectures?</div><div dir="auto"><br></div><div dir="auto">Is that a column missing in the table I added?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
The other TSL issue is gdb is broken. If you attempt to print errno you will be<br>
told TLS is not supported by gdb for this OS.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That seems harder. </div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
A review of archs should happen before 6 is released so we can indicate which we<br>
will remove for 7. What have we indicated is to be removed in 7?<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"></blockquote></div></div><div dir="auto"> SH, v850, and sparc64.</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Chris<br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank" rel="noreferrer">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div>