Overview
Fails the build in ceph now:
[ 1547s] /usr/lib64/gcc/x86_64-suse-linux/10/../../../../x86_64-suse-linux/bin/ld: ../../lib/libkv.a(LevelDBStore.cc.o):(.data.rel.ro._ZTI17CephLevelDBLogger[_ZTI17CephLevelDBLogger]+0x10): undefined reference to `typeinfo for leveldb::Logger'
Well well well. Someone had the audacity to add -fno-rtti -fno-exceptions
and produce some really non-standard C++. Of course ceph (which, for all intents and purposes, uses C++ in standards-conforming mode) can't use it.
Upstream thread for -fno-rtti
:
https://github.com/google/leveldb/issues/731
They suggest to either enable -fno-rtti
for other libs as well (ceph in the case) or to patch it out.
Building ceph with -fno-rtti
is not a good idea, and it even does not work as ceph uses typeid
.
Probably removing -fno-rtti
should not do any harm, as it should only increase the resulting file size.
At least when tested it, both testsuites (ceph and leveldb) succeeded with a patched leveldb.
Unignored: returned to active backlog.
Request History
dmdiss created request
factory-auto added opensuse-review-team as a reviewer
Please review sources
factory-auto accepted review
Check script succeeded
licensedigger accepted review
ok
dimstar_suse set openSUSE:Factory:Staging:N as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:N"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:N"
dimstar accepted review
dimstar_suse added factory-staging as a reviewer
Being evaluated by group "factory-staging"
dimstar_suse accepted review
Unstaged from project "openSUSE:Factory:Staging:N"
dimstar_suse set openSUSE:Factory:Staging:D as a staging project
Being evaluated by staging project "openSUSE:Factory:Staging:D"
dimstar_suse accepted review
Picked "openSUSE:Factory:Staging:D"
dimstar_suse accepted review
Staging Project openSUSE:Factory:Staging:D got accepted.
dimstar_suse approved review
Staging Project openSUSE:Factory:Staging:D got accepted.
dimstar_suse accepted request
Staging Project openSUSE:Factory:Staging:D got accepted.