From: jeffbai@... Date: 2018-07-02T06:15:25+00:00 Subject: [ruby-core:87738] [Ruby trunk Bug#14883] Ruby 2.5 Fails to Build on PowerPC 32-bit (BE) Issue #14883 has been updated by mingcongbai (Mingcong Bai). mingcongbai (Mingcong Bai) wrote: > When building Ruby 2.5.1 on a PowerPC 32-bit (Big Endian) host, the build fails as it generates rdoc - segmentation fault. The build log is as follows: > > https://pastebin.aosc.io/paste/jJWjWPadcmJeLEkvpgnMqQ > > Configure parameters... > > ... \ > --enable-shared \ > --disable-rpath \ > --with-dbm-type=gdbm_compat > > On the same host with the same build environment, Ruby 2.4 builds just fine. The current Git master exhibits the same issue. This issue is introduced with the following commit, as found out with Git bisect. 214a7f8d49c7b59d06f5e2e3e1a8a3567ab7c570 is the first bad commit commit 214a7f8d49c7b59d06f5e2e3e1a8a3567ab7c570 Author: hsbt Date: Tue Sep 12 03:42:54 2017 +0000 Merge rdoc-6.0.0.beta2 from upstream. * This version changed lexer used Ripper from lexer based IRB. see details: https://github.com/ruby/rdoc/pull/512 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e :040000 040000 202159c0e7aacd1789cd0cc069c8ed42aa4cc879 a07b6d286d9e01946efe000a64b5c5f2be4e9456 M lib :040000 040000 defd7de28deef546819fbbe7162489e58b90b939 2363964b0b5be02026591f60706467c512bc8647 M test ---------------------------------------- Bug #14883: Ruby 2.5 Fails to Build on PowerPC 32-bit (BE) https://bugs.ruby-lang.org/issues/14883#change-72757 * Author: mingcongbai (Mingcong Bai) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: 2.5.1 * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- When building Ruby 2.5.1 on a PowerPC 32-bit (Big Endian) host, the build fails as it generates rdoc - segmentation fault. The build log is as follows: https://pastebin.aosc.io/paste/jJWjWPadcmJeLEkvpgnMqQ Configure parameters... ... \ --enable-shared \ --disable-rpath \ --with-dbm-type=gdbm_compat On the same host with the same build environment, Ruby 2.4 builds just fine. The current Git master exhibits the same issue. -- https://bugs.ruby-lang.org/ Unsubscribe: