[MDEV-5465] Build failure in tokudb/ft-index on openSUSE 13.1 with non-debug CMAKE_BUILD_TYPE Created: 2013-12-18  Updated: 2014-01-28  Resolved: 2014-01-28

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.5.35, 10.0.8

Type: Bug Priority: Minor
Reporter: Elena Stepanova Assignee: Sergei Golubchik
Resolution: Duplicate Votes: 0
Labels: compile
Environment:

openSUSE 13.1 64-bit, Linux linux-gdzu.site 3.11.6-4-desktop, gcc (SUSE Linux) 4.8.1 20130909 [gcc-4_8-branch revision 202388]


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

 Description   

From 5.5:

cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo && make -j3

/home/elenst/bzr/5.5-release/storage/tokudb/ft-index/ft/ft-ops.cc: In function 'ft_leaf_run_gc':
/home/elenst/bzr/5.5-release/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/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/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....

Same on 10.0.

Couldn't check if it's reproducible on Tokutek version as it fails to build in some other way.


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