[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


            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}


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

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
make[1]: *** [Makefile:461: all-recursive] Error 1
make[1]: Leaving directory
make: *** [Makefile:393: all] Error 2

Note: it works with --enable-glamor but I hit other non-compilation issues
coredump/crash: https://bugs.freedesktop.org/show_bug.cgi?id=74096
white screen if xfwm4 vsync is not off:

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