cmake 3.5.1 no longer passes -soname to linker reliably
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cmake (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
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://
For whatever reason the below isn't passed any more,
> -Wl,-soname,
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:/
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
ProcVersionSign
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)
Changed in cmake (Ubuntu): | |
status: | Expired → Confirmed |
hi, can you please upload a reduced tarball somewhere with a minimal set of files to reproduce the issue?
thanks!