[llvm-bugs] [Bug 39773] New: C++11 or greater is required but the compiler does not support c++11

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Nov 24 20:15:31 PST 2018


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

            Bug ID: 39773
           Summary: C++11 or greater is required but the compiler does not
                    support c++11
           Product: Build scripts
           Version: 7.0
          Hardware: PC
                OS: Solaris
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: noloader at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 21149
  --> https://bugs.llvm.org/attachment.cgi?id=21149&action=edit
CMake logs

I'm trying to build LLVM 7.0 release tarballs on Solaris 11.3, i86pc. GCC is
too old so I'm working with Sun Studio compilers. SunC 13.4, 12.5 and 12.6
encounter the error shown below.

I believe Sun added C++11 support Sun Studio 12.4
(https://docs.oracle.com/cd/E37069_01/html/E37071/gndfg.html). By 12.5 and 12.6
it should be fairly complete.

-- Performing Test LIBCXX_HAS_WX_FLAG
-- Performing Test LIBCXX_HAS_WX_FLAG - Success
-- Performing Test LIBCXX_HAS_NO_WX_FLAG
-- Performing Test LIBCXX_HAS_NO_WX_FLAG - Success
-- Performing Test LIBCXX_HAS_EHSC_FLAG
-- Performing Test LIBCXX_HAS_EHSC_FLAG - Success
-- Performing Test LIBCXX_HAS_NO_EHS_FLAG
-- Performing Test LIBCXX_HAS_NO_EHS_FLAG - Success
-- Performing Test LIBCXX_HAS_NO_EHA_FLAG
-- Performing Test LIBCXX_HAS_NO_EHA_FLAG - Success
-- Performing Test LIBCXX_HAS_NO_GR_FLAG
-- Performing Test LIBCXX_HAS_NO_GR_FLAG - Success
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Looking for ccos in m
-- Looking for ccos in m - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG
-- Performing Test LIBCXX_SUPPORTS_STD_EQ_CXX11_FLAG - Failed
CMake Error at projects/libcxx/CMakeLists.txt:515 (message):
  C++11 or greater is required but the compiler does not support c++11

-- Configuring incomplete, errors occurred!
See also "/export/home/jwalton/llvm_build/CMakeFiles/CMakeOutput.log".
See also "/export/home/jwalton/llvm_build/CMakeFiles/CMakeError.log".
Failed to cmake LLVM sources

-- 
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/20181125/d4d90ae0/attachment.html>


More information about the llvm-bugs mailing list