New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alpha error writing exceptional math value #4349
Comments
From dalke@pw600a.bioperl.orgThere is a problem with Perl 5.005_03 and 5.6.1 when printing Here's the reproducible, with the first to show that non-exceptional =============== This is perl, v5.6.1 built for alpha-linux Copyright 1987-2001, Larry Wall Perl may be copied only under the terms of either the Artistic License or the Complete documentation for Perl, including FAQ lists, should be found on I recompiled Perl with -g support to get a full stack trace. [...] (gdb) print f I can reproduce this problem in C, as lke@pw600a perl-5.6.1]$ cat q.c #define IV_MAX INT64_MAX warning: "/tmp/apd/perl-5.6.1/core": ambiguous core format, 2 handlers match Here's the assembly dump of that code: 0x120000480 <main>: ldah gp,17(t12) Whe running it assembly step by assembly step in the debugger: Program received signal SIGFPE, Arithmetic exception. which is this line of the assembly I don't know enough about the Perl internals, Alphas or 64 bit Andrew Dalke Perl Info
|
From @nwc10Thanks for the very thorough report.
I asked a friend to run on an alpha running Debian GNU/Linux. He gets NaN rather than a core dump.
Debian's Alpha perl gives a -V of Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Characteristics of this binary (from libperl): Is building with -mieee a sensible idea? If so, should it be on by Nicholas Clark |
From [Unknown Contact. See original ticket]I recompiled the devel version of perl 5.6.1 to use [perl-5.7.2]$ ./perl -Ilib -e 'use POSIX; print acos(3.7), "\n"'
Frankly, I don't know. If Debian does it and since Andrew |
From @TuxSomething to add to a hint file? (hint hint)
|
From @doyCan this be reproduced on newer versions of perl? Do we have anyone -doy |
From @doy11:43 <@BinGOs> doy: #7585 all my non-debian perls on this debian/alpha None of these perls were built with -mieee, so I think this can probably -doy |
From [Unknown Contact. See original ticket]11:43 <@BinGOs> doy: #7585 all my non-debian perls on this debian/alpha None of these perls were built with -mieee, so I think this can probably -doy |
@doy - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#7585 (status was 'resolved')
Searchable as RT7585$
The text was updated successfully, but these errors were encountered: