Project

General

Profile

Actions

Bug #544

closed

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

Added by Anonymous over 13 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
qa
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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


Files

ceph-0.22.2_build.log (204 KB) ceph-0.22.2_build.log Build.log Anonymous, 11/04/2010 12:57 AM
ceph-0.22.2-asneeded.patch (9.07 KB) ceph-0.22.2-asneeded.patch patch to fix build with --as-needed Anonymous, 11/04/2010 12:57 AM
Actions #1

Updated by Sage Weil over 13 years ago

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

Actions #2

Updated by Sage Weil over 13 years ago

  • Assignee set to Sage Weil
Actions #3

Updated by Anonymous over 13 years ago

Sage Weil wrote:

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

Sure.

Actions #4

Updated by Sage Weil over 13 years ago

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

Also available in: Atom PDF