[llvm-bugs] [Bug 51808] New: -nostdlib++ still links against libc++ on macOS

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 9 06:46:36 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=51808

            Bug ID: 51808
           Summary: -nostdlib++ still links against libc++ on macOS
           Product: clang
           Version: 12.0
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: C++
          Assignee: unassignedclangbugs at nondot.org
          Reporter: caleb.zulawski at gmail.com
                CC: blitzrakete at gmail.com, dgregor at apple.com,
                    erik.pilkington at gmail.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

I found that -nostdlib++ still produces -lc++ in the call to ld.  I am able to
use -nostdlib -Wl,lSystem as a workaround.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210909/1d86a542/attachment.html>


More information about the llvm-bugs mailing list