<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - [Mesa-current] [clover] build failure in clvover/api/transfer.cpp"
href="https://bugs.freedesktop.org/show_bug.cgi?id=56140">56140</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>mesa-dev@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>[Mesa-current] [clover] build failure in clvover/api/transfer.cpp
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>dcherkassov@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Other
</td>
</tr>
<tr>
<th>Product</th>
<td>Mesa
</td>
</tr></table>
<p>
<div>
<pre>Mesa-current fails to build.
with HEAD at aa2067c757506e8f3418ef11333382a1fa45ad6e
( gallivm: Hide AVX support when requested by LP_NATIVE_VECTOR_WIDTH or
unsupported by LLVM. )
build log:
============================================================================
make[3]: Entering directory `/home/dc/src/mesa-cur/src/gallium/targets/opencl'
CXXLD libOpenCL.la
*** Warning: Linking the shared library libOpenCL.la against the
*** static library ../../../../src/gallium/auxiliary/libgallium.a is not
portable!
*** Warning: Linking the shared library libOpenCL.la against the
*** static library
../../../../src/gallium/auxiliary/pipe-loader/libpipe_loader.a is not portable!
*** Warning: Linking the shared library libOpenCL.la against the
*** static library ../../../../src/gallium/winsys/sw/null/libws_null.a is not
portable!
../../../../src/gallium/state_trackers/clover/.libs/libclover.a(lt8-libclover_la-kernel.o):
In function `operator()':
/home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/base.hpp:280:
multiple definition of `std::function<bool (_cl_event* const&)>
clover::is_zero<_cl_event*>()::{lambda(_cl_event* const&)#1}::_FUN(_cl_event*
const&)'
../../../../src/gallium/state_trackers/clover/.libs/libclover.a(libclover_la-transfer.o):/home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/base.hpp:280:
first defined here
../../../../src/gallium/state_trackers/clover/.libs/libclover.a(lt8-libclover_la-kernel.o):
In function `std::function<bool (_cl_event* const&)>
clover::is_zero<_cl_event*>()::{lambda(_cl_event* const&)#1}::operator bool
(*)(_cl_event* const&)() const':
/home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/base.hpp:278:
multiple definition of `std::function<bool (_cl_event* const&)>
clover::is_zero<_cl_event*>()::{lambda(_cl_event* const&)#1}::operator bool
(*)(_cl_event* const&)() const'
../../../../src/gallium/state_trackers/clover/.libs/libclover.a(libclover_la-transfer.o):/home/dc/src/mesa-cur/src/gallium/state_trackers/clover/./core/base.hpp:278:
first defined here
collect2: error: ld returned 1 exit status
make[3]: *** [libOpenCL.la] Error 1
make[3]: Leaving directory `/home/dc/src/mesa-cur/src/gallium/targets/opencl'
make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/dc/src/mesa-cur/src/gallium/targets'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dc/src/mesa-cur/src'
make: *** [all-recursive] Error 1
Additional info:
===============================
$ uname -a:
Linux radeondevel 3.6.0-rc4+ #3 SMP Tue Sep 18 20:12:37 MSK 2012 x86_64
GNU/Linux
$ gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.7/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Debian 4.7.1-2'
--with-bugurl=file:///usr/share/doc/gcc-4.7/README.Bugs
--enable-languages=c,c++,go,fortran,objc,obj-c++ --prefix=/usr
--program-suffix=-4.7 --enable-shared --enable-linker-build-id
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.7
--libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
--enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object
--enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic
--enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu
--target=x86_64-linux-gnu
Thread model: posix
gcc version 4.7.1 (Debian 4.7.1-2)
./configure invocation:
PKG_CONFIG_PATH=/opt/lib/pkgconfig ./autogen.sh --with-dri-drivers=""
--prefix=/opt --with-gallium-drivers=r600 --with-llvm-prefix=/opt
--enable-opencl --with-libclc-path=/opt
./configure output:
<span class="quote">> prefix: /opt
> exec_prefix: ${prefix}
> libdir: ${exec_prefix}/lib
> includedir: ${prefix}/include</span >
>
<span class="quote">> OpenGL: yes (ES1: no ES2: no)
> OpenVG: no</span >
>
<span class="quote">> OSMesa: no
> DRI drivers: no
> DRI driver dir: ${libdir}/dri
> GLX: DRI-based</span >
>
<span class="quote">> EGL: yes
> EGL platforms: x11
> EGL drivers: builtin:egl_glx builtin:egl_dri2</span >
>
<span class="quote">> llvm: yes
> llvm-config: /opt/bin/llvm-config
> llvm-version: 3.2</span >
>
<span class="quote">> Gallium: yes
> Gallium dirs: auxiliary drivers state_trackers
> Target dirs: dri-r600 opencl
> Winsys dirs: radeon/drm sw sw/dri sw/null
> Driver dirs: galahad identity noop r600 rbug trace
> Trackers dirs: clover dri</span >
>
<span class="quote">> Shared libs: yes
> Static libs: no
> Shared-glapi: yes</span >
>
<span class="quote">> CFLAGS: -g -O2 -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -fPIC
> CXXFLAGS: -g -O2 -Wall -fno-strict-aliasing -fno-builtin-memcmp -fPIC
> Macros: -D_GNU_SOURCE -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DIN_DRI_DRIVER -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0302</span >
>
<span class="quote">> PYTHON2: python</span >
>
<span class="quote">> Run 'make' to build Mesa</span >
>
Thanks.</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>