Fails to link with GCC5
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pay-service (Ubuntu) |
Fix Released
|
Critical
|
dobey |
Bug Description
Linking CXX shared library libpay.so
cd /«BUILDDIR»
/usr/bin/
/usr/bin/ld: ../common/
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
This is due to lbicommon-lib.a being compiled with -FPIE. Because libpay is using it, the linking fails, as PIE is only meant to link into executables.
Related branches
- Charles Kerr (community): Approve
-
Diff: 11 lines (+1/-1)1 file modifiedcommon/CMakeLists.txt (+1/-1)
This bug was fixed in the package pay-service - 2.0.0+15. 10.20150727- 0ubuntu1
--------------- 15.10.20150727- 0ubuntu1) wily; urgency=medium
pay-service (2.0.0+
[ CI Train Bot ]
* New rebuild forced.
[ Rodney Dawes ]
* Add initial go build system integration.
* Add script and config file to update external go lib sources. Import
some external go lib sources that we'll need here. Add an os.Exit()
call to the main() in the new go service.
* Build the common lib with -fPIC instead of -fPIE as libpay needs it.
(LP: #1477710)
* Implement basic empty dbus service.
-- CI Train Bot <email address hidden> Mon, 27 Jul 2015 17:33:40 +0000