Description
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
- The bug also occurs if the latest version from the
develop
branch is used. - I can successfully compile and run the unit tests.