<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - compile error eglGetSyncValuesCHROMIUM undeclared"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80034#c2">Comment # 2</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - compile error eglGetSyncValuesCHROMIUM undeclared"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=80034">bug 80034</a>
              from <span class="vcard"><a class="email" href="mailto:bug0xa3d2@hushmail.com" title="charlie <bug0xa3d2@hushmail.com>"> <span class="fn">charlie</span></a>
</span></b>
        <pre><span class="quote">>Which version of mesa is this ? Is this a regression ?</span >

mesa git and probably a regression.

<span class="quote">>I'm assuming that you have some thing that is messing with CFLAGS.</span >

I don't believe the CFLAGS have changed since I last successfully built mesa
with them.

export CFLAGS="-m${LIBDIRSUFFIX} -O3 -march=native -pipe"
export CXXFLAGS="${CFLAGS} -fvisibility-inlines-hidden"
export CPPFLAGS="${CXXLAGS} -I${XBUILD}/include
-L${XBUILD}/lib${LIBDIRSUFFIX}:${XBUILD}/lib:/usr/lib${LIBDIRSUFFIX}"

I disabled the CFLAGS/CXXFLAGS/CPPFLAGS variables and mesa built successfully.

<span class="quote">>Missing ${XBUILD} ? Might be worth dropping this one as well.</span >

Not missing--it is a variable pointing to the installation directory.

<span class="quote">>These seem like libdrm configure flags. Not sure what are they doing here.
>What are these doing here ?</span >

The above statements suggest you never used
<a href="http://cgit.freedesktop.org/xorg/util/modular/plain/build.sh">http://cgit.freedesktop.org/xorg/util/modular/plain/build.sh</a> to build all of X.
 I assume you are compiling mesa by hand or are on another platform.

<span class="quote">>Please avoid setting these if they are identical.  IIRC there was a bug (automake/autoconf) that was incorrectly setting the cross-compile variable.</span >

Thanks for the heads up.  Unsetting build/host/target has no effect on the
building bug.

My conclusion is that something changed in the mesa code that will not allow me
to use my old CFLAGS/CXXFLAGS/CPPFLAGS.

It might take me a while to figure out where in git the change effects the
build.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>