From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2191) id EA9053858D1E; Mon, 11 Apr 2022 15:46:35 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EA9053858D1E Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Carlos O'Donell To: glibc-cvs@sourceware.org Subject: [glibc] manual: Avoid name collision in libm ULP table [BZ #28956] X-Act-Checkin: glibc X-Git-Author: Tom Coldrick X-Git-Refname: refs/heads/master X-Git-Oldrev: 1a85970f41ea1e5abe6da2298a5e8fedcea26b70 X-Git-Newrev: d2265570a7694b5b01d5a0a2d56d3482ac1a5d97 Message-Id: <20220411154635.EA9053858D1E@sourceware.org> Date: Mon, 11 Apr 2022 15:46:35 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2022 15:46:36 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=d2265570a7694b5b01d5a0a2d56d3482ac1a5d97 commit d2265570a7694b5b01d5a0a2d56d3482ac1a5d97 Author: Tom Coldrick Date: Tue Apr 5 10:46:54 2022 +0100 manual: Avoid name collision in libm ULP table [BZ #28956] The 32-bit and 64-bit variants of RISC-V share the same name - "RISC-V" - when generating the libm error table for the info pages. This collision, and the way how the table is generated, mean that the values in the final table for "RISC-V" may be either for the 32- or 64-bit variant, with no indication as to which. As an additional side-effect, this makes the build non-reproducible, as the error table generated is dependent upon the host filesystem implementation. To solve this issue, the libm-test-ulps-name files for both variants have been modified to include their word size, so as to remove the collision and provide more accurate information in the table. An alternative proposed was to merge the two variants' ULP values into a single file, but this would mean that information about error values is lost, as the two variants are not identical. Some differences are considerable, notably the values for the exp() function are large. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell Diff: --- sysdeps/riscv/rv32/rvd/libm-test-ulps-name | 2 +- sysdeps/riscv/rv64/rvd/libm-test-ulps-name | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sysdeps/riscv/rv32/rvd/libm-test-ulps-name b/sysdeps/riscv/rv32/rvd/libm-test-ulps-name index 827fcdca19..6d2816082e 100644 --- a/sysdeps/riscv/rv32/rvd/libm-test-ulps-name +++ b/sysdeps/riscv/rv32/rvd/libm-test-ulps-name @@ -1 +1 @@ -RISC-V +RISC-V 32-bit diff --git a/sysdeps/riscv/rv64/rvd/libm-test-ulps-name b/sysdeps/riscv/rv64/rvd/libm-test-ulps-name index 827fcdca19..9cb50380df 100644 --- a/sysdeps/riscv/rv64/rvd/libm-test-ulps-name +++ b/sysdeps/riscv/rv64/rvd/libm-test-ulps-name @@ -1 +1 @@ -RISC-V +RISC-V 64-bit