We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43e0571 commit 3689787Copy full SHA for 3689787
lib/truffle/rbconfig.rb
@@ -86,7 +86,10 @@ module RbConfig
86
cc = 'clang'
87
cxx = 'clang++'
88
ranlib = 'ranlib'
89
- strip = 'strip -A -n'
+ # We add -x here, `strip -A -n` always fails, like `error: symbols referenced by indirect symbol table entries that can't be stripped` even on CRuby.
90
+ # This is notably necessary for grpc where the current logic does not append -x for TruffleRuby:
91
+ # https://github.com/grpc/grpc/blob/54f65e0dbd2151a3ba2ad364327c0c31b200a5ae/src/ruby/ext/grpc/extconf.rb#L125-L126
92
+ strip = 'strip -A -n -x'
93
gcc, clang = false, true
94
cflags_pre = '-fdeclspec '
95
else
0 commit comments