From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 008293858D28; Tue, 11 Oct 2022 18:54:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 008293858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1665514444; bh=C+6P+asubUrShd4dYQDjEr20StcuoqJqojIDawE6xtg=; h=From:To:Subject:Date:From; b=E9g3lP9hWj/GJ82TqtRMvvreoiMI0tjTMycrmGpNVtUMm4uC7e+5gMe5NCmbjrd2i eomU9yIiT3lQ3uQMIwOnPAp1V7a4Vqf8vXH8K2ne7MBeNhdeasfE8qKKhzSMhfOs8b o6CCXS2pE6xefuittyYtAHTi5oOitDs6VxPpFrKk= From: "dje at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/107221] New: [13 Regression] libstdc++ EH no matching function __gnu_cxx::__scoped_lock::__scoped_lock Date: Tue, 11 Oct 2022 18:54:03 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: bootstrap X-Bugzilla-Version: unknown X-Bugzilla-Keywords: build X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at gcc dot gnu.org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status keywords bug_severity priority component assigned_to reporter cc target_milestone cf_gcctarget Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107221 Bug ID: 107221 Summary: [13 Regression] libstdc++ EH no matching function __gnu_cxx::__scoped_lock::__scoped_lock Product: gcc Version: unknown Status: UNCONFIRMED Keywords: build Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: dje at gcc dot gnu.org CC: redi at gcc dot gnu.org Target Milestone: --- Target: powerpc-ibm-aix* The fix for PR68606 introduced references to __gnu_cxx::__scoped_lock::__scoped_lock that are not always defined, causin= g a bootstrap failure on AIX. libtool: compile: /tmp/GCC/./gcc/xgcc -B/tmp/GCC/./gcc/ -B/nasfarm/edelsohn/ins tall/GCC/powerpc-ibm-aix7.2.5.0/bin/ -B/nasfarm/edelsohn/install/GCC/powerpc-ibm -aix7.2.5.0/lib/ -isystem /nasfarm/edelsohn/install/GCC/powerpc-ibm-aix7.2.5.0/i nclude -isystem /nasfarm/edelsohn/install/GCC/powerpc-ibm-aix7.2.5.0/sys-include -fno-checking -DHAVE_CONFIG_H -I.. -I/nasfarm/edelsohn/src/src/libstdc++-v3/../ libiberty -I/nasfarm/edelsohn/src/src/libstdc++-v3/../include -D_GLIBCXX_SH= ARED=20 -I/tmp/GCC/powerpc-ibm-aix7.2.5.0/libstdc++-v3/include/powerpc-ibm-aix7.2.5= .0 -I/tmp/GCC/powerpc-ibm-aix7.2.5.0/libstdc++-v3/include -I/nasfarm/edelsohn/src/src/libstdc++-v3/libsupc++ -I/nasfarm/edelsohn/install/include -I/nasfarm/edelsohn/install/include -g = -O2 -DIN_GLIBCPP_V3 -Wno-error -c cp-demangle.c -fPIC -DPIC -o cp-demangle.o /nasfarm/edelsohn/src/src/libstdc++-v3/libsupc++/eh_alloc.cc: In member function 'void* {anonymous}::pool::allocate(std::size_t)': /nasfarm/edelsohn/src/src/libstdc++-v3/libsupc++/eh_alloc.cc:239:54: error:= no matching function for call to '__gnu_cxx::__scoped_lock::__scoped_lock(int&= )' 239 | __gnu_cxx::__scoped_lock sentry(emergency_mutex); | ^ In file included from /nasfarm/edelsohn/src/src/libstdc++-v3/libsupc++/eh_alloc.cc:37: /tmp/GCC/powerpc-ibm-aix7.2.5.0/libstdc++-v3/include/ext/concurrence.h:240:= 14: note: candidate: '__gnu_cxx::__scoped_lock::__scoped_lock(__mutex_type&)' 240 | explicit __scoped_lock(__mutex_type& __name) : _M_device(__name) | ^~~~~~~~~~~~~ /tmp/GCC/powerpc-ibm-aix7.2.5.0/libstdc++-v3/include/ext/concurrence.h:240:= 42: note: no known conversion for argument 1 from 'int' to '__gnu_cxx::__scoped_lock::__mutex_type&' 240 | explicit __scoped_lock(__mutex_type& __name) : _M_device(__name) | ~~~~~~~~~~~~~~^~~~~~ /tmp/GCC/powerpc-ibm-aix7.2.5.0/libstdc++-v3/include/ext/concurrence.h:236:= 5: note: candidate: '__gnu_cxx::__scoped_lock::__scoped_lock(const __gnu_cxx::__scoped_lock&)' 236 | __scoped_lock(const __scoped_lock&); | ^~~~~~~~~~~~~ /tmp/GCC/powerpc-ibm-aix7.2.5.0/libstdc++-v3/include/ext/concurrence.h:236:= 19: note: no known conversion for argument 1 from 'int' to 'const __gnu_cxx::__scoped_lock&' 236 | __scoped_lock(const __scoped_lock&); | ^~~~~~~~~~~~~~~~~~~~ make[5]: *** [Makefile:778: eh_alloc.lo] Error 1=