Skip to content

Regression in 8.2.0 on s390x (big-endian): tests fast_int and ipv4_test fail #354

@musicinmybrain

Description

@musicinmybrain

While testing an update to version 8.2.0 for Fedora’s fast_float package, I found that fast_int fails on s390x. This is our sole big-endian primary architecture, so it is very likely that this is an endianness bug.

11/14 Test #12: fast_int .........................***Failed    0.00 sec
could not convert to unsigned char for input: "10 "

This is a new regression since 8.1.0.

Working in a mock chroot with qemu-user-static emulation, I was able to bisect it to fce0ab6, fdb0edd, and 780c341, that is, something in 0920535...780c341. I couldn’t bisect to a single commit because the first two of the three commits don’t compile successfully. Still, this ought to be a good start in tracking down the problem.


I also tried running the exhaustive tests, which we don’t run every time we build the Fedora package but which I like to run manually once for each new fast_float release, and I found that ipv4_test also fails:

15/24 Test #15: ipv4_test ........................Subprocess aborted***Exception:   0.09 sec
Testing all IPv4 conversions... 0, 1000, 2000, 3000, 4000, 5000, 6000, 7000, 8000, 9000, ...
.terminate called after throwing an instance of 'std::invalid_argument'
  what():  Invalid IP address format

The longer-running exhaustive tests haven’t finished yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions