[Mesa-dev] [r600g] Mesa git: undefined reference to `ac_shader_binary_config_start' and `ac_elf_read'

Aaron Watry awatry at gmail.com
Tue Feb 28 04:51:54 UTC 2017


On Mon, Feb 27, 2017 at 10:25 PM, Dieter Nützel <Dieter at nuetzel-hh.de>
wrote:

> Hello Timothy,
>
> after your latest commit I get this:
>

Same here...  My standard mesa build enables both r600g/radeonsi and also
does --enable-opencl which pulls LLVM/libelf into r600g for compute
purposes.

Looks like r600g isn't being linked against src/amd/common/*

--Aaron


>
> make[4]: Entering directory '/opt/mesa/src/gallium/targets/pipe-loader'
>   CXXLD    pipe_r600.la
> ../../../../src/gallium/drivers/r600/.libs/libr600.a(evergreen_compute.o):
> In function `r600_shader_binary_read_config':
> /opt/mesa/src/gallium/drivers/r600/evergreen_compute.c:189: undefined
> reference to `ac_shader_binary_config_start'
> ../../../../src/gallium/drivers/r600/.libs/libr600.a(evergreen_compute.o):
> In function `evergreen_create_compute_state':
> /opt/mesa/src/gallium/drivers/r600/evergreen_compute.c:254: undefined
> reference to `ac_elf_read'
> collect2: error: ld returned 1 exit status
>
> Even after 'make distclean'.
>
> Cheers,
> Dieter
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20170227/9f06d44d/attachment.html>


More information about the mesa-dev mailing list