Skip to content

Commit 3cb06d2

Browse files
committed
[GR-33681] [GR-23874] Backport: LLVM 12's strip needs to be told explicitly to preserve the .llvmbc bitcode section
PullRequest: truffleruby/2974
2 parents 5f57e95 + 604d6c0 commit 3cb06d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/cext/ABI_version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
21.3.0
1+
21.3.0.1

lib/truffle/rbconfig.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ module RbConfig
192192
'rubyarchhdrdir' => "#{prefix}/lib/cext/include",
193193
'rubyhdrdir' => "#{prefix}/lib/cext/include",
194194
'SOEXT' => Truffle::Platform::SOEXT.dup,
195-
'STRIP' => strip,
195+
'STRIP' => "#{strip} --keep-section=.llvmbc",
196196
'sysconfdir' => "#{prefix}/etc", # doesn't exist, as in MRI
197197
'target_cpu' => host_cpu,
198198
'target_os' => host_os,

0 commit comments

Comments
 (0)