[LLVMbugs] [Bug 18570] New: Some test-suite tests hardcoded -lstdc++

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Jan 21 05:25:10 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=18570

            Bug ID: 18570
           Summary: Some test-suite tests hardcoded -lstdc++
           Product: Test Suite
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Programs Tests
          Assignee: unassignedbugs at nondot.org
          Reporter: stpworld at narod.ru
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Some platforms has malfunctioned libstdc++, so -lc++ is used instead, though we
ask compilers to use names that are present in libc++, but not present in
libstdc++.

So if you try to link .o files with -lstdc++ then, you 99% got tons of
"undefined reference" errors.

Is that possible to check llvm configs whether -lc++ or -lstdc++ was used? And
use appropriate one?

-- 
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/20140121/1e81c025/attachment.html>


More information about the llvm-bugs mailing list