Mailinglist Archive: opensuse-bugs (4283 mails)

< Previous Next >
[Bug 1025891] ceph does not build with GCC 7
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Thu, 18 May 2017 10:15:27 +0000
  • Message-id: <bug-1025891-21960-mY152URT4B@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1025891
http://bugzilla.suse.com/show_bug.cgi?id=1025891#c25

--- Comment #25 from Nathan Cutler <ncutler@xxxxxxxx> ---
http://tracker.ceph.com/issues/19864(In reply to Richard Biener from comment
#24)
(In reply to Martin Liška from comment #23)
Currently, latest GCC 7 is in Staging:C.

And I see for filesystems:ceph/ceph (revision 84):

$ osc build ceph.spec --alternative-project=openSUSE:Factory:Staging:C


[ 132s]
/home/abuild/rpmbuild/BUILD/ceph-12.0.2+git.1493341348.9148e53/src/rocksdb/
db/write_thread.h: In member function 'std::mutex&
rocksdb::WriteThread::Writer::StateMutex()':
[ 132s]
/home/abuild/rpmbuild/BUILD/ceph-12.0.2+git.1493341348.9148e53/src/rocksdb/
db/write_thread.h:192:78: error: dereferencing type-punned pointer will
break strict-aliasing rules [-Werror=strict-aliasing]
[ 132s] return
*static_cast<std::mutex*>(static_cast<void*>(&state_mutex_bytes));
[ 132s]
^

Probably similar to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80593

Yup. This is a known bug, tracked upstream (Ceph) in
http://tracker.ceph.com/issues/19864

--
You are receiving this mail because:
You are on the CC list for the bug.
< Previous Next >