On 9/1/2021 1:00 AM, Christophe Lyon via Gcc-patches wrote:
On Wed, Sep 1, 2021 at 7:09 AM Sebastian Huber <
sebastian.hu...@embedded-brains.de> wrote:

On 30/08/2021 14:01, Sebastian Huber wrote:
Do not declare abort in "libgcc/unwind-arm-common.inc" since it is
already
provided by "tsystem.h".  It fixes the following build error:

In file included from libgcc/config/arm/unwind-arm.c:144:
libgcc/unwind-arm-common.inc:55:24: error: macro "abort" passed 1
arguments, but takes just 0
     55 | extern void abort (void);

libgcc/

       * unwind-arm-common.inc (abort): Remove.
Could someone please have a look at this patch. Currently, the arm build
with inhibit_libc is broken.
OK.  Or just wrap it with #ifndef abort if removing it causes other problems.

Jeff

Reply via email to