Project

General

Profile

Actions

Bug #1900

closed

Fix detection and build issues with libcrypto++

Added by Anonymous over 12 years ago. Updated about 12 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
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

Currently ceph's build system uses AC_SEARCH_LIBS (in some cases) to search for libcrypto++. As a result C++ library is unconditionally added to LIBS when found.
That leads to --as-needed compilation failures of C programs in following checks, due to lack of stdc++ in link phase:

configure:16883: x86_64-pc-linux-gnu-gcc -o conftest -g -O2 conftest.c -lcrypto++ -lpthread >&5
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib64/libcrypto++.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::ws<char, std::char_traits<char> >(std::basic_istream<char, std::char_traits<char> >&)'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.6.2/../../../../lib64/libcrypto++.so: undefined reference to `typeinfo for std::exception'


Files

Actions #1

Updated by Sage Weil about 12 years ago

  • Priority changed from Normal to High
Actions #2

Updated by Sage Weil about 12 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF