<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 - compilation fails with --disable-glamor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111688">111688</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>compilation fails with --disable-glamor
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </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>Severity</th>
          <td>not set
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>not set
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Driver/Radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>howaboutsynergy@pm.me
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I'm trying to compile latest xf86-video-ati git aka
commit c7ed12cb2ea76999351d7cb87877224bdc0664f0 (HEAD -> makepkg,
origin/master, origin/HEAD, master)
Date:   Thu Jul 18 18:14:48 2019 +0200

like this:

  export CFLAGS=${CFLAGS/-fno-plt}
  export CXXFLAGS=${CXXFLAGS/-fno-plt}
  export LDFLAGS=${LDFLAGS/,-z,now}

  ./autogen.sh

  ./configure --prefix=/usr \
      --enable-option-checking \
      --enable-debug \
      --disable-glamor              


I encounter this error:

  CC       radeon_kms.lo
  CC       radeon_present.lo
radeon_dri2.c: In function ‘radeon_dri2_exchange_buffers’:
radeon_dri2.c:732:19: warning: unused variable ‘info’ [-Wunused-variable]
  732 |     RADEONInfoPtr info = RADEONPTR(xf86ScreenToScrn(screen));
      |                   ^~~~
  CC       radeon_sync.lo
  CC       radeon_vbo.lo
  CC       drmmode_display.lo
  CC       radeon_bo_helper.lo
  CCLD     ati_drv.la
radeon_present.c: In function ‘radeon_present_check_flip’:
radeon_present.c:283:21: error: dereferencing pointer to incomplete type
‘struct radeon_pixmap’
  283 |     if (priv && priv->fb_failed)
      |                     ^~
make[2]: *** [Makefile:689: radeon_present.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
'/home/user/build/1packages/4used/xf86-video-ati-git/makepkg_pacman/xf86-video-ati/src/xf86-video-ati/src'
make[1]: *** [Makefile:461: all-recursive] Error 1
make[1]: Leaving directory
'/home/user/build/1packages/4used/xf86-video-ati-git/makepkg_pacman/xf86-video-ati/src/xf86-video-ati'
make: *** [Makefile:393: all] Error 2


Note: it works with --enable-glamor but I hit other non-compilation issues
like:
coredump/crash: <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EXA uninitialized crash when DRI2 disabled"
   href="show_bug.cgi?id=74096">https://bugs.freedesktop.org/show_bug.cgi?id=74096</a>
and
white screen if xfwm4 vsync is not off:
<a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - white screen with AccelMethod Glamor and xfwm4 with vsync on (unless vsync is off)"
   href="show_bug.cgi?id=111687">https://bugs.freedesktop.org/show_bug.cgi?id=111687</a></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>