diff options
Diffstat (limited to 'debian/patches/riscv-nan-formatting.diff')
-rw-r--r-- | debian/patches/riscv-nan-formatting.diff | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/debian/patches/riscv-nan-formatting.diff b/debian/patches/riscv-nan-formatting.diff deleted file mode 100644 index 8ad9b629..00000000 --- a/debian/patches/riscv-nan-formatting.diff +++ /dev/null @@ -1,20 +0,0 @@ -From: Benjamin Barenblat <bbaren@google.com> -Subject: riscv64: Disable negative NaN float ostream format checking -Bug-Debian: https://bugs.debian.org/1059340 - -Streaming a negative NaN float with libstdc++ on riscv64 produces an -optimization-dependent result. Don't require that logging such a float with -Abseil produce the same result as libstdc++ streaming. - ---- a/absl/log/log_format_test.cc -+++ b/absl/log/log_format_test.cc -@@ -611,7 +611,9 @@ - EXPECT_CALL( - test_sink, - Send(AllOf( -+#ifndef __riscv // see https://bugs.debian.org/1059340 - TextMessage(MatchesOstream(comparison_stream)), -+#endif - TextMessage(AnyOf(Eq("-nan"), Eq("nan"), Eq("NaN"), Eq("-nan(ind)"))), - ENCODED_MESSAGE( - AnyOf(EqualsProto(R"pb(value { str: "-nan" })pb"), |