Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5Plw-005w7z-EE for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2024 13:27:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1t5Plu-006lIF-R0 for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Oct 2024 13:27:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5NJS-005eN8-Ka for pgsql-bugs@lists.postgresql.org; Mon, 28 Oct 2024 10:49:31 +0000 Received: from smtp-outgoing-2001.laposte.net ([160.92.124.108]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t5NJM-003OrI-MS for pgsql-bugs@lists.postgresql.org; Mon, 28 Oct 2024 10:49:30 +0000 X-mail-filterd: {"version":"1.8.0","queueID":"4XcVWP5fsdz10MQN","contextId": "a37c279a-1168-4216-9128-376f0a6878d8"} Received: from outgoing-mail.laposte.net (localhost.localdomain [127.0.0.1]) by mlpnf0120.laposte.net (SMTP Server) with ESMTP id 4XcVWP5fsdz10MQN; Mon, 28 Oct 2024 11:49:21 +0100 (CET) X-mail-filterd: {"version":"1.8.0","queueID":"4XcVWP25b4z10MQ4","contextId": "dbd7bf74-d33a-4cf1-8813-16512b5077dc"} X-lpn-mailing: LEGIT X-lpn-spamrating: 40 X-lpn-spamlevel: not-spam Received: from smtpclient.apple (unknown [130.185.187.217]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mlpnf0120.laposte.net (SMTP Server) with ESMTPSA id 4XcVWP25b4z10MQ4; Mon, 28 Oct 2024 11:49:21 +0100 (CET) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) Subject: Re: BUG #18672: failing to link postgresql From: Thierry Bastian In-Reply-To: <2594296.1729801844@sss.pgh.pa.us> Date: Mon, 28 Oct 2024 11:49:10 +0100 Cc: pgsql-bugs@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <2297DBBC-1408-4473-8385-F9F0469F484C@laposte.net> References: <18672-66509a1043077366@postgresql.org> <2594296.1729801844@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.3818.100.11.1.3) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=laposte.net; s=lpn-wlmd; t=1730112563; bh=fEYz+ZaJy0LHwvpj5fCuyL8jAx08wHl7+9pRWNs7P1Q=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc:Content-Transfer-Encoding:Message-Id:References:To; b=pppPAxOqT9z4TzbFqqZ9zAERpOyu1iSQyTIt+ncM2G9MszxXst3cXDLcFLdFleFhwgJ7x/zZVCbwVpW8/OZnojYEusQbGvYYSKgKG1Ox1uu81fhva63NQd2mJgU4WH8wGoNcgudywPN5EMPwlCg/U6GIyv1c8iYcaAH9xqB5jMlmI+oUQ1ZbAPu+b8BPdoQ/POWIY7z/R0WHxIDMEYkDy+0zB8zsIAKcBLA6WOfCIAmJkeKIDDhSs2MyNSQV/MzW425EcD/xsoxE4LBqpqVotoPBsGvigvvqmIAHdxCXM6z6Pk5I1CmEtdTEdlOlNPnBSQQvoMCkAS2bdiKFSVFylw==; List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hello Tom and thank you for the feedback. I believe that comes from the fact that I build openssl myself and I = build static libs. That makes it so some additional symbols are pulled = in. Regards, Thierry Bastian > On 24 Oct 2024, at 22:30, Tom Lane wrote: >=20 > PG Bug reporting form writes: >> In short, in src/interfaces/libpq/Makefile there is a check for lib-a = to not >> contain a call to exit. But the issue is that on macOS, it still uses >> _atexit and pthread_exitm which are fine. >=20 > Nobody else has reported any such problem. What build modifications > did you make to cause this? >=20 > regards, tom lane