From: evan.waters@... Date: 2018-01-02T22:48:20+00:00 Subject: [ruby-core:84590] [Ruby trunk Bug#14234] Failed to build on CentOS 6.9 Issue #14234 has been updated by ewaters (Evan Waters). Do we know when the next version of ruby is likely to be released, and if it will include this patch? I'm trying to build ruby 2.5.0 for CentOS 6 and running into this same issue. ---------------------------------------- Bug #14234: Failed to build on CentOS 6.9 https://bugs.ruby-lang.org/issues/14234#change-69136 * Author: miyohide (Hidenori Miyoshi) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: 2.5.0 * Backport: 2.3: DONTNEED, 2.4: DONTNEED, 2.5: DONE ---------------------------------------- CentOS 6.9���gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18)��� ������rbenv - ruby-build������������Ruby 2.5.0��������������������������������������������� ~~~ text [~]$ rbenv install 2.5.0 Downloading ruby-2.5.0.tar.bz2... -> https://cache.ruby-lang.org/pub/ruby/2.5/ruby-2.5.0.tar.bz2 Installing ruby-2.5.0... BUILD FAILED (CentOS release 6.9 (Final) using ruby-build 20171215-6-g3bd8c9a) Inspect or clean up the working tree at /tmp/ruby-build.20171226075813.10682 Results logged to /tmp/ruby-build.20171226075813.10682.log Last 10 log lines: vm_eval.c: In function ���eval_string_with_cref���: vm_eval.c:1352: ������: ���_ec��� may be used uninitialized in this function vm_eval.c: In function ���rb_eval_cmd���: vm_eval.c:1518: ������: ���safe��� may be used uninitialized in this function vm_eval.c:1525: ������: ���_ec��� may be used uninitialized in this function ������������������: cc1: ������: unrecognized command line option "-Wno-self-assign" cc1: ������: unrecognized command line option "-Wno-constant-logical-operand" cc1: ������: unrecognized command line option "-Wno-parentheses-equality" cc1: ������: unrecognized command line option "-Wno-tautological-compare" [~]$ ~~~ ������������������������������������/tmp/ruby-build.20171226075813.10682��������������������������������������������������������������������������������������������������������������������������� ~~~ text prelude.c: In function ���prelude_eval���: prelude.c:204: error: #pragma GCC diagnostic not allowed inside functions prelude.c:205: error: #pragma GCC diagnostic not allowed inside functions prelude.c:221: error: #pragma GCC diagnostic not allowed inside functions ������������������: cc1: ������: unrecognized command line option "-Wno-self-assign" cc1: ������: unrecognized command line option "-Wno-constant-logical-operand" cc1: ������: unrecognized command line option "-Wno-parentheses-equality" cc1: ������: unrecognized command line option "-Wno-tautological-compare" make: *** [prelude.o] ��������� 1 make: *** ������������������������������������������.... ~~~ ---Files-------------------------------- ruby2.5_build_error.txt (36.6 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: