public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/111687] New: libstdc++ fails to work for clang 18 any more
@ 2023-10-03 21:25 unlvsur at live dot com
  2023-10-03 21:28 ` [Bug libstdc++/111687] " pinskia at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: unlvsur at live dot com @ 2023-10-03 21:25 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 111687
           Summary: libstdc++ fails to work for clang 18 any more
           Product: gcc
           Version: 14.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

/usr/local/bin/../lib/gcc/x86_64-pc-linux-gnu/14.0.0/../../../../include/c++/14.0.0/limits:1995:1:
error: use of undeclared identifier '_Float128'
 1995 | __glibcxx_float_n(128)
      | ^
/usr/local/bin/../lib/gcc/x86_64-pc-linux-gnu/14.0.0/../../../../include/c++/14.0.0/limits:1903:27:
note: expanded from macro '__glibcxx_float_n'
 1903 |     struct numeric_limits<_Float##BITSIZE>                             
\
      |                           ^
<scratch space>:325:1: note: expanded from here
  325 | _Float128
      | ^
1 error generated.
[29/115] Building CXX object CMakeFiles/libWAVM.dir/Lib/IR/Validate.cpp.o
ninja: build stopped: subcommand failed.

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

* [Bug libstdc++/111687] libstdc++ fails to work for clang 18 any more
  2023-10-03 21:25 [Bug libstdc++/111687] New: libstdc++ fails to work for clang 18 any more unlvsur at live dot com
@ 2023-10-03 21:28 ` pinskia at gcc dot gnu.org
  2023-10-03 21:28 ` pinskia at gcc dot gnu.org
  2023-10-03 21:29 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-03 21:28 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is a bug in clang:
#ifdef __FLT128_DIG__
__glibcxx_float_n(128)
#endif


__FLT128_DIG__ should not be defined if _Float128 does not exist.

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

* [Bug libstdc++/111687] libstdc++ fails to work for clang 18 any more
  2023-10-03 21:25 [Bug libstdc++/111687] New: libstdc++ fails to work for clang 18 any more unlvsur at live dot com
  2023-10-03 21:28 ` [Bug libstdc++/111687] " pinskia at gcc dot gnu.org
@ 2023-10-03 21:28 ` pinskia at gcc dot gnu.org
  2023-10-03 21:29 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-03 21:28 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WONTFIX                     |INVALID

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

* [Bug libstdc++/111687] libstdc++ fails to work for clang 18 any more
  2023-10-03 21:25 [Bug libstdc++/111687] New: libstdc++ fails to work for clang 18 any more unlvsur at live dot com
  2023-10-03 21:28 ` [Bug libstdc++/111687] " pinskia at gcc dot gnu.org
  2023-10-03 21:28 ` pinskia at gcc dot gnu.org
@ 2023-10-03 21:29 ` pinskia at gcc dot gnu.org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-10-03 21:29 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
https://www.mail-archive.com/cfe-commits@lists.llvm.org/msg361472.html

is the patch which broke clang.

Report it to them.

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

end of thread, other threads:[~2023-10-03 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-03 21:25 [Bug libstdc++/111687] New: libstdc++ fails to work for clang 18 any more unlvsur at live dot com
2023-10-03 21:28 ` [Bug libstdc++/111687] " pinskia at gcc dot gnu.org
2023-10-03 21:28 ` pinskia at gcc dot gnu.org
2023-10-03 21:29 ` pinskia 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).