Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 915206 - dev-qt/qthelp-5.15.10 fails to link with clang-17: ld.lld: error: version script assignment of 'Qt_5.15' to symbol 'qt_version_tag' failed: symbol not defined
Summary: dev-qt/qthelp-5.15.10 fails to link with clang-17: ld.lld: error: version scr...
Status: RESOLVED DUPLICATE of bug 915203
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-05 11:24 UTC by ppw0
Modified: 2023-10-07 15:08 UTC (History)
0 users

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


Attachments
build log (dev-qt:qthelp-5.15.10:20231005-111557.log,102.27 KB, text/x-log)
2023-10-05 11:24 UTC, ppw0
Details
emerge --info (emerge_info.log,7.38 KB, text/x-log)
2023-10-05 11:24 UTC, ppw0
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ppw0 2023-10-05 11:24:28 UTC
Created attachment 872166 [details]
build log

In a clang-17[default-libcxx] environment, dev-qt/qthelp-5.15.10 will fail to link during emerge with the following error message:
```
ld.lld: error: version script assignment of 'Qt_5.15' to symbol 'qt_version_tag' failed: symbol not defined
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:192: ../../../lib/libQt5Help.so.5.15.10] Error 1
```

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

Attaching logs.
Comment 1 ppw0 2023-10-05 11:24:48 UTC
Created attachment 872167 [details]
emerge --info
Comment 2 Andreas Sturmlechner gentoo-dev 2023-10-07 15:08:52 UTC

*** This bug has been marked as a duplicate of bug 915203 ***