[MDEV-21985] RocksDB build on IBM Power fails with "'ppc-asm.h' file not found" Created: 2020-03-19  Updated: 2023-09-19  Resolved: 2023-09-19

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - RocksDB
Affects Version/s: None
Fix Version/s: N/A

Type: Bug Priority: Minor
Reporter: Otto Kekäläinen Assignee: Daniel Black
Resolution: Won't Fix Votes: 0
Labels: clang, powerpc, upstream


 Description   

From https://travis-ci.org/github/ottok/mariadb/jobs/664165691:

[ 59%] Building ASM object storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/util/crc32c_ppc_asm.S.o
/home/travis/build/ottok/mariadb/storage/rocksdb/rocksdb/util/crc32c_ppc_asm.S:9:10: fatal error: 'ppc-asm.h' file not found
#include <ppc-asm.h>
         ^~~~~~~~~~~
1 error generated.
storage/rocksdb/CMakeFiles/rocksdblib.dir/build.make:5270: recipe for target 'storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/util/crc32c_ppc_asm.S.o' failed
make[2]: *** [storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/util/crc32c_ppc_asm.S.o] Error 1

Build of 10.5 git head on ppc64le with clang-7.



 Comments   
Comment by Otto Kekäläinen [ 2020-04-09 ]

I saw this failure now on https://buildbot.mariadb.org/#/builders/39/builds/68 as well. This seems to be a new IBM Power builder.

Comment by Daniel Black [ 2020-04-17 ]

Submitted rocksdb fix as a first step: https://github.com/facebook/rocksdb/pull/6723

(and https://github.com/facebook/rocksdb/pull/6713 which may have been a problem next submodule update)

Comment by Daniel Black [ 2020-07-22 ]

reworked both upstream prs to https://github.com/facebook/rocksdb/pull/7079

Comment by Daniel Black [ 2023-09-19 ]

I haven't seen this fail for a while.

lets let the rocksdb update eventually resolve this.

Generated at Thu Feb 08 09:11:19 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.