Created attachment 799589 [details] build.log (ppc64, 1.23-r3) [...] FAILED: libleveldb.so.1.23.0 : && /usr/bin/powerpc64-unknown-linux-gnu-g++ -fPIC -O2 -mcpu=970 -mtune=970 -pipe -fno-exceptions -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -Wl,-soname,libleveldb.so.1 -o libleveldb.so.1.23.0 CMakeFiles/leveldb.dir/db/builder.cc.o CMakeFiles/leveldb.dir/db/c.cc.o CMakeFiles/leveldb.dir/db/db_impl.cc.o CMakeFiles/leveldb.dir/db/db_iter.cc.o CMakeFiles/leveldb.dir/db/dbformat.cc.o CMakeFiles/leveldb.dir/db/dumpfile.cc.o CMakeFiles/leveldb.dir/db/filename.cc.o CMakeFiles/leveldb.dir/db/log_reader.cc.o CMakeFiles/leveldb.dir/db/log_writer.cc.o CMakeFiles/leveldb.dir/db/memtable.cc.o CMakeFiles/leveldb.dir/db/repair.cc.o CMakeFiles/leveldb.dir/db/table_cache.cc.o CMakeFiles/leveldb.dir/db/version_edit.cc.o CMakeFiles/leveldb.dir/db/version_set.cc.o CMakeFiles/leveldb.dir/db/write_batch.cc.o CMakeFiles/leveldb.dir/table/block_builder.cc.o CMakeFiles/leveldb.dir/table/block.cc.o CMakeFiles/leveldb.dir/table/filter_block.cc.o CMakeFiles/leveldb.dir/table/format.cc.o CMakeFiles/leveldb.dir/table/iterator.cc.o CMakeFiles/leveldb.dir/table/merger.cc.o CMakeFiles/leveldb.dir/table/table_builder.cc.o CMakeFiles/leveldb.dir/table/table.cc.o CMakeFiles/leveldb.dir/table/two_level_iterator.cc.o CMakeFiles/leveldb.dir/util/arena.cc.o CMakeFiles/leveldb.dir/util/bloom.cc.o CMakeFiles/leveldb.dir/util/cache.cc.o CMakeFiles/leveldb.dir/util/coding.cc.o CMakeFiles/leveldb.dir/util/comparator.cc.o CMakeFiles/leveldb.dir/util/crc32c.cc.o CMakeFiles/leveldb.dir/util/env.cc.o CMakeFiles/leveldb.dir/util/filter_policy.cc.o CMakeFiles/leveldb.dir/util/hash.cc.o CMakeFiles/leveldb.dir/util/logging.cc.o CMakeFiles/leveldb.dir/util/options.cc.o CMakeFiles/leveldb.dir/util/status.cc.o CMakeFiles/leveldb.dir/util/env_posix.cc.o CMakeFiles/leveldb.dir/helpers/memenv/memenv.cc.o -lcrc32c -lsnappy -ltcmalloc && : /usr/lib/gcc/powerpc64-unknown-linux-gnu/11.3.0/../../../../powerpc64-unknown-linux-gnu/bin/ld: cannot find -ltcmalloc: No such file or directory collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. * ERROR: dev-libs/leveldb-1.23-r3::gentoo failed (compile phase): * ninja -v -j1 -l0 failed
Created attachment 799591 [details] emerge --info
rebuild google-perftools without minimal USE flag fixed this problem on riscv, spec -L/usrlib64 flag should fix this problem,too
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ebfc18a3ea0b0087fd3a7933b85165fbf0968091 commit ebfc18a3ea0b0087fd3a7933b85165fbf0968091 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2022-10-10 15:18:51 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2022-10-10 15:25:18 +0000 dev-libs/leveldb: fix dependencies leveldb, when building with USE="tcmalloc", uses functions of google-perftools that aren't compiled in with "minimal" mode. In which case, update the dependency to require minimal mode off. Closes: https://bugs.gentoo.org/865147 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> dev-libs/leveldb/{leveldb-1.23-r3.ebuild => leveldb-1.23-r4.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)