[PATCH] D47817: [sanitizer_common] Fix using libtirpc on Linux

Peter Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 9 04:41:53 PDT 2018


Lekensteyn added a comment.

Hi, thank you for the patch. First a disclaimer, I am not familiar with this RPC API at all.

This would be the first user of pkg-config here. I am not sure if this would be the best fix. Usually you cannot (easily) recompile libc and override it, but for external libs such as libtirpc this should be more doable (I think).

I'm not comfortable with adding the tirpc include path to the default include path and stripping `-nodefaultlibs` either, would this approach work for cross-compilation?


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D47817





More information about the cfe-commits mailing list