From: naruse@... Date: 2018-01-03T18:02:58+00:00 Subject: [ruby-core:84614] [Ruby trunk Bug#14231] __uint128_t check in hash.c is broken, use Issue #14231 has been updated by naruse (Yui NARUSE). Backport changed from 2.3: REQUIRED, 2.4: REQUIRED, 2.5: REQUIRED to 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE ruby_2_5 r61579 merged revision(s) 61471,61472. ---------------------------------------- Bug #14231: __uint128_t check in hash.c is broken, use https://bugs.ruby-lang.org/issues/14231#change-69159 * Author: bircoph (Andrew Savchenko) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: REQUIRED, 2.4: REQUIRED, 2.5: DONE ---------------------------------------- Current check for __uint128_t in hash.c is not valid, since it ignores compilers other than gcc. We hit this on lcc on e2k platform. Configure script properly checks from 128-bit data types support and sets HAVE_UINT128_T accordingly. This approach is already used within ruby at bignum.c, random.c, etc. Probably hash.c is an overlooked remnant of old days. This patch fixes this. See also GitHub PR on this issue: https://github.com/ruby/ruby/pull/1781 ---Files-------------------------------- ruby-uint128-check.patch (413 Bytes) -- https://bugs.ruby-lang.org/ Unsubscribe: