[llvm-bugs] [Bug 26932] Clang passes along -stdlib=whatever to gcc (which rejects it)

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Oct 14 22:24:56 PDT 2020


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

Fangrui Song <i at maskray.me> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
                 CC|                            |i at maskray.me
             Status|NEW                         |RESOLVED

--- Comment #1 from Fangrui Song <i at maskray.me> ---
Fixed now

% clang++ -target arm-none-eabi -stdlib=libc++ -xc++ a.c -nostdlib
clang-12: warning: argument unused during compilation: '-stdlib=libc++'
[-Wunused-command-line-argument]
ld.lld: warning: lld uses blx instruction, no object with architecture
supporting feature detected
ld.lld: warning: cannot find entry symbol _start; defaulting to 0x200B4

-- 
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/20201015/86d0bfa5/attachment.html>


More information about the llvm-bugs mailing list