[Mesa-dev] [PATCH] radv: Change a linking order of AMDGPU_LIBS

Emil Velikov emil.l.velikov at gmail.com
Tue Aug 22 11:10:56 UTC 2017


On 24 July 2017 at 12:20, Gwan-gyeong Mun <elongbug at gmail.com> wrote:
> Because of "libvulkan_common.la" directly links libdrm_amdgpu api prior to
> "libvulkan_radeon.la", it change a linking order of AMDGPU_LIBS from
> "libvulkan_radeon.la" to "libvulkan_common.la".
>
I'm not sure I get what is the issue here. Can you elaborate a bit?

AFAICT libvulkan_common is a static library. Thus the part that it
uses libdrm amdgpu API is somewhat irrelevant.
As long as the libvulkan_common is before AMDGPU_LIBS in the link
chain, which I think it is.

-Emil


More information about the mesa-dev mailing list