[Bug 111688] New: compilation fails with --disable-glamor

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 14 18:33:27 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=111688

            Bug ID: 111688
           Summary: compilation fails with --disable-glamor
           Product: xorg
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: not set
          Priority: not set
         Component: Driver/Radeon
          Assignee: xorg-driver-ati at lists.x.org
          Reporter: howaboutsynergy at pm.me
        QA Contact: xorg-team at lists.x.org

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: https://bugs.freedesktop.org/show_bug.cgi?id=74096
and
white screen if xfwm4 vsync is not off:
https://bugs.freedesktop.org/show_bug.cgi?id=111687

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg-driver-ati/attachments/20190914/9f20b7bd/attachment.html>


More information about the xorg-driver-ati mailing list