diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-09-12 22:37:06 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2018-09-12 22:37:06 -0700 |
commit | 068c68eb54a576f45eb721964cb425ef1e034cca (patch) | |
tree | 66380d59b4cd5cb84e5fecb2ea92ba232209f71c /conf | |
parent | 2ae520aa17fac154004aec15a14fb073cc0d57bd (diff) | |
download | meta-clang-068c68eb54a576f45eb721964cb425ef1e034cca.tar.gz |
ruby,m4: Link with compiler-rt
Fixes issues like
undefined reference to `__mulodi4'
see
https://bugs.llvm.org/show_bug.cgi?id=28629
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'conf')
-rw-r--r-- | conf/nonclangable.conf | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/conf/nonclangable.conf b/conf/nonclangable.conf index 6b600e5..bbeb595 100644 --- a/conf/nonclangable.conf +++ b/conf/nonclangable.conf | |||
@@ -191,3 +191,12 @@ CPPFLAGS_append_pn-memcached_toolchain-clang = " -Wno-error=embedded-directive" | |||
191 | #| /tmp/mcp2515-578c41.s:1821: Error: r13 not allowed here -- `sub.w sp,r6,#8' | 191 | #| /tmp/mcp2515-578c41.s:1821: Error: r13 not allowed here -- `sub.w sp,r6,#8' |
192 | #| clang-7: error: assembler command failed with exit code 1 (use -v to see invocation) | 192 | #| clang-7: error: assembler command failed with exit code 1 (use -v to see invocation) |
193 | TUNE_CCARGS_remove_pn-upm_toolchain-clang = "-no-integrated-as" | 193 | TUNE_CCARGS_remove_pn-upm_toolchain-clang = "-no-integrated-as" |
194 | |||
195 | #| /usr/src/debug/ruby/2.5.1-r0/build/../ruby-2.5.1/process.c:7073: undefined reference to `__mulodi4' | ||
196 | #| clang-7: error: linker command failed with exit code 1 (use -v to see invocation) | ||
197 | |||
198 | LDFLAGS_append_pn-ruby_toolchain-clang = " -rtlib=compiler-rt" | ||
199 | LDFLAGS_append_pn-m4_toolchain-clang = " -rtlib=compiler-rt" | ||
200 | |||
201 | |||
202 | |||