Actions
Bug #17836
closedJIT fails to create a precompiled header with Clang
ruby -v:
ruby 3.1.0dev (2021-04-24T02:17:20Z master dee58d7ae7) [x86_64-linux]
Backport:
Description
A log message:
Creating precompiled header
Starting process: /usr/lib/llvm/12/bin/clang /usr/lib/llvm/12/bin/clang --target=x86_64-pc-linux-gnu -w -funwind-tables -fdeclspec -Wfatal-errors -fPIC -shared -w -pipe -Oz -fno-fast-math -emit-pch -o /tmp/_ruby_mjit_hp16974u0.h.gch /var/tmp/ruby/xxx/include/ruby-3.1.0/x86_64-linux/rb_mjit_min_header-3.1.0.h
clang-12: fatal error: cannot specify -o when generating multiple output files
According to https://lists.boost.org/boost-users/2017/01/87080.php, the -c
option is (sometimes) needed to emit PCH with Clang. A patch is attached for that.
Files
Actions
Like0
Like0Like0Like0Like0Like0Like0Like0