Summary: | linking broken when using -Wl,--no-copy-dt-needed-entries | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Arkadiusz Miskiewicz <arekm> |
Component: | Portability-Cmake | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caulier.gilles, ismail |
Priority: | NOR | ||
Version: | 1.6.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 1.7.0 | |
Sentry Crash Report: | |||
Attachments: | build log |
Description
Arkadiusz Miskiewicz
2010-12-05 18:56:37 UTC
Created attachment 54174 [details]
build log
This will also be most probably an issue with Fedora 13 and higher, as they changed the implicit DSO linking, which is pretty much what Arkadiusz did manually, see here: http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking I believe that Fedora took a good path and we should be more careful about the linking in digiKam now. I've commited a fix, but seems like the CCBUG part wasn't recognized or something, anyway, see rev.1203962 http://websvn.kde.org/?view=rev&revision=1203962 This patch got removed somehow when digikam got migrated to git. Please reapply. git master is properly patched... https://projects.kde.org/projects/extragear/graphics/digikam/repository/revisions/master/entry/digikam/CMakeLists.txt#L282 Gilles Caulier No its not properly patched, GPHOTO2_LIBRARIES should be the last argument like this: --- core/digikam/CMakeLists.txt 2011-07-28 01:28:25.000000000 +0200 +++ core/digikam/CMakeLists.txt 2011-08-26 10:10:07.010025844 +0200 @@ -278,13 +278,14 @@ ${STRIGI_LIBRARIES} ${LCMS_LIBRARIES} - ${GPHOTO2_LIBRARIES} digikamcore digikamdatabase advancedrename queuemanager cameragui + + ${GPHOTO2_LIBRARIES} ) Git commit 772f592f639f52d0c1a991265098b46672fecb6e by Gilles Caulier. Committed on 26/08/2011 at 11:58. Pushed by cgilles into branch 'master'. Fix order to link gphoto2 library with digiKam shared lib. This must be the last on linker command line... CCBUGS: 258931 CCBUGS: 268267 M +3 -1 digikam/CMakeLists.txt http://commits.kde.org/digikam/772f592f639f52d0c1a991265098b46672fecb6e |