[Buildroot] [PATCH v3 1/6] package/compiler-rt: new package

Valentin Korenblit valentinkorenblit at gmail.com
Wed Nov 21 06:48:03 UTC 2018

Hi Matt,

> 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<matthew.weber at rockwellcollins.com>
> Cc: Romain Naour<romain.naour at smile.fr>
> Cc: Ricardo Martincoski<ricardo.martincoski at gmail.com>
> ---
> 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
> ---

I've just tried to build compiler-rt for arm with uclibc and got the following:

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);

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,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20181121/1cf3e183/attachment.html>

More information about the buildroot mailing list