<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - cc1plus: error: unrecognized command line option "-std=c++11""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109131">109131</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>cc1plus: error: unrecognized command line option "-std=c++11"
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Keywords</th>
          <td>bisected, regression
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Mesa core
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vlee@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>baker.dylan.c@gmail.com, emil.l.velikov@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>CXX    gallivm/lp_bld_debug.lo
cc1plus: error: unrecognized command line option "-std=c++11"

commit 12187550f9c248e72ed8848e96da8f29f1e3a713
Author: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>>
Date:   Thu Dec 13 11:56:40 2018 +0000

    configure: add CXX11_CXXFLAGS to LLVM_CXXFLAGS

    Seemingly with LLVM7 and GCC 5.0, the former won't properly advertise
    -std=c++11 and the latter will choke.

    dd this temporary workaround, otherwise we'll get errors like:

    In file included from /usr/include/c++/5/type_traits:35:0,
                     from
/usr/lib/llvm-7/include/llvm/Support/type_traits.h:18,
                     from /usr/lib/llvm-7/include/llvm/ADT/Optional.h:22,
                     from /usr/lib/llvm-7/include/llvm/ADT/STLExtras.h:20,
                     from /usr/lib/llvm-7/include/llvm/ADT/StringRef.h:13,
                     from
/usr/lib/llvm-7/include/llvm/Target/TargetMachine.h:17,
                     from ../../../src/amd/common/ac_llvm_helper.cpp:36:
    /usr/include/c++/5/bits/c++0x_warning.h:32:2: error: #error This file
requires compiler and library support for the ISO C++ 2011 standard. This
support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.

    Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>>
    Reviewed-by: Dylan Baker <<a href="mailto:dylan@pnwbakers.com">dylan@pnwbakers.com</a>></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>