From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#55294: Configure failure on Solaris 11.4 Date: Sat, 07 May 2022 08:40:15 +0300 Message-ID: <83sfplzyrk.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31540"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 55294@debbugs.gnu.org To: Steve Downey Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 07 07:42:03 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nnDCd-0007yz-Af for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 07:42:03 +0200 Original-Received: from localhost ([::1]:51586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nnDCb-0006JG-L1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 07 May 2022 01:42:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnDBe-0006Il-OM for bug-gnu-emacs@gnu.org; Sat, 07 May 2022 01:41:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56344) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nnDBe-00023E-FS for bug-gnu-emacs@gnu.org; Sat, 07 May 2022 01:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nnDBe-00080G-Aw for bug-gnu-emacs@gnu.org; Sat, 07 May 2022 01:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 07 May 2022 05:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55294 X-GNU-PR-Package: emacs Original-Received: via spool by 55294-submit@debbugs.gnu.org id=B55294.165190203530722 (code B ref 55294); Sat, 07 May 2022 05:41:02 +0000 Original-Received: (at 55294) by debbugs.gnu.org; 7 May 2022 05:40:35 +0000 Original-Received: from localhost ([127.0.0.1]:50241 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnDBD-0007zS-JJ for submit@debbugs.gnu.org; Sat, 07 May 2022 01:40:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43978) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nnDBB-0007zF-DZ for 55294@debbugs.gnu.org; Sat, 07 May 2022 01:40:34 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33570) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnDB6-0001zl-4U; Sat, 07 May 2022 01:40:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6WJ5BZcv/MQl5xNzHeecF4bUhjdSpKNnZwYpEfPCaPA=; b=sEBjsjqQbm7I 0v0B3P1x13fswB8cRumsebXF/VyDv0M0oiCbKK2g4sO3sX2kfqxtcYIY3NOfQkBITfEK7KYalZZgK w5KVqzlIhX/rHouRWteAfMJYNSTQgclqIF1m51ZUDldG8lLJP/rYNUNLOrScp/1fJotFsj6vXQI4C d+ErKEG6ZWKnde5e0kSlWbbNbPXr0rmwxohnNna4MViwAHCEKejcDLXwVFK1/Qfuo1syJp/WnSYcs JGszjrp4S2n63S6kowF3tYPHJTzvo8FYZBfv1l01DHeSXnWq2pShYFKKyqC4OlzYMo6j/IhIwEMrF KP5DN8jyCo+YpOiPlilCIA==; Original-Received: from [87.69.77.57] (port=2406 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nnDB3-0000Mq-BJ; Sat, 07 May 2022 01:40:26 -0400 In-Reply-To: (message from Steve Downey on Fri, 6 May 2022 15:58:39 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:231553 Archived-At: > From: Steve Downey > Date: Fri, 6 May 2022 15:58:39 -0400 > > On solaris 11.4, the system libc has a definition of sqrt leading configure to believe that linking libm is > unnecessary. Can you tell the details, please? What is that definition of sqrt, and what do you see in config.log when it is tested? > Applying a patch locally to change > AC_SEARCH_LIBS([sqrt], [m]) to > AC_SEARCH_LIBS([atan], [m]) > fixes the problem. > > atan was picked at random from the symbols that couldn't be found in building temacs. This is fragile, because we could have the same problem with atan, in the future or on some other platform, if not here and now. I think we should understand better why using sqrt leads to the wrong conclusion, and modify configure to avoid that. Thanks.