Project

General

Profile

Actions

Bug #38117

open

librados symbol visibility not honored under cmake

Added by Jason Dillaman about 5 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

While attempting to fix the librados ABI compatibility for the Nautilus release, I noticed that all symbols are incorrectly being exported in the shared library after the switch to cmake. The "$<TARGET_OBJECTS:xyz>" helper apparently cannot be used in combination with the "CXX_VISIBILITY_PRESET" and "VISIBILITY_INLINES_HIDDEN" target property options.

See [1] for reference.

[1] http://cmake.3232098.n2.nabble.com/OBJECT-libraries-and-target-visibility-properties-seem-broken-tt7590643.html#none

No data to display

Actions

Also available in: Atom PDF