From: takashikkbn@...
Date: 2019-01-07T11:41:29+00:00
Subject: [ruby-dev:50750] [Ruby trunk Bug#15513] MJIT compilation terminated due to -Wfatal-errors on GCC 7.3.0

Issue #15513 has been updated by k0kubun (Takashi Kokubun).


共有ありがとうございます。いただいたファイルを手元で同様のコマンドにてコンパイルしたところコンパイルエラーにならないので、先ほどのファイルが /tmp にある状態で(削除済であれば再度実行し、pXXXXX 部分をご変更ください)以下のコマンドのログをご共有いただけないでしょうか。

```
/usr/bin/gcc -w -Winvalid-pch -fPIC -shared -w -pipe -O3 -o /tmp/_ruby_mjit_p23890u0.o /tmp/_ruby_mjit_p23890u0.c -c -L/home/hiroshi/.asdf/installs/ruby/2.6.0/lib -Wl,--compress-debug-sections=zlib -nostartfiles -nodefaultlibs -nostdlib
```

`-Wfatal-errors` を取り除き、 `-Winvalid-pch` を追加しています。また、念のため `ls -l /tmp/_ruby_mjit_hp23890u0.h.gch` の結果も確認したいです。

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

* Author: kajisha (Hiroshi Kajisha)
* Status: Feedback
* 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: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN
----------------------------------------
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/