public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/105021] New: [11/12 Regression] Missing freestanding headers: bits/atomic_base.h:41:10: fatal error: bits/atomic_wait.h: No such file or directory
@ 2022-03-22 17:50 redi at gcc dot gnu.org
  2022-03-22 21:21 ` [Bug libstdc++/105021] " redi at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: redi at gcc dot gnu.org @ 2022-03-22 17:50 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 105021
           Summary: [11/12 Regression] Missing freestanding headers:
                    bits/atomic_base.h:41:10: fatal error:
                    bits/atomic_wait.h: No such file or directory
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Keywords: rejects-valid
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redi at gcc dot gnu.org
  Target Milestone: ---

With -std=c++20 a simple #include <atomic> fails for a freestanding library:


In file included from /tmp/freestanding/include/c++/12.0.1/atomic:41,
                 from /tmp/freestanding/include/c++/12.0.1/bits/stdc++.h:4,
                 from <stdin>:1:
/tmp/freestanding/include/c++/12.0.1/bits/atomic_base.h:41:10: fatal error:
bits/atomic_wait.h: No such file or directory
   41 | #include <bits/atomic_wait.h>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.


That header also needs <bits/functional_hash.h> and <bits/gthr.h> which are not
freestanding either.

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

end of thread, other threads:[~2022-04-12 20:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-22 17:50 [Bug libstdc++/105021] New: [11/12 Regression] Missing freestanding headers: bits/atomic_base.h:41:10: fatal error: bits/atomic_wait.h: No such file or directory redi at gcc dot gnu.org
2022-03-22 21:21 ` [Bug libstdc++/105021] " redi at gcc dot gnu.org
2022-03-23 10:11 ` cvs-commit at gcc dot gnu.org
2022-03-23 10:41 ` [Bug libstdc++/105021] [11 " rguenth at gcc dot gnu.org
2022-04-12 20:18 ` cvs-commit at gcc dot gnu.org
2022-04-12 20:19 ` redi 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).