[MDEV-5546] TokuDB compilation failure (ft-ops.cc) Created: 2014-01-21  Updated: 2014-01-28  Resolved: 2014-01-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.34, 10.0.7
Fix Version/s: 5.5.36, 10.0.8

Type: Bug Priority: Minor
Reporter: Sergey Vojtovich Assignee: Sergei Golubchik
Resolution: Duplicate Votes: 0
Labels: upstream
Environment:

Ubuntu 13.10
gcc (Ubuntu/Linaro 4.8.1-10ubuntu9) 4.8.1


Issue Links:
Duplicate
is duplicated by MDEV-5347 TokuDB compilation errors @ 5.5.34 Closed

 Description   

cmake && make
 
storage/tokudb/ft-index/ft/ft-ops.cc: In function ‘ft_leaf_run_gc’:
storage/tokudb/ft-index/ft/ft-ops.cc:2261:26: error: ‘leaf_entry’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (leaf_entry->type != LE_MVCC) {
                          ^
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/ft/tdb-recover] Error 1
make[1]: *** [storage/tokudb/ft-index/ft/CMakeFiles/tdb-recover.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
storage/tokudb/ft-index/ft/ft-ops.cc: In function ‘ft_leaf_run_gc’:
storage/tokudb/ft-index/ft/ft-ops.cc:2261:26: error: ‘leaf_entry’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     if (leaf_entry->type != LE_MVCC) {
                          ^
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


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