[llvm-bugs] [Bug 49540] New: some clang driver tests fail in builds configured with -DCLANG_DEFAULT_RTLIB=libgcc

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Mar 11 07:39:47 PST 2021


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

            Bug ID: 49540
           Summary: some clang driver tests fail in builds configured with
                    -DCLANG_DEFAULT_RTLIB=libgcc
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Driver
          Assignee: unassignedclangbugs at nondot.org
          Reporter: hans at chromium.org
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

In builds configured with -DCLANG_DEFAULT_RTLIB=libgcc, the tests below fail:

   Clang :: Driver/aix-ld.c
   Clang :: Driver/aix-rtlib.c
   Clang :: Driver/baremetal-sysroot.cpp
   Clang :: Driver/baremetal.cpp
   Clang :: Driver/wasm-toolchain.c
   Clang :: Driver/wasm-toolchain.cpp


For example, Driver/wasm-toolchain.cpp excepts to see
libclang_rt.builtins-wasm32.a in the linker invocation, with when configured as
above, it gets -lgcc instead.

-- 
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/20210311/5b8c39be/attachment-0001.html>


More information about the llvm-bugs mailing list