Files
rtems/spec/build/bsps/m68k/mcf5329
Jeremy Lorelli 297dc2367b bsps/m68k: Add -D_LDBL_EQ_DBL=1 workaround to ABI_FLAGS
This is to workaround a difficult bug in newlib related to
configure-time generation of this flag in newlib.h. Since there is no
multi-lib mechanism for headers, _LDBL_EQ_DBL ends up in newlib.h, which
is installed architecture wide. The default -mcpu= setting for the 68k
toolchain does support long double, so this flag is not defined in
newlib.h.

However, Coldfire targets lack support for long double, leading to some
undesirable behavior in the C/C++ standard headers. ieeefp.h has
numerous sanity checks that will #error and <cmath> from C++ will fail
to compile.

It doesn't look like this issue will ever be fixed in newlib, so we'll
just define this manually as a workaround.
2026-01-23 13:39:43 +11:00
..
2023-05-20 11:05:26 +02:00