pcc added a comment.

Unfortunately it looks like the Android NDK uses some ancient version of gold 
that doesn't support `--push-state`, so we probably can't rely on being able to 
use it.
http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux-android/builds/17287/steps/run%20lit%20tests%20%5Bi686%2Ffugu-userdebug%2FN2G48C%5D/logs/stdio
As an alternative solution, could we add these flags at the start of the linker 
command line? That way, we're guaranteed that the linker will be in the 
`--no-as-needed` state.


Repository:
  rC Clang

https://reviews.llvm.org/D54805



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to