public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "dje at gcc dot gnu.org" <gcc-bugzilla@gcc.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 [thread overview] Message-ID: <bug-107221-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107221 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, causing 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_SHARED -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
next reply other threads:[~2022-10-11 18:54 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-10-11 18:54 dje at gcc dot gnu.org [this message] 2022-10-11 19:04 ` [Bug bootstrap/107221] " dje at gcc dot gnu.org 2022-10-11 19:15 ` redi at gcc dot gnu.org 2022-10-11 19:36 ` cvs-commit at gcc dot gnu.org 2022-10-12 8:47 ` redi at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-107221-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).