[MDEV-5126] cant compile successfully storage/tokudb Created: 2013-10-10  Updated: 2014-02-11  Due: 2013-12-20  Resolved: 2014-02-06

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.33a
Fix Version/s: None

Type: Bug Priority: Major
Reporter: keichee Assignee: Sergei Golubchik
Resolution: Incomplete Votes: 0
Labels: None
Environment:

Ubuntu 64bit


Issue Links:
Blocks
is blocked by MDEV-5216 5.5.34 merge Closed

 Description   

Linking CXX shared library libtokufractaltree.so
/usr/src/mariadb/storage/tokudb/ft-index/ft/logger.cc: In function '_Z30toku_logger_open_with_last_xidPKcP10tokuloggerm.part.10':
/usr/src/mariadb/storage/tokudb/ft-index/ft/txn_manager.cc:1019:37: error: 'last_xid_if_clean_shutdown' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     txn_manager->last_xid = last_xid;
                                     ^
/usr/src/mariadb/storage/tokudb/ft-index/ft/logger.cc:239:11: note: 'last_xid_if_clean_shutdown' was declared here
     TXNID last_xid_if_clean_shutdown;
           ^
lto1: all warnings being treated as errors
lto-wrapper: /usr/bin/c++ returned 1 exit status
/usr/bin/ld: lto-wrapper failed
collect2: error: ld returned 1 exit status
make[2]: *** [storage/tokudb/ft-index/src/libtokufractaltree.so] Error 1
make[1]: *** [storage/tokudb/ft-index/src/CMakeFiles/tokufractaltree.dir/all] Error 2
make: *** [all] Error 2



 Comments   
Comment by Sergei Golubchik [ 2013-11-20 ]

how did you compile MariaDB?

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