[PATCH rtems-source-builder] rtems-gcc-12-newlib-head.cfg: Update to include true long double math

Joel Sherrill joel at rtems.org
Thu May 18 12:57:04 UTC 2023


Thanks for the ACK.

FreeBSD has support for two other architectures -- RISC-V and PowerPC. But
they were going to require more work. It was a lot just to get the base
infrastructure in.

RISC-V only had 64-bit support in FreeBSD as I recall. I'm hoping we can
politely beg Hesham to tweak that and get it merged.

PowerPC has separate 32 and 64 bit FreeBSD ports. They would have to be
merged based on our multilib of 32/64 bit environments.

I am unsure how both would deal with the situation where there is some odd
FP configuration.  The selection of long double implementation is primarily
at configuration time.

--joel

On Wed, May 17, 2023 at 7:10 PM Chris Johns <chrisj at rtems.org> wrote:

> OK. Well done on the long doubles work.
>
> Chris
>
> On 18/5/2023 7:13 am, Joel Sherrill wrote:
> > Previously newlib only had long double math functions when the
> > sizeof(double) was equal to sizeof(long double). Newlib now includes
> > support for true long double on x86, x86_64, and aarch64.
> > ---
> >  rtems/config/tools/rtems-gcc-12-newlib-head.cfg | 4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > index 16d075f..f4c47d4 100644
> > --- a/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > +++ b/rtems/config/tools/rtems-gcc-12-newlib-head.cfg
> > @@ -38,13 +38,13 @@
> >
> KEmxHjYOqY4LTXCMZ3I60tbHusbR5GlnP0CLARHPAnhCnovDj9K3U43C1bsMxDDGRqD6fwtrEFoEgqVFX63IuQ==
> >  # Comment above related to #4657 and patches ends here
> >
> > -%define newlib_version c3798a2
> > +%define newlib_version 9ae9eef
> >  %define newlib_external 1
> >  %define newlib_expand_name
> sourceware-mirror-newlib-cygwin-%{newlib_version}
> >  %source set newlib --rsb-file=newlib-%{newlib_version}.tar.gz \
> >
> https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/%{newlib_version}
> >  %hash sha512 newlib-%{newlib_version}.tar.gz \
> > -
> 8qSfmZdAuDUgRX8WFyuMDGgEf+6CPbfo6bxOsBgrPHR++9QzunlFhMEnc1bV46pnCZUmcCWTXPH/+A7TSN4n4A==
> > +
> fV58RABHBBWQudHD0a/B0FLN75Uoy0NiieV1q/83OcP61p484DT2oLp41MlLcVMw8YOXxG+gfJ9KcRlw87A4GQ==
> >
> >  %define with_threads 1
> >  %define with_plugin 0
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20230518/67651906/attachment.htm>


More information about the devel mailing list