Skip to content

unicode4 test consistently fails on RISC-V hardware #3579

@Madouura

Description

@Madouura

Description

When compiling nlohmann_json on NixOS, on a RISC-V 64 bit system, StarFive VisionFive, the unicode4 test times out and fails the build.
This does not happen on regular x86_64 systems, so I believe a fix may be needed for either the test, or the thing being tested, regarding RISC-V compatibility.

Reproduction steps

Attempt to build nlohmann_json on a RISC-V system, either hardware or through a virtual machine like QEMU, on NixOS.
If you happen to have a StarFive VisionFive board, I suggest using this PR to reproduce: NixOS/nixpkgs#168826

Expected vs. actual results

unicode4 test should not be timing out.

Minimal code example

No response

Error messages

https://gist.github.com/Madouura/edf2ac1b06bf6e63507b9dc9bb338064

Compiler and operating system

GCC11 IIRC, NixOS

Library version

3.10.5

Validation

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions