From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 80DDF3856961; Fri, 5 Aug 2022 21:44:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 80DDF3856961 From: "kadler at us dot ibm.com" To: gdb-prs@sourceware.org Subject: [Bug build/27123] Build fails for AIX 6.1 Date: Fri, 05 Aug 2022 21:44:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: build X-Bugzilla-Version: 10.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: kadler at us dot ibm.com X-Bugzilla-Status: WAITING 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: cc Message-ID: In-Reply-To: References: 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: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2022 21:44:58 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27123 Kevin Adler changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kadler at us dot ibm.com --- Comment #2 from Kevin Adler --- GCC has separate ABIs on AIX: threaded and non-threaded. Without the -pthre= ad flag, GCC will use the non-threaded ABI which does not define thread-related C++ classes. These definitions are guarded by #ifdef _GLIBCXX_HAS_GTHREADS which is set in one of: - include/c++/.../bits/c++config.h - include/c++/.../ppc64/bits/c++config.h - include/c++/.../pthread/bits/c++config.h - include/c++/.../pthread/ppc64/bits/c++config.h depending on which -maix32/-maix64 and -pthread parameters (if any) were passed. (Note that GCC 10, IIRC, changed the above layout to ppc{32,64}/{pthread,} instead.) If the build rule for thread-pool.cc is not passing the -pthread option, th= ese sorts of compilation errors will occur. The "make V=3D1" output would be he= lpful to diagnose the problem further or see if the rule uses PTHREAD_CFLAGS. --=20 You are receiving this mail because: You are on the CC list for the bug.=