Skip to contentSkip to conversation

missing libgcrypt and openssl devel results in linker error in libvulkan_common

Bug 98167 [email protected] 1 participant 5 messages Oct 8, 2016 – Oct 11, 2016

lore
Share & tools
lore
#0 lore raw

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

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=98167

Dave Airlie <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
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

#4 lore raw
In reply to [email protected]

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                        |org
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