From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: Eshan Dhawan <eshandhawan51@gmail.com>
Cc: Newlib <newlib@sourceware.org>
Subject: Re: fenv() support broken with GCC 10 on ARM
Date: Wed, 8 Jul 2020 19:45:28 +0200 [thread overview]
Message-ID: <679710cc-8ecd-b216-1f74-aadd1379ebb8@embedded-brains.de> (raw)
In-Reply-To: <CAH5ZSWpeEbmvPwLcOMeZKek9JG2O2En2ZAEruNJ_N0x-q9JQow@mail.gmail.com>
On 08/07/2020 19:42, Eshan Dhawan wrote:
>
>
> On Wed, Jul 8, 2020 at 10:57 PM Sebastian Huber
> <sebastian.huber@embedded-brains.de
> <mailto:sebastian.huber@embedded-brains.de>> wrote:
>
> On 08/07/2020 15:00, Sebastian Huber wrote:
>
> > Hello,
> >
> > I get the following linker errors with GCC and the latest Newlib
> on ARM:
> >
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/bin/ld:
>
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb/cortex-m3/libm.a(lib_a-fenv-vfp.o):/scratch/git-rtems-source-builder/rtems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:61:
>
> > multiple definition of `__softfloat_float_rounding_mode';
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb/cortex-m3/libm.a(lib_a-fenv-softfp.o):/scratch/git-rtems-source-builder/rtems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:61:
>
> > first defined here
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/bin/ld:
>
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb/cortex-m3/libm.a(lib_a-fenv-vfp.o):/scratch/git-rtems-source-builder/rtems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:60:
>
> > multiple definition of `__softfloat_float_exception_mask';
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb/cortex-m3/libm.a(lib_a-fenv-softfp.o):/scratch/git-rtems-source-builder/rtems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:60:
>
> > first defined here
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/bin/ld:
>
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb/cortex-m3/libm.a(lib_a-fenv-vfp.o):/scratch/git-rtems-source-builder/rtems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:59:
>
> > multiple definition of `__softfloat_float_exception_flags';
> >
> /build/rtems/6/lib/gcc/arm-rtems6/10.1.1/../../../../arm-rtems6/lib/thumb/cortex-m3/libm.a(lib_a-fenv-softfp.o):/scratch/git-rtems-source-builder/rtems/build/arm-rtems6-gcc-50666d2-newlib-f095752-x86_64-linux-gnu-1/build/arm-rtems6/thumb/cortex-m3/newlib/targ-include/machine/fenv-softfloat.h:59:
>
> > first defined here
>
>
> Could you tell the the Newlib configurations you used
> So I could regenerate the issue :)
The latest RTEMS 6 RSB. You can also guess it from the output that the
target is arm-rtems6, GCC is 50666d2 and Newlib is f095752.
prev parent reply other threads:[~2020-07-08 17:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 13:00 Sebastian Huber
2020-07-08 13:19 ` Joel Sherrill
2020-07-08 17:26 ` Sebastian Huber
2020-07-08 17:41 ` Sebastian Huber
[not found] ` <CAH5ZSWo_nqnALqjgUDxUX_9B8pNLHK3kwTktXYQ_Lh+d4aJDfw@mail.gmail.com>
[not found] ` <bcb3c1cd-32d8-b726-fcdd-5bcc7c6d944f@embedded-brains.de>
[not found] ` <CAH5ZSWpcBh=EEjvcz3c956CbR9JvHA_UTfxyGJCG4B4jhWtt2w@mail.gmail.com>
2020-07-09 18:07 ` Sebastian Huber
2020-07-08 17:42 ` Eshan Dhawan
2020-07-08 17:45 ` Sebastian Huber [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=679710cc-8ecd-b216-1f74-aadd1379ebb8@embedded-brains.de \
--to=sebastian.huber@embedded-brains.de \
--cc=eshandhawan51@gmail.com \
--cc=newlib@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).