From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id DAC0F3858D35; Sun, 16 Jan 2022 10:18:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DAC0F3858D35 From: "krejzi at email dot com" To: glibc-bugs@sourceware.org Subject: [Bug libc/28786] New: Glibc 2.34 introduces C++ build failures Date: Sun, 16 Jan 2022 10:18:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Version: 2.34 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: krejzi at email dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: glibc-bugs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-bugs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Jan 2022 10:18:17 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28786 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/ccm= ake.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. --=20 You are receiving this mail because: You are on the CC list for the bug.=