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 09:34:03 +0000
  • Message-id: <bug-1025891-21960-ufEzcKpzry@http.bugzilla.suse.com/>
http://bugzilla.suse.com/show_bug.cgi?id=1025891
http://bugzilla.suse.com/show_bug.cgi?id=1025891#c23

--- Comment #23 from Martin Liška <martin.liska@xxxxxxxx> ---
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]
^

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