https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115481

            Bug ID: 115481
           Summary: HAVE_* for long double math functions wrong for
                    avrlibc (target AVR)
           Product: gcc
           Version: 15.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dv at vollmann dot ch
  Target Milestone: ---

Created attachment 58420
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=58420&action=edit
possible patch

New versions of avrlibc provide long double math functions, but crossmake.m4
doesn't know about them.  The result is that libstdc++ doesn't build due to
duplicate definitions in math_stubs_long_double.cc.

The fix is the same as commit c6c428196d4c76208a0d34aacfa80b57a20f5097 for
AArch64 RTEMS, just at a different place.

This is somewhat related to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639.

Reply via email to