GNU bug report logs -
#32086
26.1.50; Floating point exceptions during byte-compilation on alpha-unknown-linux-gnu
Previous Next
Reported by: Ulrich Mueller <ulm <at> gentoo.org>
Date: Sat, 7 Jul 2018 18:28:01 UTC
Severity: normal
Tags: patch
Found in version 26.1.50
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
[Message part 1 (text/plain, inline)]
Your message dated Sun, 8 Jul 2018 09:27:17 -0700
with message-id <9f1da94b-76f6-1551-ed17-69f92932c5a3 <at> cs.ucla.edu>
and subject line Re: 26.1.50; Floating point exceptions during byte-compilation on alpha-unknown-linux-gnu
has caused the debbugs.gnu.org bug report #32086,
regarding 26.1.50; Floating point exceptions during byte-compilation on alpha-unknown-linux-gnu
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
32086: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32086
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Another regression on alpha-unknown-linux-gnu, byte-compilation of the
following four lisp files fails with floating point exceptions:
make[2]: Entering directory '/space/homedirs/ulm/emacs/lisp'
EMACSLOADPATH= '../src/emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile calculator.el
EMACSLOADPATH= '../src/emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile calc/calc-math.el
EMACSLOADPATH= '../src/emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile nxml/rng-xsd.el
EMACSLOADPATH= '../src/emacs' -batch --no-site-file --no-site-lisp --eval '(setq load-prefer-newer t)' -f batch-byte-compile org/org-table.el
make[2]: *** [Makefile:297: calc/calc-math.elc] Floating point exception
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:297: nxml/rng-xsd.elc] Floating point exception
make[2]: *** [Makefile:297: calculator.elc] Floating point exception
make[2]: *** [Makefile:297: org/org-table.elc] Floating point exception
make[2]: Leaving directory '/space/homedirs/ulm/emacs/lisp'
make[1]: *** [Makefile:320: compile-main] Error 2
make[1]: Leaving directory '/space/homedirs/ulm/emacs/lisp'
make: *** [Makefile:405: lisp] Error 2
The exceptions are triggered in functions string_to_number in lread.c
and float_to_string in print.c when values of infinity or NaN are
being passed.
The same lisp files (from the emacs-26 branch) can be compiled with
Emacs 25.3, though.
(On first glance, it doesn't look like the code in lread.c and print.c
has changed, so the problem must be somewhere else. Signal handling?)
In GNU Emacs 26.1.50 (build 1, alpha-unknown-linux-gnu)
of 2018-07-07 built on monolith
Repository revision: b73cde5e2815c531df7f5fd13e214a7d92f78239
Configured using:
'configure --prefix=/usr --build=alpha-unknown-linux-gnu
--host=alpha-unknown-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --disable-silent-rules
--docdir=/usr/share/doc/emacs-26.1
--htmldir=/usr/share/doc/emacs-26.1/html --libdir=/usr/lib
--program-suffix=-emacs-26 --infodir=/usr/share/info/emacs-26
--localstatedir=/var
--enable-locallisppath=/etc/emacs:/usr/share/emacs/site-lisp
--without-compress-install --without-hesiod --without-pop
--with-file-notification=inotify --enable-acl --without-dbus
--without-modules --without-gameuser --without-gpm --without-kerberos
--without-kerberos5 --without-lcms2 --without-xml2 --without-mailutils
--without-selinux --with-gnutls --without-libsystemd --with-threads
--without-wide-int --with-zlib --with-sound=no --without-x
--without-ns'
Configured features:
NOTIFY ACL GNUTLS ZLIB THREADS
[Message part 3 (message/rfc822, inline)]
Ulrich Mueller wrote:
> This fixes it. Thanks again.
>
> (And please ignore my earlier remark that the lisp files in question
> can be byte-compiled with Emacs 25.3. It turns out that the Emacs I
> used for testing had been built with -mieee in CFLAGS.)
Thanks for checking. Since this is not a regression in Emacs 26, I installed the
patch into the Emacs master branch, and am marking the bug as done.
This bug report was last modified 6 years and 313 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.