Page MenuHomePhabricator

[cxx][cxxabi] Don't link libpthread and libdl on Fuchsia
ClosedPublic

Authored by phosek on Dec 6 2019, 11:13 AM.

Details

Summary

These are a part of the libc and embeding these as dependent libraries
causes link time error.

Diff Detail

Event Timeline

phosek created this revision.Dec 6 2019, 11:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptDec 6 2019, 11:13 AM
leonardchan accepted this revision.Dec 6 2019, 11:14 AM
This revision is now accepted and ready to land.Dec 6 2019, 11:14 AM
This revision was automatically updated to reflect the committed changes.

If it causes link-time error, why CMake checks don't catch that?

If it causes link-time error, why CMake checks don't catch that?

Because CMake never tries to use the just built libc++.a or libc++abi.a and link a binary against it which is where this issue manifests.