Skip to content
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

Perl : 5.34 test failures with Inf NaN numbers on Windows #117

Closed
jameysiddiqui opened this issue Jul 30, 2021 · 2 comments
Closed

Perl : 5.34 test failures with Inf NaN numbers on Windows #117

jameysiddiqui opened this issue Jul 30, 2021 · 2 comments

Comments

@jameysiddiqui
Copy link

jameysiddiqui commented Jul 30, 2021

CCTYPE = MSVC120

Failed test 359 - sprintf %c stringy NaN undef at t/op/infnan.t line 31
Failed test 360 - stringy NaN sprintf %c fails at t/op/infnan.t line 32
got ''
expected /(?^:Cannot printf)/
Failed test 363 - chr stringy NaN undef at t/op/infnan.t line 325
Failed test 364 - stringy NaN chr() fails at t/op/infnan.t line 326
got ''

Please let me know what needs to be done
expected /(?^:Cannot chr)/
Failed test 368 - stringy NaN pack c fails at t/op/infnan.t line 334
got 'Cannot pack 0 with 'c' at t/op/infnan.t line 332.\n'
expected /(?^:Cannot pack NaN)/
Failed test 371 - pack C stringy NaN undef at t/op/infnan.t line 332
Failed test 372 - stringy NaN pack C fails at t/op/infnan.t line 334
got ''
expected /(?^:Cannot pack NaN)/
Failed test 375 - pack s stringy NaN undef at t/op/infnan.t line 332
Failed test 376 - stringy NaN pack s fails at t/op/infnan.t line 334
got ''

@jameysiddiqui jameysiddiqui changed the title Perl : 5.34 test failures with Inf NaN numbers Perl : 5.34 test failures with Inf NaN numbers on Windows Jul 30, 2021
@arsv
Copy link
Owner

arsv commented Aug 1, 2021

What kind of setup is this? Are you to trying to build perl for a Linux target using a Windows build host?

No idea, I can't reproduce it right away, it seems to be either MSVS libc or Windows specific.
Which is really borderline for perl-cross since it's not really meant for anything other than Linux-Linux builds.

If you can, try building perl natively, using mainline Configure, and compare config.sh from that build to the one perl-cross generates. Chances are some printf-related values are off. Or maybe something FP-related. But I think it's probably printf. If so, it should be hinted most likely.

@jameysiddiqui
Copy link
Author

this is not cross raised another ticket in perl section
Perl/perl5#19010

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants