public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/28786] New: Glibc 2.34 introduces C++ build failures
@ 2022-01-16 10:18 krejzi at email dot com
  2022-01-17 13:06 ` [Bug libc/28786] " fweimer at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: krejzi at email dot com @ 2022-01-16 10:18 UTC (permalink / raw)
  To: glibc-bugs

https://sourceware.org/bugzilla/show_bug.cgi?id=28786

            Bug ID: 28786
           Summary: Glibc 2.34 introduces C++ build failures
           Product: glibc
           Version: 2.34
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: krejzi at email dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

When using glibc-2.34 with gcc-11.2.0 to build C++ code, importing some
headers, for example, stdlib.h will throw an error


In file included from /mnt/lfs/tools/include/c++/11.2.0/cstdlib:75,
                 from
/home/armin/src/pacman/tools/bootstrap/cmake-3.22.1/Source/CursesDialog/ccmake.cxx:6:
/tools/include/stdlib.h:565:5: error: expected initializer before
'__attr_dealloc_free'
  565 |     __attr_dealloc_free;
      |     ^~~~~~~~~~~~~~~~~~~
/tools/include/stdlib.h:569:14: error: expected initializer before
'__attr_dealloc'
  569 |      __THROW __attr_dealloc (reallocarray, 1);
      |              ^~~~~~~~~~~~~~

There are also issues with other packages and different C headers included
inside C++ code. Please advise on how to proceed here. The problem is not
present in glibc-2.33 and it's triggered by glibc-2.34 upgrade.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

end of thread, other threads:[~2022-02-04 22:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-16 10:18 [Bug libc/28786] New: Glibc 2.34 introduces C++ build failures krejzi at email dot com
2022-01-17 13:06 ` [Bug libc/28786] " fweimer at redhat dot com
2022-02-04 21:58 ` krejzi at email dot com
2022-02-04 21:59 ` krejzi at email dot com
2022-02-04 22:58 ` fweimer at redhat dot com

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