Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915087 - dev-libs/totem-pl-parser-3.26.6-r1 fails to link with clang-17: ld.lld: error: version script assignment of 'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totem_disc_media_type_get_type' failed: symbol not defined
Summary: dev-libs/totem-pl-parser-3.26.6-r1 fails to link with clang-17: ld.lld: error...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: LD-is-lld, systemwide-lld 912821
  Show dependency tree
 
Reported: 2023-10-02 20:08 UTC by ppw0
Modified: 2024-04-14 11:27 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (dev-libs:totem-pl-parser-3.26.6:20231002-195302.log,52.62 KB, text/x-log)
2023-10-02 20:08 UTC, ppw0
Details
emerge --info (emerge_info.log,7.36 KB, text/x-log)
2023-10-02 20:10 UTC, ppw0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ppw0 2023-10-02 20:08:44 UTC
Created attachment 872054 [details]
build log

In a clang-17[default-libcxx] environment, totem-pl-parser-3.26.6 will fail to emerge during the linking phase:
---
ld.lld: error: version script assignment of 'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totem_disc_media_type_get_type' failed: symbol not defined
ld.lld: error: version script assignment of 'LIBTOTEM_PL_PARSER_MINI_1.0' to symbol 'totemplparser_marshal_VOID__STRING_STRING_STRING' failed: symbol not defined
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.
---

This failure can be averted by passing "-Wl,--undefined-version" to LDFLAGS.

Attaching logs.
Comment 1 ppw0 2023-10-02 20:10:04 UTC
Created attachment 872055 [details]
emerge --info
Comment 2 Pacho Ramos gentoo-dev 2023-10-08 10:35:09 UTC
Could you please report it to upstream too?
https://gitlab.gnome.org/GNOME/totem-pl-parser/-/issues

Thanks a lot
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-02 07:51:14 UTC
clang-lld_tinderbox has reproduced this issue with version 3.26.6-r1 - Updating summary.