[MDEV-12189] MariaRocks packaging: disable x86 builds Created: 2017-03-07  Updated: 2017-03-15  Resolved: 2017-03-14

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

Type: Task Priority: Major
Reporter: Sergei Petrunia Assignee: Vicențiu Ciorbaru
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
PartOf
is part of MDEV-9658 Make MyRocks in MariaDB stable Closed
Sprint: 10.2.5-1

 Description   

Building MariaRocks causes the compiler to hang on some x86 hosts. The hang looks like this:

[ 52%] Building CXX object storage/rocksdb/CMakeFiles/rocksdblib.dir/rocksdb/util/statistics.cc.o
cd /home/buildbot/buildbot/build/mariadb-10.2.4/storage/rocksdb && /usr/bin/c++   
-DHAVE_CONFIG_H -DHAVE_SCHED_GETCPU=1 -DHAVE_SYSTEMD -DOS_LINUX -DROCKSDB_FALLOCATE_PRESENT -DROCKSDB_LIB_IO_POSIX -
DROCKSDB_MALLOC_USABLE_SIZE -DROCKSDB_PLATFORM_POSIX -DZLIB -
I/home/buildbot/buildbot/build/mariadb-10.2.4/include -I/home/buildbot/buildbot/build/mariadb-10.2.4/sql -I/home/buildbot/buildbot/build/mariadb-10.2.4/storage/rocksdb/rocksdb -
I/home/buildbot/buildbot/build/mariadb-10.2.4/storage/rocksdb/rocksdb/include -isystem /home/buildbot/buildbot/build/mariadb-10.2.4/storage/rocksdb/rocksdb/third-party/gtest-
1.7.0/fused-src -I/home/buildbot/buildbot/build/mariadb-10.2.4/storage/rocksdb/rocksdb/util  -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -
DWITH_INNODB_DISALLOW_WRITES -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer 
-fno-strict-aliasing -Wno-uninitialized -D_FORTIFY_SOURCE=2 -DDBUG_OFF   -std=c++11 -fPIC -fno-builtin-memcmp -frtti -o CMakeFiles/rocksdblib.dir/rocksdb/util/statistics.cc.o -c 
/home/buildbot/buildbot/build/mariadb-10.2.4/storage/rocksdb/rocksdb/util/statistics.cc

command timed out: 7200 seconds without output, attempting to kill
process killed by signal 9

Happens on Fedora 24 and 25, x86:
http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-fedora24-x86/builds/619/steps/compile/logs/stdio
http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-fedora25-x86/builds/154/steps/compile/logs/stdio

Doesn't happen on Fedora 24 or 25 with amd64:
http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-fedora25-amd64/builds/154
http://buildbot.askmonty.org/buildbot/builders/kvm-rpm-fedora24-amd64/builds/560

I don't think anybody in MariaRocks' target audience is running x86, so one can just disable building MariaRocks on 32-bit hosts (optionally, when using gcc 6.x on 32-bit hosts).



 Comments   
Comment by Vicențiu Ciorbaru [ 2017-03-13 ]

I've tried to reproduce this hanging issue. It doesn't seem to want to happen on my end. I've disabled x86 in CMakeLists.txt in bb-10.2-mariarocks. Is that sufficient?

Comment by Sergei Petrunia [ 2017-03-14 ]

Yes this is sufficient for now. We can open another issue if somebody is really interested in 32-bit builds. Closing this one.

Comment by Sergei Petrunia [ 2017-03-14 ]

Fix pushed to bb-10.2-mariarocks tree

Generated at Thu Feb 08 07:55:48 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.