public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/115481] New: HAVE_* for long double math functions wrong for avrlibc (target AVR)
@ 2024-06-13 20:24 dv at vollmann dot ch
  2024-06-13 20:30 ` [Bug libstdc++/115481] " pinskia at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: dv at vollmann dot ch @ 2024-06-13 20:24 UTC (permalink / raw)
  To: gcc-bugs

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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-06-15  7:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-13 20:24 [Bug libstdc++/115481] New: HAVE_* for long double math functions wrong for avrlibc (target AVR) dv at vollmann dot ch
2024-06-13 20:30 ` [Bug libstdc++/115481] " pinskia at gcc dot gnu.org
2024-06-14 11:02 ` dv at vollmann dot ch
2024-06-14 15:37 ` redi at gcc dot gnu.org
2024-06-15  7:57 ` gjl at gcc dot gnu.org

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).