[Bug libgcc/110775] [12/13/14 Regression] abort define causing issues in tsystem.h

2024-03-06 Thread rearnsha at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110775

--- Comment #3 from Richard Earnshaw  ---
Perhaps we could use 

#define abort __builtin_trap

?

A quick check seems to suggest this will work ok.

[Bug libgcc/110775] [12/13/14 Regression] abort define causing issues in tsystem.h

2023-07-22 Thread sebastian.huber--- via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110775

Sebastian Huber  changed:

   What|Removed |Added

 CC||sebastian.huber@embedded-br
   ||ains.de

--- Comment #2 from Sebastian Huber  ---
In tsystem.h we have:

#ifdef inhibit_libc

...

#ifndef abort
#define abort() __builtin_trap ()
#endif

Does it make sense to define inhibit_libc and then later use  and
?

[Bug libgcc/110775] [12/13/14 Regression] abort define causing issues in tsystem.h

2023-07-21 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110775

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2023-07-22
Summary|arm-openwrt-linux-uclibcgnu |[12/13/14 Regression] abort
   |eabi bug|define causing issues in
   ||tsystem.h
 Status|UNCONFIRMED |NEW
   Target Milestone|--- |12.4
 Ever confirmed|0   |1

--- Comment #1 from Andrew Pinski  ---
This was broken by r12-3220-gcaf81d3b57501b1f .

Though it is interesting that uclibc is causing to use emutls.c here ...