[PATCH] D63329: Allow static linking of libc++ on Linux, just like -static-libstdc++

2022-08-03 Thread Zixuan Wu via Phabricator via cfe-commits
zixuan-wu added a comment. Herald added a subscriber: MaskRay. Herald added a project: All. Is this going to continue? And also if we use libunwind to handle EH, then it uses dladdr function which need link libdl. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[PATCH] D63329: Allow static linking of libc++ on Linux, just like -static-libstdc++

2020-12-10 Thread Bryan Chan via Phabricator via cfe-commits
bryanpkc added a comment. Herald added a subscriber: dang. @erikjv Are you still working on this? Or is a better alternative being pursued? IIUC, this functionality is still missing in trunk. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63329/new/

[PATCH] D63329: Allow static linking of libc++ on Linux, just like -static-libstdc++

2019-06-14 Thread Hal Finkel via Phabricator via cfe-commits
hfinkel added inline comments. Comment at: clang/lib/Driver/ToolChains/Gnu.cpp:570 + // FIXME: libc++ dynamically links against libpthread, so for static + // linking, we need to supply that dependency. Why does this say FIXME?

[PATCH] D63329: Allow static linking of libc++ on Linux, just like -static-libstdc++

2019-06-14 Thread Erik Verbruggen via Phabricator via cfe-commits
erikjv added a comment. In D63329#1543407 , @lebedev.ri wrote: > Tests? I can add a test, but I'd first like to know if this would be accepted. Test would be along the lines of "test/Driver/fuchsia.cpp" line 36, where it tests "-static-libstdc++".

[PATCH] D63329: Allow static linking of libc++ on Linux, just like -static-libstdc++

2019-06-14 Thread Roman Lebedev via Phabricator via cfe-commits
lebedev.ri added a comment. Tests? Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D63329/new/ https://reviews.llvm.org/D63329 ___ cfe-commits mailing list cfe-commits@lists.llvm.org

[PATCH] D63329: Allow static linking of libc++ on Linux, just like -static-libstdc++

2019-06-14 Thread Erik Verbruggen via Phabricator via cfe-commits
erikjv created this revision. erikjv added reviewers: dlj, cfe-commits. Herald added a reviewer: EricWF. Herald added a subscriber: jfb. Herald added a project: clang. Dynamic linking against libc++ on Linux was already supported, as is dynamic and static linking against libstdc++. What was