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.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32086 in the body.
You can then email your comments to 32086 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sat, 07 Jul 2018 18:28:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ulrich Mueller <ulm <at> gentoo.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 07 Jul 2018 18:28:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sat, 07 Jul 2018 21:28:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 32086 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Thanks for reporting the bug. Please try the attached patch, which I'd like to
install into the emacs-26 branch if it fixes your problem.
[0001-Fix-floating-point-exceptions-on-Alpha-Bug-32086.patch (text/x-patch, attachment)]
Added tag(s) patch.
Request was from
Paul Eggert <eggert <at> cs.ucla.edu>
to
control <at> debbugs.gnu.org
.
(Sat, 07 Jul 2018 21:29:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sat, 07 Jul 2018 22:48:01 GMT)
Full text and
rfc822 format available.
Message #13 received at 32086 <at> debbugs.gnu.org (full text, mbox):
>>>>> On Sat, 7 Jul 2018, Paul Eggert wrote:
> Thanks for reporting the bug. Please try the attached patch, which
> I'd like to install into the emacs-26 branch if it fixes your
> problem.
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.)
Reply sent
to
Paul Eggert <eggert <at> cs.ucla.edu>
:
You have taken responsibility.
(Sun, 08 Jul 2018 16:28:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ulrich Mueller <ulm <at> gentoo.org>
:
bug acknowledged by developer.
(Sun, 08 Jul 2018 16:28:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 32086-done <at> debbugs.gnu.org (full text, mbox):
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sun, 08 Jul 2018 16:52:02 GMT)
Full text and
rfc822 format available.
Message #21 received at 32086 <at> debbugs.gnu.org (full text, mbox):
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sun, 8 Jul 2018 09:27:17 -0700
> Cc: 32086-done <at> debbugs.gnu.org
>
> 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.
Thanks. But doesn't this mean Emacs 26 will not build on that
platform? Maybe we should backport your change to emacs-26 after all.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sun, 08 Jul 2018 17:12:02 GMT)
Full text and
rfc822 format available.
Message #24 received at 32086 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii wrote:
> But doesn't this mean Emacs 26 will not build on that
> platform? Maybe we should backport your change to emacs-26 after all.
That'd be fine with me, and if you prefer that I'll backport the change. Emacs
26 does not build properly on that platform unless the builder uses something
like "./configure CFLAGS=-mieee" when building Emacs.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sun, 08 Jul 2018 17:39:02 GMT)
Full text and
rfc822 format available.
Message #27 received at 32086 <at> debbugs.gnu.org (full text, mbox):
> Cc: 32086 <at> debbugs.gnu.org, ulm <at> gentoo.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sun, 8 Jul 2018 10:11:32 -0700
>
> Eli Zaretskii wrote:
> > But doesn't this mean Emacs 26 will not build on that
> > platform? Maybe we should backport your change to emacs-26 after all.
>
> That'd be fine with me, and if you prefer that I'll backport the change. Emacs
> 26 does not build properly on that platform unless the builder uses something
> like "./configure CFLAGS=-mieee" when building Emacs.
Unless it's an obscure platform, I think we'd better support it.
Emacs 27 won't be out for a year at least, probably longer, and that's
too long for a platform we want to support, I think.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sun, 08 Jul 2018 18:43:01 GMT)
Full text and
rfc822 format available.
Message #30 received at 32086 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii wrote:
> Unless it's an obscure platform, I think we'd better support it.
OK, I backported it to emacs-26.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#32086
; Package
emacs
.
(Sun, 08 Jul 2018 18:54:02 GMT)
Full text and
rfc822 format available.
Message #33 received at 32086 <at> debbugs.gnu.org (full text, mbox):
> Cc: 32086 <at> debbugs.gnu.org, ulm <at> gentoo.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> Date: Sun, 8 Jul 2018 11:42:09 -0700
>
> Eli Zaretskii wrote:
> > Unless it's an obscure platform, I think we'd better support it.
>
> OK, I backported it to emacs-26.
Thanks.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 06 Aug 2018 11:24:04 GMT)
Full text and
rfc822 format available.
This bug report was last modified 6 years and 109 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.