missing libgcrypt and openssl devel results in linker error in libvulkan_common
https://bugs.freedesktop.org/show_bug.cgi?id=98167
Bug ID: 98167
Summary: [vulkan, radv] missing libgcrypt and openssl devel
results in linker error in libvulkan_common
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
CC vk_format_table.lo
CC radv_wsi_x11.lo CC radv_wsi_wayland.lo GEN dev_icd.json CC winsys/amdgpu/radv_amdgpu_bo.lo CC winsys/amdgpu/radv_amdgpu_cs.lo CC winsys/amdgpu/radv_amdgpu_surface.lo CC winsys/amdgpu/radv_amdgpu_winsys.lo CCLD libvulkan_common.la CXXLD libvulkan_radeon.la
./.libs/libvulkan_common.a(radv_pipeline.o): In function
`radv_pipeline_compile':/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline.c:373: undefined
reference to `_mesa_sha1_compute'
./.libs/libvulkan_common.a(radv_pipeline.o): In function
`radv_CreateShaderModule':/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline.c:86: undefined
reference to `_mesa_sha1_compute'
./.libs/libvulkan_common.a(radv_descriptor_set.o): In function
`radv_CreatePipelineLayout':/home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:196:
undefined reference to `_mesa_sha1_init' /home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:206:
undefined reference to `_mesa_sha1_update' /home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:219:
undefined reference to `_mesa_sha1_update' /home/vedranm/workspace/mesa/src/amd/vulkan/radv_descriptor_set.c:221:
undefined reference to `_mesa_sha1_final'
./.libs/libvulkan_common.a(radv_pipeline_cache.o): In function
`radv_hash_shader':/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:92: undefined
reference to `_mesa_sha1_init'/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:94: undefined
reference to `_mesa_sha1_update' /home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:95: undefined
reference to `_mesa_sha1_update' /home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:96: undefined
reference to `_mesa_sha1_update' /home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:98: undefined
reference to `_mesa_sha1_update' /home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:100:
undefined reference to `_mesa_sha1_update' ./.libs/libvulkan_common.a(radv_pipeline_cache.o):/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:102:
more undefined references to `_mesa_sha1_update' follow ./.libs/libvulkan_common.a(radv_pipeline_cache.o): In function
`radv_hash_shader':/home/vedranm/workspace/mesa/src/amd/vulkan/radv_pipeline_cache.c:104:
undefined reference to `_mesa_sha1_final'
collect2: error: ld returned 1 exit status
Makefile:868: recipe for target 'libvulkan_radeon.la' failed
make[4]: *** [libvulkan_radeon.la] Error 1
make[4]: Leaving directory '/home/vedranm/workspace/mesa/src/amd/vulkan'
Makefile:769: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/vedranm/workspace/mesa/src/amd/vulkan'
Makefile:865: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/vedranm/workspace/mesa/src'
Makefile:656: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/home/vedranm/workspace/mesa/src'
Makefile:652: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
Installing openssl-devel or libgcrypt-devel fixes the problem. Configure script should detect this and produce a user friendly warning.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=98167
--- Comment #1 from Dave Airlie <[email protected]> --- Should be fixed in master now.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=98167
Dave Airlie <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXEDSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=98167
--- Comment #2 from Vedran Miletić <[email protected]> --- Indeed it does. Thanks.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=98167
Vedran Miletić <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Drivers/Gallium/radeonsi |Drivers/Vulkan/radeon
Assignee|[email protected] |[email protected].
|.org |org
QA Contact|[email protected] |[email protected].
|.org |orgSignature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel