This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Bug with gcvtf
- From: Joel Sherrill <joel at rtems dot org>
- To: Rian Quinn <rianquinn at gmail dot com>
- Cc: Newlib <newlib at sourceware dot org>
- Date: Mon, 26 Aug 2019 08:32:11 -0500
- Subject: Re: Bug with gcvtf
- References: <CANmpu8V_3kgTi0X7C3VLEPGtJQnbyKSJ2DPUbrmk7G6H=Qowkg@mail.gmail.com>
- Reply-to: joel at rtems dot org
On Mon, Aug 26, 2019, 7:16 AM Rian Quinn <rianquinn@gmail.com> wrote:
> The "gcvtf" function in newlib/newlib/libc/stdlib/efgcvt.c is in the file
> before gcvt, but relies on it with an implicit definition. When attempting
> to compile Newlib on x86_64 for Libc++ support, I get a compile error as
> the definitions of the implicit version does not match the actual version.
> To fix the issue, all I had to do was to place the gcvtf version _after_
> the implementation of gcvt and it compiles fine.
>
Can you find the upstream source of this file and see if it has this change
and possibly others?
I don't doubt the change is needed but this sounds like a hint to see if we
are.in sync with the upstream.
Thanks.
--joel
>
> Rian
>