<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <pre>Hi Matt,</pre>
    <blockquote type="cite"
cite="mid:1542595067-45972-1-git-send-email-matthew.weber@rockwellcollins.com">
      <pre class="moz-quote-pre" wrap="">This patch adds support for the compiler-rt (CLANG runtime) library.
It builds a set of static libraries and installs them into the
CLANG/LLVM toolchain resource folder.

Signed-off-by: Matthew Weber <a class="moz-txt-link-rfc2396E" href="mailto:matthew.weber@rockwellcollins.com"><matthew.weber@rockwellcollins.com></a>
Cc: Romain Naour <a class="moz-txt-link-rfc2396E" href="mailto:romain.naour@smile.fr"><romain.naour@smile.fr></a>
Cc: Ricardo Martincoski <a class="moz-txt-link-rfc2396E" href="mailto:ricardo.martincoski@gmail.com"><ricardo.martincoski@gmail.com></a>
---
Changes
v1 -> v2
[Romain
 - Removed unnecessary host-cmake dependency

v2 -> v3
[Romain
 - Update to use COMPILER_RT_INSTALL_PATH for library install
[Ricardo
 - Fixed check-package extra line
 - Spelling in commit message
---
</pre>
    </blockquote>
    <pre>I've just tried to build compiler-rt for arm with uclibc and got the following:

buildroot/test/build/compiler-rt-7.0.0/lib/interception/interception_linux.cc: 
In function ‘void* __interception::GetFuncAddrVer(const char*, const char*)’:
buildroot/test/build/compiler-rt-7.0.0/lib/interception/interception_linux.cc:48:10: error: 
‘dlvsym’ was not declared in this scope 
 return dlvsym(RTLD_NEXT, func_name, ver);
          ^~~~~~
buildroot/test/build/compiler-rt-7.0.0/lib/interception/interception_linux.cc:48:10: note: 
suggested alternative: ‘dlsym’
return dlvsym(RTLD_NEXT, func_name, ver);
       ^~~~~~
       dlsym


buildroot/test/build/compiler-rt-7.0.0/lib/sanitizer_common/sanitizer_platform_limits_posix.cc:141:10: 
fatal error: obstack.h: No such file or directory
 #include <obstack.h>
          ^~~~~~~~~~~
compilation terminated.


It seems we depend on glibc, haven't tried with musl yet.

Best regards,

Valentin
</pre>
  </body>
</html>