Summary: |
net-libs/gtk-vnc-1.3.1 fails to link with clang-17: ld.lld: error: version script assignment of 'global' to symbol 'vnc_image_framebuffer_get_type' failed: symbol not defined |
Product: |
Gentoo Linux
|
Reporter: |
ppw0 |
Component: |
Current packages | Assignee: |
Gentoo Linux Gnome Desktop Team <gnome> |
Status: |
CONFIRMED
---
|
|
|
Severity: |
normal
|
CC: |
kostadinshishmanov, StormByte, virtualization, volkov
|
Priority: |
Normal
|
|
|
Version: |
unspecified | |
|
Hardware: |
All | |
|
OS: |
Linux | |
|
See Also: |
https://gitlab.gnome.org/GNOME/gtk-vnc/-/issues/24
|
Whiteboard: |
|
Package list:
|
|
Runtime testing required:
|
---
|
Bug Depends on: |
|
|
|
Bug Blocks: |
731004, 912821
|
|
|
Attachments: |
build log
emerge --info
|
Created attachment 872172 [details] build log In a clang-17[default-libcxx] environment, net-libs/gtk-vnc-1.3.1 will fail to link during emerge with the following error message: ``` ld.lld: error: version script assignment of 'global' to symbol 'vnc_image_framebuffer_get_type' failed: symbol not defined ld.lld: error: version script assignment of 'global' to symbol 'vnc_image_framebuffer_new' failed: symbol not defined ld.lld: error: version script assignment of 'global' to symbol 'vnc_image_framebuffer_get_image' failed: symbol not defined clang: error: linker command failed with exit code 1 (use -v to see invocation) ninja: build stopped: subcommand failed. ``` This can be avoided by passing "-Wl,--undefined-version" to LDFLAGS. Attaching logs.