Project

General

Profile

Bug #544

ceph-0.22.2: fails to build with --as-needed

Added by Kacper Kowalik almost 9 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
qa
Target version:
Start date:
11/04/2010
Due date:
% Done:

0%

Estimated time:
0.10 h
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

Due to wrong linking order1 of ceph's libraries, whole package fails to build with LDFLAGS="-Wl,--as-needed".
Supplied patch does two things:
1) moves -lfoo from _LDFLAGS to _LIBADD
2) use pkg-config to grab openssl libraries

[1] http://www.gentoo.org/proj/en/qa/asneeded.xml

ceph-0.22.2_build.log View - Build.log (204 KB) Kacper Kowalik, 11/04/2010 12:57 AM

ceph-0.22.2-asneeded.patch View - patch to fix build with --as-needed (9.07 KB) Kacper Kowalik, 11/04/2010 12:57 AM

History

#1 Updated by Sage Weil almost 9 years ago

Thanks! Can I add your Signed-off-by to this (as per SubmittingPatches)?

#2 Updated by Sage Weil almost 9 years ago

  • Assignee set to Sage Weil

#3 Updated by Kacper Kowalik almost 9 years ago

Sage Weil wrote:

Thanks! Can I add your Signed-off-by to this (as per SubmittingPatches)?

Sure.

#4 Updated by Sage Weil almost 9 years ago

  • Status changed from New to Resolved
  • Target version set to v0.23
  • Estimated time set to 0.10 h
  • Source changed from 0 to 1

Also available in: Atom PDF