Issue #15513 has been updated by naruse (Yui NARUSE).

Backport changed from 2.4: DONTNEED, 2.5: DONTNEED, 2.6: REQUIRED to 2.4: DONTNEED, 2.5: DONTNEED, 2.6: DONE

ruby_2_6 r66850 merged revision(s) 66817.

----------------------------------------
Bug #15513: MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0
https://bugs.ruby-lang.org/issues/15513#change-76378

* Author: kajisha (Hiroshi Kajisha)
* Status: Closed
* Priority: Normal
* Assignee: k0kubun (Takashi Kokubun)
* Target version: 
* ruby -v: ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-linux] 
* Backport: 2.4: DONTNEED, 2.5: DONTNEED, 2.6: DONE
----------------------------------------
GCC 7.3.0 で MJIT を有効にしてみたところ、生成されたヘッダファイルがコンパイルエラーになるようです。

## GCC のバージョン
~~~
$ gcc --version
gcc (Gentoo 7.3.0-r3 p1.4) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
~~~

## 実行環境
~~~
$ uname -a
Linux localhost.localdomain 4.14.83-gentoo #3 SMP Mon Jan 7 13:56:38 JST 2019 x86_64 Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz GenuineIntel GNU/Linux
~~~

## サンプルコード(/tmp/t.rb)
~~~
def calculate(a, b, n = 40_000_000)
  n.times.count do
    a = a * 16807 % 2147483647
    b = b * 48271 % 2147483647

    (a & 0xffff) == (b & 0xffff)
  end
end

raise unless calculate(65, 8921) == 588
p result: calculate(699, 124)
~~~

## 実行結果
~~~
$ ruby --jit --jit-verbose=1 /tmp/t.rb
/tmp/_ruby_mjit_p18462u106.c:1:39: error: one or more PCH files were found,but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u46.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u41.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u2.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u10.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u11.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u0.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u1.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u21.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u28.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u29.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u30.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u31.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u32.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u37.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u3.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u36.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u35.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u34.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u33.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u27.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u39.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u40.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u38.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u6.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u43.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u44.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u45.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u42.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u23.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u24.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u22.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u74.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u68.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u69.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u58.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u51.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u53.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u20.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u49.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u50.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u52.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u54.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u55.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u56.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u57.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u59.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u60.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u61.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u62.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u63.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u64.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u66.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u67.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u73.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u47.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u48.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u65.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u70.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u71.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u72.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u75.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u76.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u8.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u12.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u13.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u14.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u15.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u80.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u78.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u100.c:1:39: error: one or more PCH files were found,but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u82.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u79.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u101.c:1:39: error: one or more PCH files were found,but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u102.c:1:39: error: one or more PCH files were found,but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u103.c:1:39: error: one or more PCH files were found,but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u104.c:1:39: error: one or more PCH files were found,but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u105.c:1:39: error: one or more PCH files were found,but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u19.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u81.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u9.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u85.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u94.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u95.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u87.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u92.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u93.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u83.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u84.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u86.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u88.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u89.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u90.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u91.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u16.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u17.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u18.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u25.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u26.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u77.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u96.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u4.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u5.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u97.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u98.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u99.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
/tmp/_ruby_mjit_p18462u7.c:1:39: error: one or more PCH files were found, but they were invalid
 #include "/tmp/_ruby_mjit_hp18462u0.h"
                                       ^
compilation terminated due to -Wfatal-errors.
{:result=>600}
Successful MJIT finish
~~~

---Files--------------------------------
rb_mjit_min_header-2.6.0.h (873 KB)
_ruby_mjit_p23890u0.c (8.95 KB)


-- 
https://bugs.ruby-lang.org/