Details
Description
Compilation from the current trunk version of MariaDB 10.0.13 fails on the Raspberry Pi using Raspbian. I did use the "apt-get build-dep mysql-server" dependencies. (I tried this a few months ago and it failed on that file too.)
[ 41%] Building CXX object sql/CMakeFiles/sql.dir/rpl_parallel.cc.o
cd /home/pi/mariadb/maria/trunk/sql && /usr/bin/c++ -DHAVE_CONFIG_H -DMYSQL_SERVER -DHAVE_EVENT_SCHEDULER -DHAVE_POOL_OF_THREADS -Wall -Wall -Wno-unused-parameter -fno-exceptions -fno-rtti -O3 -g -static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing -Wno-uninitialized -DDBUG_OFF -I/home/pi/mariadb/maria/trunk/include -I/home/pi/mariadb/maria/trunk/sql -I/home/pi/mariadb/maria/trunk/pcre -I/home/pi/mariadb/maria/trunk/zlib -I/home/pi/mariadb/maria/trunk/extra/yassl/include -I/home/pi/mariadb/maria/trunk/extra/yassl/taocrypt/include -DHAVE_YASSL -DYASSL_PREFIX -DHAVE_OPENSSL -DMULTI_THREADED -o CMakeFiles/sql.dir/rpl_parallel.cc.o -c /home/pi/mariadb/maria/trunk/sql/rpl_parallel.cc
/home/pi/mariadb/maria/trunk/sql/rpl_parallel.cc: In function ‘void* handle_rpl_parallel_thread(void*)’:
/home/pi/mariadb/maria/trunk/sql/rpl_parallel.cc:800:11: error: ‘rli’ was not declared in this scope
/home/pi/mariadb/maria/trunk/sql/rpl_parallel.cc:813:7: error: ‘rli’ was not declared in this scope
make[2]: *** [sql/CMakeFiles/sql.dir/rpl_parallel.cc.o] Error 1
make[2]: Leaving directory `/home/pi/mariadb/maria/trunk'
make[1]: *** [sql/CMakeFiles/sql.dir/all] Error 2
make[1]: Leaving directory `/home/pi/mariadb/maria/trunk'
make: *** [all] Error 2
Deleting the functions starting from line 800 and 813 respectively, resulted in a complete compilation. But i did try this just to see if this is the only thing blocking it.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
Just confirming this exact compilation error when building on an ARM7 Allwinner A10 SoC.
gcc version is irrelevant, it really is an undeclared variable. I've dug up that the offending lines came over from one of the patches mentioned on this mailing list post:
https://lists.launchpad.net/maria-developers/msg07484.html