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: unassignedb...@nondot.org
          Reporter: jcowgill+l...@jcowgill.uk
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to