Project

General

Profile

Bug #21739

Clang build broken after 7c1cba8a0cd5f5350581a46c7b88f11c6026dcfc

Added by Alan Somers over 6 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
build
Target version:
-
% Done:

0%

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

Description

Trying to build the Ceph master branch as of 9-October-2017 on FreeBSD with Clang fails with error messages like this:

/localhome/alans/src/github/ceph/src/osd/OSD.cc:8019:12: error:
'NullEvt' is a protected member of 'PG'
PG::NullEvt()))
^
/localhome/alans/src/github/ceph/src/osd/PG.h:1805:16: note: declared
protected here
TrivialEvent(NullEvt)

I can't figure out why this works with GCC on Linux. It looks like a cut and dried access violation. I believe that change 7c1cba8a0cd5f5350581a46c7b88f11c6026dcfc, which protected many formerly public members of PG, introduced the error. I can confirm that the problem did not exist at revision 95fb8fbad778da6295ceb7b7032ef775eb45ce7d.

History

#1 Updated by Sebastian Wagner about 3 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF