<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 - mesa 13.0.1 build broken under debian8"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98842">98842</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>mesa 13.0.1 build broken under debian8
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>13.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>yjdwbj@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>~/mesa-13.0.1/build# ../autogen.sh --enable-dri --enable-glx --enable-vdpau 
--enable-opencl --enable-opencl-icd   --enable-glx-tls
--with-llvm-prefix=/root/clang+llvm-3.8.1-x86_64-linux-gnu-debian8
--disable-llvm-shared-libs --enable-egl --enable-gbm --enable-texture-float
--enable-xa --with-gallium-drivers=$GLL_DRV --with-dri-drivers=radeon
--with-egl-platforms=drm,x11 --enable-gles1 --enable-gles2 --enable-osmesa &&
make -j 10

# make install
[....]

 /bin/mkdir -p '/usr/local/lib'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libGL.la
'/usr/local/lib'
libtool: install: warning: relinking `libGL.la'
libtool: install: (cd /root/mesa-13.0.1/build/src/glx; /bin/bash
/root/mesa-13.0.1/build/libtool  --silent --tag CC --mode=relink gcc
-I../../../include -I../../../include/GL/internal -I../../../src
-I../../../src/loader -I../../../src/mapi -I../../../src/mapi/glapi
-I../../src/mapi -I../../src/mapi/glapi -fvisibility=hidden -DGLX_SHARED_GLAPI
-DXF86VIDMODE -D_REENTRANT -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\"
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D_GNU_SOURCE -DUSE_SSE41
-DUSE_GCC_ATOMIC_BUILTINS -DNDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM
-DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP
-DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DHAVE_LIBDRM -DGLX_USE_DRM
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_ALIAS
-DHAVE_DRI3 -DHAVE_MINCORE -DHAVE_ST_VDPAU -DHAVE_LLVM=0x0308
-DMESA_LLVM_VERSION_PATCH=1 -I/usr/local/include -I/usr/local/include/libdrm
-I/usr/local/include -DGL_LIB_NAME=\"libGL.so.1\" -g -O2 -Wall -std=c99
-Werror=implicit-function-declaration -Werror=missing-prototypes
-fno-math-errno -fno-trapping-math -no-undefined -version-number 1:2
-Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -o libGL.la -rpath
/usr/local/lib libglx.la ../../src/mapi/glapi/libglapi.la
../../src/mapi/shared-glapi/libglapi.la -lXext -lXdamage -lXfixes -lX11-xcb
-lX11 -lxcb-glx -lxcb-dri2 -lxcb -lXxf86vm -L/usr/local/lib -ldrm -lm -lpthread
-ldl )
./.libs/libglx.a(libloader_la-loader.o): In function `drm_get_pci_id_for_fd':
/root/mesa-13.0.1/build/src/loader/../../../src/loader/loader.c:278: undefined
reference to `drmGetDevice'
/root/mesa-13.0.1/build/src/loader/../../../src/loader/loader.c:288: undefined
reference to `drmFreeDevice'
./.libs/libglx.a(libloader_la-loader.o): In function
`drm_get_id_path_tag_for_fd':
/root/mesa-13.0.1/build/src/loader/../../../src/loader/loader.c:148: undefined
reference to `drmGetDevice'
/root/mesa-13.0.1/build/src/loader/../../../src/loader/loader.c:152: undefined
reference to `drmFreeDevice'
./.libs/libglx.a(libloader_la-loader.o): In function
`loader_get_user_preferred_fd':
/root/mesa-13.0.1/build/src/loader/../../../src/loader/loader.c:182: undefined
reference to `drmGetDevices'
/root/mesa-13.0.1/build/src/loader/../../../src/loader/loader.c:220: undefined
reference to `drmFreeDevices'
/root/mesa-13.0.1/build/src/loader/../../../src/loader/loader.c:215: undefined
reference to `drmFreeDevices'
collect2: error: ld returned 1 exit status
libtool: install: error: relink `libGL.la' with the above command before
installing it
Makefile:758: recipe for target 'install-libLTLIBRARIES' failed
make[5]: *** [install-libLTLIBRARIES] Error 1
make[5]: Leaving directory '/root/mesa-13.0.1/build/src/glx'
Makefile:1061: recipe for target 'install-am' failed
make[4]: *** [install-am] Error 2
make[4]: Leaving directory '/root/mesa-13.0.1/build/src/glx'
Makefile:898: recipe for target 'install-recursive' failed
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory '/root/mesa-13.0.1/build/src/glx'
Makefile:854: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/root/mesa-13.0.1/build/src'
Makefile:1011: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/root/mesa-13.0.1/build/src'
Makefile:641: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>