[Mesa-dev] [PATCH] r600: link against common ac library.

Michel Dänzer michel at daenzer.net
Tue Feb 28 06:45:52 UTC 2017

On 28/02/17 02:19 PM, Dieter Nützel wrote:
> This one fixes --enable-opencl (apart from Timothy's 'fix' commit), but
> NOT nine...
> Making all in targets/d3dadapter9
> make[4]: Entering directory '/opt/mesa/src/gallium/targets/d3dadapter9'
>   CXXLD    d3dadapter9.la
> ../../../../src/amd/common/.libs/libamd_common.a(common_libamd_common_la-ac_binary.o):
> In function `ac_elf_read':
> /opt/mesa/src/amd/common/ac_binary.c:114: multiple definition of
> `ac_elf_read'

https://patchwork.freedesktop.org/patch/141131/ fixes the xvmc build
without introducing failures elsewhere due to multiple definitions of
libamd_common.a symbols.

Earthling Michel Dänzer               |               http://www.amd.com
Libre software enthusiast             |             Mesa and X developer

More information about the mesa-dev mailing list