From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta036.useast.a.cloudfilter.net (omta036.useast.a.cloudfilter.net [44.202.169.35]) by sourceware.org (Postfix) with ESMTPS id 22A9A3858D1E for ; Fri, 12 Jan 2024 15:56:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 22A9A3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 22A9A3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=44.202.169.35 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705074985; cv=none; b=OirdzGfOPyENCa95YljunmUiTZVD9HGmWif93XShhZA9EVyPmRcLiFGQMs49TE/HNMGccf3dCQS0ujMWq7inUJlK65ZapyGTqeG6YQupVU2aTaYAHbbMA8HU3CqqlZlFpW5zfpeaGxCUjVCU/5ITwPbRzYuFNtsJqjckjxSowB8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705074985; c=relaxed/simple; bh=zTM+zP3we8cv+aGklJ56Oi7F3ugf737OTbwNuvJSaJk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=Yu6kkh57nfS50ij7W7deYOUjexwHDyrgws9RgHsQN6HLvWDJRIC1mSBd5UsviWw+mooYAkW3XpvUPH8ucue8dIvqp/H79q2bdMerJwNLRUx1/qceoZCKzYHS8htCffLJhp4AEtMcfWJKkg2Yz+j6rEqnY0lM8Z9fGbyNkVoVOUg= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from eig-obgw-6001a.ext.cloudfilter.net ([10.0.30.140]) by cmsmtp with ESMTPS id O5u0rjreN8uLROJtOr2OjN; Fri, 12 Jan 2024 15:56:22 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id OJtNrY5yNWRcnOJtOrgdGY; Fri, 12 Jan 2024 15:56:22 +0000 X-Authority-Analysis: v=2.4 cv=OPo0YAWB c=1 sm=1 tr=0 ts=65a16126 a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=OWjo9vPv0XrRhIrVQ50Ab3nP57M=:19 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=dEuoMetlWLkA:10 a=Qbun_eYptAEA:10 a=LzR-0NjER6foeJ4C2r0A:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=aMM5IEMzzTrJb0tHjnehZbz71j8JE87gZ59neSUzfOw=; b=KKdcqumrtVYCIZ2f3X88UHEjcL vn2bX+kajlKebqXFwEsXo7EPkT9UccJ6nTNNAYEMiDP2tGCqPOElNzeIaVDVHgczJn3FK4Asc9/eh 0ml9g8LpofrOGTP4EE3E/FaIa; Received: from 97-122-68-157.hlrn.qwest.net ([97.122.68.157]:39962 helo=murgatroyd) by box5379.bluehost.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rOJtN-002u3x-0m; Fri, 12 Jan 2024 08:56:21 -0700 From: Tom Tromey To: Tom de Vries Cc: Aditya Kamath1 , Ulrich Weigand , Aditya Kamath1 via Gdb-patches , Sangamesh Mallayya , Tom Tromey Subject: Re: [PATCH] Fix AIX build break References: X-Attribution: Tom Date: Fri, 12 Jan 2024 08:56:19 -0700 In-Reply-To: (Tom de Vries's message of "Fri, 12 Jan 2024 10:50:04 +0100") Message-ID: <874jfipmu4.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 97.122.68.157 X-Source-L: No X-Exim-ID: 1rOJtN-002u3x-0m X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 97-122-68-157.hlrn.qwest.net (murgatroyd) [97.122.68.157]:39962 X-Source-Auth: tom+tromey.com X-Email-Count: 5 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfB7abJi+mymHBff1ua9aTyAWkwNmNE/TBh2SzzgAIvtaNOpF5jWIXOO5Abn+ziSxoTcVukuTbFliD5YmfgUiSvX7Y9+0fD/wWINfcfJh/yZUCwgrFGbC i7RpJ32p8YppGBDs1V0ntzDSotwdFiDEgMVoUCbjV1I/hDXMLxtiBG0GxV6mGGVsdupH2lQIPJUT15iZQnWlT6hG/VxEmFhnTIk= X-Spam-Status: No, score=-3016.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,JMQ_SPF_NEUTRAL,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: >>>>> "Tom" == Tom de Vries writes: Tom> I think this is triggered by using thread-local with extern. Ugh. > Use RAII to set the per-thread SIGSEGV handler Tom> which seems related, given that it mentions link errors. Perhaps we Tom> can do something similar here. That would by fine with me. Does the AIX build detect that threads work? If not then we could perhaps make the use of 'thread_local' dependent on CXX_STD_THREAD. Tom