GNU bug report logs - #55294
Configure failure on Solaris 11.4

Previous Next

Package: emacs;

Reported by: Steve Downey <sdowney <at> gmail.com>

Date: Fri, 6 May 2022 20:34:01 UTC

Severity: normal

Tags: moreinfo

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Steve Downey <sdowney <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: eggert <at> cs.ucla.edu, 55294 <at> debbugs.gnu.org
Subject: bug#55294: Configure failure on Solaris 11.4
Date: Tue, 10 May 2022 00:46:15 -0400
[Message part 1 (text/plain, inline)]
On Mon, May 9, 2022 at 10:35 PM Eli Zaretskii <eliz <at> gnu.org> wrote:

> > Cc: 55294 <at> debbugs.gnu.org
> > From: Steve Downey <sdowney <at> gmail.com>
> > Date: Mon, 9 May 2022 20:15:56 -0400
> >
> > In 11.4, sqrt is defined in libc.so as an absolute symbol, so the test
> for if -lm is necessary succeeds without
> > it. I haven't disassembled the new libc, but I suspect that you're right
> and they have a sqrt that is fast enough
> > either depends on a sqrt instruction or is otherwise "simple" for some
> value of simple.
>
> So you are saying that sqrt was actually in libc, but the rest of math
> functions are in libm, is that right?
>
> Exactly.

I also suspect that this will not be the only package broken, because lots
of people cargo cult this sort of autoconf check from GNU packages. At
least to the extent that people still use autotools.

If so, perhaps to make this test more future-proof, we should try
> several functions, not just one?
>

And gate linking libm on any of them being unavailable. But writing that
would mean having to resuscitate my M4 knowledge.
[Message part 2 (text/html, inline)]

This bug report was last modified 3 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.