[llvm-bugs] [Bug 37002] New: MIPS: Does not attempt to build anything when GCC 7 is the host compiler

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Apr 4 08:04:47 PDT 2018


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

            Bug ID: 37002
           Summary: MIPS: Does not attempt to build anything when GCC 7 is
                    the host compiler
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: jcowgill+llvm at jcowgill.uk
                CC: llvm-bugs at lists.llvm.org

When building natively on MIPS with GCC 7, compiler-rt doesn't attempt to build
any libraries. I notice from the CMake log that there are no supported
architectures:

> -- Compiler-RT supported architectures:

If I am looking in the right place, I think this is caused by a bug in
cmake/base-config-ix.cmake. In the MIPS case it tries to pass
"--target=mipsel-linux-gnu" to the compiler, but this option is specific to
Clang fails with GCC 7. Older versions of GCC instead print a warning and
ignore the "--target" option.

-- 
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/20180404/905c248f/attachment.html>


More information about the llvm-bugs mailing list