Bug 42480

Summary: pipe_r600.so compilation fails
Product: Mesa Reporter: demon <demon>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: medium    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: config.log Configuration log
Compilation log error

Description demon 2011-11-01 09:06:04 UTC
Created attachment 53006 [details]
config.log Configuration log

Compilation fails. Logs attached. Latest git (rev a1b737d72f1fec1d967255f4f87b5208a857c87f).

Compile options:

  ./autogen.sh --prefix=/usr \
  --with-dri-driverdir=/usr/lib/xorg/modules/dri \
  --with-gallium-drivers=r600,swrast \
  --disable-dri \
  --with-egl-platforms=x11,drm \
  --enable-xorg \
  --enable-xa \
  --enable-openvg \
  --enable-gles1 \
  --enable-gles2 \
  --enable-xcb \
  --enable-glx-tls \
  --enable-texture-float \
  --enable-shared-dricore \
  --enable-shared-glapi \
  --enable-gallium-egl \
  --enable-gallium-g3dvl \
  --disable-gallium-llvm \
  --enable-debug
Comment 1 demon 2011-11-01 09:06:43 UTC
Created attachment 53007 [details]
Compilation log error
Comment 2 Alex Deucher 2011-11-01 09:15:41 UTC
Does running 'make clean' help?
Comment 3 demon 2011-11-01 09:18:39 UTC
I compile from clean tree every time (I'm using an Arch Linux's PKGBUILD script).
Comment 4 demon 2011-11-01 09:23:36 UTC
Forgot to mention, libdrm version is 2.4.27. Configure check did not pass with version 2.4.26.
Comment 5 Chia-I Wu 2011-11-05 00:20:11 UTC
The error came from gbm_gallium being automatically enabled.  configure.ac should not enable it when --disable-dri is given.  This should be fixed by 95ef069e1cc2a98a77ea14d63ff1769beeb67c14.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.