[PATCH] D45639: [Driver] Support default libc++ library location on Darwin

Louis Dionne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 8 15:09:40 PDT 2018


ldionne added a comment.

@phosek I don't understand how you can expect code compiled with new headers to link against an old dylib, unless you're setting the target platform, in which case anything that would fail to link will instead be a compiler error. I mean, we're adding stuff to the dylib from one version to the next, so _of course_ it won't always work.

Regarding the specific error you're encountering (`Undefined symbols for architecture x86_64: "operator delete(void*, std::align_val_t)", referenced from: [...]`), we're aware of it and this will in fact be fixed by https://reviews.llvm.org/D50344.


Repository:
  rC Clang

https://reviews.llvm.org/D45639





More information about the cfe-commits mailing list