From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steve Downey Newsgroups: gmane.emacs.bugs Subject: bug#55294: Configure failure on Solaris 11.4 Date: Fri, 6 May 2022 15:58:39 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000073be7f05de5d49b6" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3123"; mail-complaints-to="usenet@ciao.gmane.io" To: 55294@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 06 22:34:11 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 1nn4eR-0000ae-0j for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 22:34:11 +0200 Original-Received: from localhost ([::1]:34918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nn4eP-0002YT-Ki for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 06 May 2022 16:34:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34100) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nn4eI-0002Xu-Gz for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 16:34:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56086) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nn4eI-0002tz-8D for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 16:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nn4eH-0007t3-VF for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 16:34:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Steve Downey Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 06 May 2022 20:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55294 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165186920830268 (code B ref -1); Fri, 06 May 2022 20:34:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 6 May 2022 20:33:28 +0000 Original-Received: from localhost ([127.0.0.1]:49981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn4dk-0007s6-Az for submit@debbugs.gnu.org; Fri, 06 May 2022 16:33:28 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:35144) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nn46R-0004pX-I6 for submit@debbugs.gnu.org; Fri, 06 May 2022 15:59:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nn46R-00035N-AE for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 15:59:03 -0400 Original-Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]:38636) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nn46G-0006Tt-8a for bug-gnu-emacs@gnu.org; Fri, 06 May 2022 15:58:53 -0400 Original-Received: by mail-lj1-x232.google.com with SMTP id q130so10458427ljb.5 for ; Fri, 06 May 2022 12:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Eh5Wh2gyjrKBi7cBfUA99het5ZGG7Hbwv1eyk9TDz3U=; b=geigk3WCEoqECykwQhgx6pPR/dAYSzfCaN6De5RTtdcPUfO1dS+NaiE5YARUNZi7DA toi836VQxXisdbJKsHK515pXystGmXVtKFpZg+cr/Vq85nPsiyyNe2E77m2b+3FlyYc3 f2KbqqNiYjno7GyblggXi/F4gJNqOj2RlgwqUh9NsPqduEpl+wyEfECy9YC48XpysntQ YwLpTc+64NKLXMnUMlRMb11UHhux12eF4G5bQnhz/9Uvja0hwN5x10r+Hni4ExtZFBA9 3kkn8TDrKCtmQU/8Qyg/vO9Te/JLh0PLi67R0O8CTfxZJn1y2m/sFGTvgDlPS2IEWTJi r6yA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Eh5Wh2gyjrKBi7cBfUA99het5ZGG7Hbwv1eyk9TDz3U=; b=8NkrQSYP1YqKDOr0hbsVHx7MH8A7/KnohxSZvST1UtoyQiQZ41fe9jI7eKYWl/S1xb uIAN5NwsSdr0AjvCtg1nCjXPym3MEfsOXw7TXdCO1sY62wwR6nAwRzkRxg6ZOC2t3IRS VjKRsgIbvl+WKxbDxEj37qDuuua1z6G0KRXd1bZT4YfMVWSqTTEa7K8mUnvdkPHF8Seb B6fLmaUThoLx+2DCAwCHWlSVx72UvwfCw5BUhGJ+nzw4ASh2VRJpMBY3QriV3kVHGIXN Qj9eyP7FSq0mQtYbR8GY4MX2aVbXe6j1WPiiTAFsJG57pe31+OUYzi+HAWvCGnMyC0z9 egVw== X-Gm-Message-State: AOAM532tx1UvptxZ42rpWfrg00qgGlm+J7tX1RyTZ6nVcff38rcsQ6/S sR0c45FvLKH27XGg0qSJ/IVnYp5ycbqSoMGtvDn2GMiRB+I= X-Google-Smtp-Source: ABdhPJzLvXO9tgZ48pXUknFPmGOgvmLh7U37qA4mxFiFdZmIndcBun+QEQnH1wBF3/KiqRuCxFnt8xeZc7MNA60ejg0= X-Received: by 2002:a05:651c:555:b0:24f:4dfe:5b83 with SMTP id q21-20020a05651c055500b0024f4dfe5b83mr2976591ljp.122.1651867129198; Fri, 06 May 2022 12:58:49 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::232; envelope-from=sdowney@gmail.com; helo=mail-lj1-x232.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 06 May 2022 16:33:27 -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:231543 Archived-At: --00000000000073be7f05de5d49b6 Content-Type: text/plain; charset="UTF-8" On solaris 11.4, the system libc has a definition of sqrt leading configure to believe that linking libm is unnecessary. 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. --00000000000073be7f05de5d49b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On solaris 11.4, the system libc has a definition of sqrt = leading configure to believe that linking libm is unnecessary. Applying a p= atch locally to change
AC_SEARCH_LIBS([sqrt], [m]) to=C2=A0
AC_SEARCH_LIBS([atan], [m])
fixes the problem.=C2=A0<= br>
atan was picked at random from the symbols that couldn't be foun= d in building temacs.=C2=A0

--00000000000073be7f05de5d49b6--