[MDEV-7446] 10.0.15 fails to build on Beaglebone Black Created: 2015-01-12  Updated: 2015-01-20  Resolved: 2015-01-14

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.0.15
Fix Version/s: 10.0.16

Type: Bug Priority: Minor
Reporter: Mitchell Kelsey Assignee: Kristian Nielsen
Resolution: Fixed Votes: 0
Labels: None
Environment:

Debian Wheezey



 Description   

10.0.14 builds fine, so issue surfaced with this version.

Configuration was simply:

cmake . -DBUILD_CONFIG=mysql_release

Here is the logged failure.

[ 42%] Building CXX object sql/CMakeFiles/sql.dir/rpl_parallel.cc.o
/path/to/mariadb-10.0.15/sql/rpl_parallel.cc: In member function ‘void rpl_parallel_thread::inuse_relaylog_refcount_update()’:
/path/to/mariadb-10.0.15/sql/rpl_parallel.cc:1126:5: error: ‘class Relay_log_info’ has no member named ‘inuse_relaylog_atomic_lock’
/path/to/mariadb-10.0.15/sql/rpl_parallel.cc:1128:5: error: ‘class Relay_log_info’ has no member named ‘inuse_relaylog_atomic_lock’
make[2]: *** [sql/CMakeFiles/sql.dir/rpl_parallel.cc.o] Error 1
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make: *** [all] Error 2

I'll be honest in that I'm not familiar with what an "atomic lock" is. So I'll include what additional bits I would guess would be helpful, that being gcc version information and cpuinfo.

Using built-in specs.

COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.6/lto-wrapper
Target: arm-linux-gnueabihf
Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-14' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16 --with-float=hard --with-mode=thumb --enable-checking=release --build=arm-linux-gnueabihf --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf
Thread model: posix
gcc version 4.6.3 (Debian 4.6.3-14)

processor       : 0
model name      : ARMv7 Processor rev 2 (v7l)
BogoMIPS        : 993.47
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x3
CPU part        : 0xc08
CPU revision    : 2

Hardware        : Generic AM33XX (Flattened Device Tree)
Revision        : 0000
Serial          : 0000000000000000



 Comments   
Comment by Kristian Nielsen [ 2015-01-14 ]

This should be fixed by this commit which is in 10.0.16:

http://lists.askmonty.org/pipermail/commits/2014-December/007178.html

Comment by Mitchell Kelsey [ 2015-01-20 ]

Thanks. I did search Jira for the error but not the mailing list. If I come across anything in the future I'll look there as well. And thanks for linking that commit. Just for giggles I patched it in and it compiled (past that point at least) just fine.

Comment by Kristian Nielsen [ 2015-01-20 ]

Sure, it is in any case good to have a bug report for the issue as well, as others may easily hit it.

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