[Bug 1564571] [NEW] cmake 3.5.1 no longer passes -soname to linker reliably
MichaĆ Sawicz
michal.sawicz at canonical.com
Thu Mar 31 18:58:46 UTC 2016
Public bug reported:
I'm not exactly sure what's going on here, but cmake 3.5 caused our
tests to fail, I've tracked it down to this difference in linking:
http://pastebin.ubuntu.com/15570327/
For whatever reason the below isn't passed any more,
> -Wl,-soname,libUbuntuGesturesQml.so
which results in our tests failing to find symbols:
> QObject::connect: signal not found in DirectionalDragArea
Re-running the linker command with the missing options makes it all work
again.
You can even see there are two spaces where the -Wl,-soname option
should be.
FWIW, the CMakeLists.txt in question is: https://bazaar.launchpad.net
/~unity-
team/unity8/trunk/view/head:/plugins/Ubuntu/Gestures/CMakeLists.txt
I suppose this should be SHARED and not MODULE if we want to link to it,
but that doesn't change anything actually.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: cmake 3.5.1-1ubuntu1
ProcVersionSignature: Ubuntu 4.4.0-16.32-generic 4.4.6
Uname: Linux 4.4.0-16-generic x86_64
ApportVersion: 2.20-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Mar 31 20:25:08 2016
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: cmake (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug xenial
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1564571
Title:
cmake 3.5.1 no longer passes -soname to linker reliably
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1564571/+subscriptions
More information about the kubuntu-bugs
mailing list