[Maria-discuss] LTO build fails likely because -static-libgcc
why does MariaDB use "-g -static-libgcc" in "mysql_release.cmake" and so besides override -g0 break -flto builds?
Am 21.01.2017 um 06:59 schrieb Reindl Harald:
why does MariaDB use "-g -static-libgcc" in "mysql_release.cmake" and so besides override -g0 break -flto builds?
-O3 -g -static-libgcc it also should not override with -O3 because the previous -O3 followed by some -fno-options has a reason - not enable optimizations which are pointless and in doubt doing more harm than good -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops see deeper informations below, so the blank -O3 is pointless and not breaking -flto would gain much more in context of performance ________________________________ https://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html -O3 enables options which are clearly statet as "generally profitable only with profile feedback" and so just blows up the binary size for no benefit doing a profile-guided-optimization is not done with just a simple build you need two builds and running the application with typical use-cases/benchmarks while the first build instructs GCC to generate profiling code, the usage of the intermediate-build then stores runtime informations in .gcda files and after a "make prof-clean" which deletes anything but the .gcda files "-fprofile-use" is using that informations for otpimize the binary -fprofile-use=path Enable profile feedback-directed optimizations, and the following optimizations which are generally profitable only with profile feedback available: -fbranch-probabilities, -fvpt, -funroll-loops, -fpeel-loops, -ftracer, -ftree-vectorize, and ftree-loop-distribute-patterns. -fauto-profile=path Enable sampling-based feedback-directed optimizations, and the following optimizations which are generally profitable only with profile feedback available: -fbranch-probabilities, -fvpt, -funroll-loops, -fpeel-loops, -ftracer, -ftree-vectorize, -finline-functions, -fipa-cp, -fipa-cp-clone, -fpredictive-commoning, -funswitch-loops, -fgcse-after-reload, and -ftree-loop-distribute-patterns.
On 1/21/2017 6:23 PM, Reindl Harald wrote:
Am 21.01.2017 um 06:59 schrieb Reindl Harald:
why does MariaDB use "-g -static-libgcc" in "mysql_release.cmake" and so besides override -g0 break -flto builds?
I think you might be misunderstanding the purpose of mysql_release.cmake it is there to simplify the build of release packages, for us. If you want to build exactly like our release package are build, use cmake <path-to-source> -DBUILD_CONFIG=mysql_release make package If you want something special, do not use it. cmake <path-to-source> make package This provides a good baseline (builds with RelWithDebInfo build type, i.e optimized with debug info) you can add your flags on top of that.
Hi it would be nice only send mails to the list because you break threading.... Am 21.01.2017 um 22:54 schrieb Vladislav Vaintroub:
On 1/21/2017 6:23 PM, Reindl Harald wrote:
Am 21.01.2017 um 06:59 schrieb Reindl Harald:
why does MariaDB use "-g -static-libgcc" in "mysql_release.cmake" and so besides override -g0 break -flto builds?
I think you might be misunderstanding the purpose of mysql_release.cmake it is there to simplify the build of release packages, for us. If you want to build exactly like our release package are build, use
thanks for the hint, years ago i forked the rpm-spec from Fedora, removed that now
cmake <path-to-source> -DBUILD_CONFIG=mysql_release make package
If you want something special, do not use it.
cmake <path-to-source> make package
This provides a good baseline (builds with RelWithDebInfo build type, i.e optimized with debug info) you can add your flags on top of that
sorry but no - it don't provide a good baseline at all setting -O3 unconditional and the why you removed from your quotes anyways, it still overrides and -flto fails "-fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g" is not supposed to be here the build below was with "-DWITH_PIC=NO" and with "-DWITH_PIC=YES" you can see even a lot of lto-mismatch-errors before the build breaks as i tried also switch to -O2 in general with no success for -flto ________________________________________________ supposed CFLAGS + export 'CFLAGS=-m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack' + export 'SH_LDFLAGS=-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -Wa,--noexecstack' + SH_LDFLAGS='-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -Wa,--noexecstack' + LDFLAGS='-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -Wa,--noexecstack -pie -fPIE' ________________________________________________ [ 54%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/ut/ut0vec.cc.o cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/c++ -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_LZO=1 -DLINUX_NATIVE_AIO=1 -DSIZEOF_PTHREAD_T=8 -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/handler -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/sql -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -DUNIV_LINUX -D_GNU_SOURCE=1 -o CMakeFiles/xtradb.dir/ut/ut0vec.cc.o -c /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/ut/ut0vec.cc [ 54%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/ut/ut0wqueue.cc.o cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/c++ -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_LZO=1 -DLINUX_NATIVE_AIO=1 -DSIZEOF_PTHREAD_T=8 -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/handler -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/sql -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -DUNIV_LINUX -D_GNU_SOURCE=1 -o CMakeFiles/xtradb.dir/ut/ut0wqueue.cc.o -c /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/ut/ut0wqueue.cc [ 54%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/ut/ut0timer.cc.o cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/c++ -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_LZO=1 -DLINUX_NATIVE_AIO=1 -DSIZEOF_PTHREAD_T=8 -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/handler -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/sql -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -DUNIV_LINUX -D_GNU_SOURCE=1 -o CMakeFiles/xtradb.dir/ut/ut0timer.cc.o -c /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/ut/ut0timer.cc [ 55%] Linking CXX static library libxtradb.a cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/cmake -P CMakeFiles/xtradb.dir/cmake_clean_target.cmake cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/cmake -E cmake_link_script CMakeFiles/xtradb.dir/link.txt --verbose=1 /usr/bin/ar qc libxtradb.a CMakeFiles/xtradb.dir/api/api0api.cc.o CMakeFiles/xtradb.dir/api/api0misc.cc.o CMakeFiles/xtradb.dir/btr/btr0btr.cc.o CMakeFiles/xtradb.dir/btr/btr0cur.cc.o CMakeFiles/xtradb.dir/btr/btr0pcur.cc.o CMakeFiles/xtradb.dir/btr/btr0scrub.cc.o CMakeFiles/xtradb.dir/btr/btr0sea.cc.o CMakeFiles/xtradb.dir/btr/btr0defragment.cc.o CMakeFiles/xtradb.dir/buf/buf0buddy.cc.o CMakeFiles/xtradb.dir/buf/buf0buf.cc.o CMakeFiles/xtradb.dir/buf/buf0dblwr.cc.o CMakeFiles/xtradb.dir/buf/buf0checksum.cc.o CMakeFiles/xtradb.dir/buf/buf0dump.cc.o CMakeFiles/xtradb.dir/buf/buf0flu.cc.o CMakeFiles/xtradb.dir/buf/buf0lru.cc.o CMakeFiles/xtradb.dir/buf/buf0rea.cc.o CMakeFiles/xtradb.dir/buf/buf0mtflu.cc.o CMakeFiles/xtradb.dir/data/data0data.cc.o CMakeFiles/xtradb.dir/data/data0type.cc.o CMakeFiles/xtradb.dir/dict/dict0boot.cc.o CMakeFiles/xtradb.dir/dict/dict0crea.cc.o CMakeFiles/xtradb.dir/dict/dict0dict.cc.o CMakeFiles/xtradb.dir/dict/dict0load.cc.o CMakeFiles/xtradb.dir/dict/dict0mem.cc.o CMakeFiles/xtradb.dir/dict/dict0stats.cc.o CMakeFiles/xtradb.dir/dict/dict0stats_bg.cc.o CMakeFiles/xtradb.dir/dyn/dyn0dyn.cc.o CMakeFiles/xtradb.dir/eval/eval0eval.cc.o CMakeFiles/xtradb.dir/eval/eval0proc.cc.o CMakeFiles/xtradb.dir/fil/fil0fil.cc.o CMakeFiles/xtradb.dir/fil/fil0pagecompress.cc.o CMakeFiles/xtradb.dir/fil/fil0crypt.cc.o CMakeFiles/xtradb.dir/fsp/fsp0fsp.cc.o CMakeFiles/xtradb.dir/fut/fut0fut.cc.o CMakeFiles/xtradb.dir/fut/fut0lst.cc.o CMakeFiles/xtradb.dir/ha/ha0ha.cc.o CMakeFiles/xtradb.dir/ha/ha0storage.cc.o CMakeFiles/xtradb.dir/ha/hash0hash.cc.o CMakeFiles/xtradb.dir/fts/fts0fts.cc.o CMakeFiles/xtradb.dir/fts/fts0ast.cc.o CMakeFiles/xtradb.dir/fts/fts0blex.cc.o CMakeFiles/xtradb.dir/fts/fts0config.cc.o CMakeFiles/xtradb.dir/fts/fts0opt.cc.o CMakeFiles/xtradb.dir/fts/fts0pars.cc.o CMakeFiles/xtradb.dir/fts/fts0que.cc.o CMakeFiles/xtradb.dir/fts/fts0sql.cc.o CMakeFiles/xtradb.dir/fts/fts0tlex.cc.o CMakeFiles/xtradb.dir/handler/ha_innodb.cc.o CMakeFiles/xtradb.dir/handler/handler0alter.cc.o CMakeFiles/xtradb.dir/handler/i_s.cc.o CMakeFiles/xtradb.dir/handler/xtradb_i_s.cc.o CMakeFiles/xtradb.dir/ibuf/ibuf0ibuf.cc.o CMakeFiles/xtradb.dir/lock/lock0iter.cc.o CMakeFiles/xtradb.dir/lock/lock0lock.cc.o CMakeFiles/xtradb.dir/lock/lock0wait.cc.o CMakeFiles/xtradb.dir/log/log0log.cc.o CMakeFiles/xtradb.dir/log/log0online.cc.o CMakeFiles/xtradb.dir/log/log0recv.cc.o CMakeFiles/xtradb.dir/log/log0crypt.cc.o CMakeFiles/xtradb.dir/mach/mach0data.cc.o CMakeFiles/xtradb.dir/mem/mem0mem.cc.o CMakeFiles/xtradb.dir/mem/mem0pool.cc.o CMakeFiles/xtradb.dir/mtr/mtr0log.cc.o CMakeFiles/xtradb.dir/mtr/mtr0mtr.cc.o CMakeFiles/xtradb.dir/os/os0file.cc.o CMakeFiles/xtradb.dir/os/os0proc.cc.o CMakeFiles/xtradb.dir/os/os0sync.cc.o CMakeFiles/xtradb.dir/os/os0thread.cc.o CMakeFiles/xtradb.dir/os/os0stacktrace.cc.o CMakeFiles/xtradb.dir/page/page0cur.cc.o CMakeFiles/xtradb.dir/page/page0page.cc.o CMakeFiles/xtradb.dir/page/page0zip.cc.o CMakeFiles/xtradb.dir/pars/lexyy.cc.o CMakeFiles/xtradb.dir/pars/pars0grm.cc.o CMakeFiles/xtradb.dir/pars/pars0opt.cc.o CMakeFiles/xtradb.dir/pars/pars0pars.cc.o CMakeFiles/xtradb.dir/pars/pars0sym.cc.o CMakeFiles/xtradb.dir/que/que0que.cc.o CMakeFiles/xtradb.dir/read/read0read.cc.o CMakeFiles/xtradb.dir/rem/rem0cmp.cc.o CMakeFiles/xtradb.dir/rem/rem0rec.cc.o CMakeFiles/xtradb.dir/row/row0ext.cc.o CMakeFiles/xtradb.dir/row/row0ftsort.cc.o CMakeFiles/xtradb.dir/row/row0import.cc.o CMakeFiles/xtradb.dir/row/row0ins.cc.o CMakeFiles/xtradb.dir/row/row0merge.cc.o CMakeFiles/xtradb.dir/row/row0mysql.cc.o CMakeFiles/xtradb.dir/row/row0log.cc.o CMakeFiles/xtradb.dir/row/row0purge.cc.o CMakeFiles/xtradb.dir/row/row0row.cc.o CMakeFiles/xtradb.dir/row/row0sel.cc.o CMakeFiles/xtradb.dir/row/row0uins.cc.o CMakeFiles/xtradb.dir/row/row0umod.cc.o CMakeFiles/xtradb.dir/row/row0undo.cc.o CMakeFiles/xtradb.dir/row/row0upd.cc.o CMakeFiles/xtradb.dir/row/row0quiesce.cc.o CMakeFiles/xtradb.dir/row/row0vers.cc.o CMakeFiles/xtradb.dir/srv/srv0conc.cc.o CMakeFiles/xtradb.dir/srv/srv0mon.cc.o CMakeFiles/xtradb.dir/srv/srv0srv.cc.o CMakeFiles/xtradb.dir/srv/srv0start.cc.o CMakeFiles/xtradb.dir/sync/sync0arr.cc.o CMakeFiles/xtradb.dir/sync/sync0rw.cc.o CMakeFiles/xtradb.dir/sync/sync0sync.cc.o CMakeFiles/xtradb.dir/trx/trx0i_s.cc.o CMakeFiles/xtradb.dir/trx/trx0purge.cc.o CMakeFiles/xtradb.dir/trx/trx0rec.cc.o CMakeFiles/xtradb.dir/trx/trx0roll.cc.o CMakeFiles/xtradb.dir/trx/trx0rseg.cc.o CMakeFiles/xtradb.dir/trx/trx0sys.cc.o CMakeFiles/xtradb.dir/trx/trx0trx.cc.o CMakeFiles/xtradb.dir/trx/trx0undo.cc.o CMakeFiles/xtradb.dir/usr/usr0sess.cc.o CMakeFiles/xtradb.dir/ut/ut0bh.cc.o CMakeFiles/xtradb.dir/ut/ut0byte.cc.o CMakeFiles/xtradb.dir/ut/ut0crc32.cc.o CMakeFiles/xtradb.dir/ut/ut0dbg.cc.o CMakeFiles/xtradb.dir/ut/ut0list.cc.o CMakeFiles/xtradb.dir/ut/ut0mem.cc.o CMakeFiles/xtradb.dir/ut/ut0rbt.cc.o CMakeFiles/xtradb.dir/ut/ut0rnd.cc.o CMakeFiles/xtradb.dir/ut/ut0ut.cc.o CMakeFiles/xtradb.dir/ut/ut0vec.cc.o CMakeFiles/xtradb.dir/ut/ut0wqueue.cc.o CMakeFiles/xtradb.dir/ut/ut0timer.cc.o /usr/bin/ranlib libxtradb.a make[2]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.1.21' [ 55%] Built target xtradb make[1]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.1.21' Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.2LBslX (%build) Fehler beim Bauen des RPM: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.2LBslX (%build)
looks like the problem is on a different place line 2788 in the attached full buildlog that got burried by later messages no idea what it is talking about -fPIC which is used everywhere flags and configure below including translation of the rpm macros /usr/bin/ld: /tmp/ccvReeyj.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol `my_charset_latin1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/myisam && /usr/bin/cc -DHAVE_CONFIG_H -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/sql -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -flto -ffat-lto-objects -fuse-linker-plugin -Wa,--noexecstack -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fPIC -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -fvisibility=hidden -o CMakeFiles/myisam.dir/mi_rkey.c.o -c /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/myisam/mi_rkey.c libmysql/CMakeFiles/libmysql.dir/build.make:110: recipe for target 'libmysql/libmysqlclient.so.18.0.0' failed make[2]: *** [libmysql/libmysqlclient.so.18.0.0] Error 1 make[2]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.1.21' CMakeFiles/Makefile2:5203: recipe for target 'libmysql/CMakeFiles/libmysql.dir/all' failed make[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... LTO_FLAGS="-flto -ffat-lto-objects -fuse-linker-plugin" export CFLAGS="%{optflags} %{O3_flags} -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-strict-aliasing -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector $LTO_FLAGS -Wa,--noexecstack" export CXXFLAGS="$CFLAGS -fno-rtti " export FFLAGS="$CFLAGS" export FCFLAGS="$CFLAGS" export SH_LDFLAGS="-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump %{optflags} %{O3_flags} -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-strict-aliasing $LTO_FLAGS -Wa,--noexecstack" export LDFLAGS="$SH_LDFLAGS -pie -fPIE" cmake . \ -DFEATURE_SET="large" \ -DCMAKE_INSTALL_PREFIX="%{_prefix}" \ -DINSTALL_INCLUDEDIR=include/mysql \ -DINSTALL_LAYOUT=RPM \ -DINSTALL_LIBDIR="%{_lib}/mysql" \ -DINSTALL_MANDIR=share/man \ -DINSTALL_MYSQLSHAREDIR=share/mysql \ -DINSTALL_MYSQLTESTDIR=share/mysql-test \ -DINSTALL_PLUGINDIR="%{_lib}/mysql/plugin" \ -DINSTALL_SBINDIR=libexec \ -DINSTALL_SCRIPTDIR=bin \ -DINSTALL_SQLBENCHDIR= \ -DINSTALL_SUPPORTFILESDIR=share/mysql \ -DMYSQL_DATADIR="%{_sharedstatedir}/mysql" \ -DMYSQL_UNIX_ADDR="%{_sharedstatedir}/mysql/mysql.sock" \ -DENABLED_PROFILING=OFF \ -DENABLE_DEBUG_SYNC=OFF \ -DENABLE_DTRACE=OFF \ -DPLUGIN_ARIA=YES \ -DPLUGIN_CSV=YES \ -DPLUGIN_MYISAM=YES \ -DPLUGIN_XTRADB=YES \ -DPLUGIN_ARCHIVE=NO \ -DPLUGIN_BLACKHOLE=NO \ -DPLUGIN_CASSANDRA=NO \ -DPLUGIN_FEDERATED=NO \ -DPLUGIN_FEEDBACK=NO \ -DPLUGIN_INNODB=NO \ -DPLUGIN_MROONGA=NO \ -DPLUGIN_OQGRAPH=NO \ -DPLUGIN_PARTITION=NO \ -DPLUGIN_PERFSCHEMA=NO \ -DPLUGIN_SEQUENCE=NO \ -DPLUGIN_SPHINX=NO \ -DPLUGIN_SPIDER=NO \ -DPLUGIN_TOKUDB=NO \ -DWITHOUT_DYNAMIC_PLUGINS=ON \ -DWITH_ATOMIC_OPS=smp \ -DWITH_EMBEDDED_SERVER=OFF \ -DWITH_INNODB_DISALLOW_WRITES=OFF \ -DWITH_INNODB_BZIP2=OFF \ -DWITH_INNODB_LZ4=OFF \ -DWITH_INNODB_LZMA=OFF \ -DWITH_INNODB_LZO=OFF \ -DWITH_JEMALLOC=system \ -DWITH_LIBWRAP=OFF \ -DWITH_PIC=YES \ -DWITH_READLINE=OFF \ -DWITH_SAFEMALLOC=OFF \ -DWITH_SSL=system \ -DWITH_VALGRIND=OFF \ -DWITH_WSREP=OFF \ -DWITH_ZLIB=system %{optflags} -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security %{O3_flags} -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops Am 22.01.2017 um 01:32 schrieb Reindl Harald:
Hi
it would be nice only send mails to the list because you break threading....
Am 21.01.2017 um 22:54 schrieb Vladislav Vaintroub:
On 1/21/2017 6:23 PM, Reindl Harald wrote:
Am 21.01.2017 um 06:59 schrieb Reindl Harald:
why does MariaDB use "-g -static-libgcc" in "mysql_release.cmake" and so besides override -g0 break -flto builds?
I think you might be misunderstanding the purpose of mysql_release.cmake it is there to simplify the build of release packages, for us. If you want to build exactly like our release package are build, use
thanks for the hint, years ago i forked the rpm-spec from Fedora, removed that now
cmake <path-to-source> -DBUILD_CONFIG=mysql_release make package
If you want something special, do not use it.
cmake <path-to-source> make package
This provides a good baseline (builds with RelWithDebInfo build type, i.e optimized with debug info) you can add your flags on top of that
sorry but no - it don't provide a good baseline at all setting -O3 unconditional and the why you removed from your quotes
anyways, it still overrides and -flto fails
"-fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g" is not supposed to be here the build below was with "-DWITH_PIC=NO" and with "-DWITH_PIC=YES" you can see even a lot of lto-mismatch-errors before the build breaks as i tried also switch to -O2 in general with no success for -flto ________________________________________________
supposed CFLAGS
+ export 'CFLAGS=-m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack'
+ export 'SH_LDFLAGS=-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -Wa,--noexecstack'
+ SH_LDFLAGS='-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -Wa,--noexecstack'
+ LDFLAGS='-Wl,-z,now -Wl,-z,relro -Wl,-z,noexecstack -Wl,-z,nodump -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -Wa,--noexecstack -pie -fPIE' ________________________________________________
[ 54%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/ut/ut0vec.cc.o cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/c++ -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_LZO=1 -DLINUX_NATIVE_AIO=1 -DSIZEOF_PTHREAD_T=8 -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/handler -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/sql -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -DUNIV_LINUX -D_GNU_SOURCE=1 -o CMakeFiles/xtradb.dir/ut/ut0vec.cc.o -c /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/ut/ut0vec.cc [ 54%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/ut/ut0wqueue.cc.o cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/c++ -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_LZO=1 -DLINUX_NATIVE_AIO=1 -DSIZEOF_PTHREAD_T=8 -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/handler -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/sql -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -DUNIV_LINUX -D_GNU_SOURCE=1 -o CMakeFiles/xtradb.dir/ut/ut0wqueue.cc.o -c /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/ut/ut0wqueue.cc
[ 54%] Building CXX object storage/xtradb/CMakeFiles/xtradb.dir/ut/ut0timer.cc.o cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/c++ -DHAVE_BZIP2=1 -DHAVE_CONFIG_H -DHAVE_IB_ATOMIC_PTHREAD_T_GCC=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_64=1 -DHAVE_IB_GCC_ATOMIC_BUILTINS_BYTE=1 -DHAVE_IB_GCC_ATOMIC_TEST_AND_SET=1 -DHAVE_IB_GCC_ATOMIC_THREAD_FENCE=1 -DHAVE_IB_GCC_SYNC_SYNCHRONISE=1 -DHAVE_LZ4=1 -DHAVE_LZMA=1 -DHAVE_LZO=1 -DLINUX_NATIVE_AIO=1 -DSIZEOF_PTHREAD_T=8 -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/include -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/handler -I/home/builduser/rpmbuild/BUILD/mariadb-10.1.21/sql -m64 -O2 -g0 -march=sandybridge -mtune=sandybridge -mavx -mfpmath=sse -msse2avx -fopenmp -pipe -fno-strict-aliasing -fomit-frame-pointer -fexceptions -fstack-protector-strong --param=ssp-buffer-size=6 -D_FORTIFY_SOURCE=2 -Wstack-protector -Wformat -Werror=format-security -O3 -fno-strict-aliasing -fno-gcse-after-reload -fno-inline-functions -fno-ipa-cp -fno-ipa-cp-clone -fno-peel-loops -fno-predictive-commoning -fno-tree-loop-distribute-patterns -fno-unswitch-loops -fPIC -minline-all-stringops -fwrapv -fno-stack-protector -fstack-protector --param=ssp-buffer-size=8 -fno-exceptions -fno-rtti -flto -ffat-lto-objects -fuse-linker-plugin -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wno-stack-protector -Wa,--noexecstack -pie -fPIC -Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -D_FORTIFY_SOURCE=2 -DDBUG_OFF -DUNIV_LINUX -D_GNU_SOURCE=1 -o CMakeFiles/xtradb.dir/ut/ut0timer.cc.o -c /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb/ut/ut0timer.cc
[ 55%] Linking CXX static library libxtradb.a cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/cmake -P CMakeFiles/xtradb.dir/cmake_clean_target.cmake cd /home/builduser/rpmbuild/BUILD/mariadb-10.1.21/storage/xtradb && /usr/bin/cmake -E cmake_link_script CMakeFiles/xtradb.dir/link.txt --verbose=1 /usr/bin/ar qc libxtradb.a CMakeFiles/xtradb.dir/api/api0api.cc.o CMakeFiles/xtradb.dir/api/api0misc.cc.o CMakeFiles/xtradb.dir/btr/btr0btr.cc.o CMakeFiles/xtradb.dir/btr/btr0cur.cc.o CMakeFiles/xtradb.dir/btr/btr0pcur.cc.o CMakeFiles/xtradb.dir/btr/btr0scrub.cc.o CMakeFiles/xtradb.dir/btr/btr0sea.cc.o CMakeFiles/xtradb.dir/btr/btr0defragment.cc.o CMakeFiles/xtradb.dir/buf/buf0buddy.cc.o CMakeFiles/xtradb.dir/buf/buf0buf.cc.o CMakeFiles/xtradb.dir/buf/buf0dblwr.cc.o CMakeFiles/xtradb.dir/buf/buf0checksum.cc.o CMakeFiles/xtradb.dir/buf/buf0dump.cc.o CMakeFiles/xtradb.dir/buf/buf0flu.cc.o CMakeFiles/xtradb.dir/buf/buf0lru.cc.o CMakeFiles/xtradb.dir/buf/buf0rea.cc.o CMakeFiles/xtradb.dir/buf/buf0mtflu.cc.o CMakeFiles/xtradb.dir/data/data0data.cc.o CMakeFiles/xtradb.dir/data/data0type.cc.o CMakeFiles/xtradb.dir/dict/dict0boot.cc.o CMakeFiles/xtradb.dir/dict/dict0crea.cc.o CMakeFiles/xtradb.dir/dict/dict0dict.cc.o CMakeFiles/xtradb.dir/dict/dict0load.cc.o CMakeFiles/xtradb.dir/dict/dict0mem.cc.o CMakeFiles/xtradb.dir/dict/dict0stats.cc.o CMakeFiles/xtradb.dir/dict/dict0stats_bg.cc.o CMakeFiles/xtradb.dir/dyn/dyn0dyn.cc.o CMakeFiles/xtradb.dir/eval/eval0eval.cc.o CMakeFiles/xtradb.dir/eval/eval0proc.cc.o CMakeFiles/xtradb.dir/fil/fil0fil.cc.o CMakeFiles/xtradb.dir/fil/fil0pagecompress.cc.o CMakeFiles/xtradb.dir/fil/fil0crypt.cc.o CMakeFiles/xtradb.dir/fsp/fsp0fsp.cc.o CMakeFiles/xtradb.dir/fut/fut0fut.cc.o CMakeFiles/xtradb.dir/fut/fut0lst.cc.o CMakeFiles/xtradb.dir/ha/ha0ha.cc.o CMakeFiles/xtradb.dir/ha/ha0storage.cc.o CMakeFiles/xtradb.dir/ha/hash0hash.cc.o CMakeFiles/xtradb.dir/fts/fts0fts.cc.o CMakeFiles/xtradb.dir/fts/fts0ast.cc.o CMakeFiles/xtradb.dir/fts/fts0blex.cc.o CMakeFiles/xtradb.dir/fts/fts0config.cc.o CMakeFiles/xtradb.dir/fts/fts0opt.cc.o CMakeFiles/xtradb.dir/fts/fts0pars.cc.o CMakeFiles/xtradb.dir/fts/fts0que.cc.o CMakeFiles/xtradb.dir/fts/fts0sql.cc.o CMakeFiles/xtradb.dir/fts/fts0tlex.cc.o CMakeFiles/xtradb.dir/handler/ha_innodb.cc.o CMakeFiles/xtradb.dir/handler/handler0alter.cc.o CMakeFiles/xtradb.dir/handler/i_s.cc.o CMakeFiles/xtradb.dir/handler/xtradb_i_s.cc.o CMakeFiles/xtradb.dir/ibuf/ibuf0ibuf.cc.o CMakeFiles/xtradb.dir/lock/lock0iter.cc.o CMakeFiles/xtradb.dir/lock/lock0lock.cc.o CMakeFiles/xtradb.dir/lock/lock0wait.cc.o CMakeFiles/xtradb.dir/log/log0log.cc.o CMakeFiles/xtradb.dir/log/log0online.cc.o CMakeFiles/xtradb.dir/log/log0recv.cc.o CMakeFiles/xtradb.dir/log/log0crypt.cc.o CMakeFiles/xtradb.dir/mach/mach0data.cc.o CMakeFiles/xtradb.dir/mem/mem0mem.cc.o CMakeFiles/xtradb.dir/mem/mem0pool.cc.o CMakeFiles/xtradb.dir/mtr/mtr0log.cc.o CMakeFiles/xtradb.dir/mtr/mtr0mtr.cc.o CMakeFiles/xtradb.dir/os/os0file.cc.o CMakeFiles/xtradb.dir/os/os0proc.cc.o CMakeFiles/xtradb.dir/os/os0sync.cc.o CMakeFiles/xtradb.dir/os/os0thread.cc.o CMakeFiles/xtradb.dir/os/os0stacktrace.cc.o CMakeFiles/xtradb.dir/page/page0cur.cc.o CMakeFiles/xtradb.dir/page/page0page.cc.o CMakeFiles/xtradb.dir/page/page0zip.cc.o CMakeFiles/xtradb.dir/pars/lexyy.cc.o CMakeFiles/xtradb.dir/pars/pars0grm.cc.o CMakeFiles/xtradb.dir/pars/pars0opt.cc.o CMakeFiles/xtradb.dir/pars/pars0pars.cc.o CMakeFiles/xtradb.dir/pars/pars0sym.cc.o CMakeFiles/xtradb.dir/que/que0que.cc.o CMakeFiles/xtradb.dir/read/read0read.cc.o CMakeFiles/xtradb.dir/rem/rem0cmp.cc.o CMakeFiles/xtradb.dir/rem/rem0rec.cc.o CMakeFiles/xtradb.dir/row/row0ext.cc.o CMakeFiles/xtradb.dir/row/row0ftsort.cc.o CMakeFiles/xtradb.dir/row/row0import.cc.o CMakeFiles/xtradb.dir/row/row0ins.cc.o CMakeFiles/xtradb.dir/row/row0merge.cc.o CMakeFiles/xtradb.dir/row/row0mysql.cc.o CMakeFiles/xtradb.dir/row/row0log.cc.o CMakeFiles/xtradb.dir/row/row0purge.cc.o CMakeFiles/xtradb.dir/row/row0row.cc.o CMakeFiles/xtradb.dir/row/row0sel.cc.o CMakeFiles/xtradb.dir/row/row0uins.cc.o CMakeFiles/xtradb.dir/row/row0umod.cc.o CMakeFiles/xtradb.dir/row/row0undo.cc.o CMakeFiles/xtradb.dir/row/row0upd.cc.o CMakeFiles/xtradb.dir/row/row0quiesce.cc.o CMakeFiles/xtradb.dir/row/row0vers.cc.o CMakeFiles/xtradb.dir/srv/srv0conc.cc.o CMakeFiles/xtradb.dir/srv/srv0mon.cc.o CMakeFiles/xtradb.dir/srv/srv0srv.cc.o CMakeFiles/xtradb.dir/srv/srv0start.cc.o CMakeFiles/xtradb.dir/sync/sync0arr.cc.o CMakeFiles/xtradb.dir/sync/sync0rw.cc.o CMakeFiles/xtradb.dir/sync/sync0sync.cc.o CMakeFiles/xtradb.dir/trx/trx0i_s.cc.o CMakeFiles/xtradb.dir/trx/trx0purge.cc.o CMakeFiles/xtradb.dir/trx/trx0rec.cc.o CMakeFiles/xtradb.dir/trx/trx0roll.cc.o CMakeFiles/xtradb.dir/trx/trx0rseg.cc.o CMakeFiles/xtradb.dir/trx/trx0sys.cc.o CMakeFiles/xtradb.dir/trx/trx0trx.cc.o CMakeFiles/xtradb.dir/trx/trx0undo.cc.o CMakeFiles/xtradb.dir/usr/usr0sess.cc.o CMakeFiles/xtradb.dir/ut/ut0bh.cc.o CMakeFiles/xtradb.dir/ut/ut0byte.cc.o CMakeFiles/xtradb.dir/ut/ut0crc32.cc.o CMakeFiles/xtradb.dir/ut/ut0dbg.cc.o CMakeFiles/xtradb.dir/ut/ut0list.cc.o CMakeFiles/xtradb.dir/ut/ut0mem.cc.o CMakeFiles/xtradb.dir/ut/ut0rbt.cc.o CMakeFiles/xtradb.dir/ut/ut0rnd.cc.o CMakeFiles/xtradb.dir/ut/ut0ut.cc.o CMakeFiles/xtradb.dir/ut/ut0vec.cc.o CMakeFiles/xtradb.dir/ut/ut0wqueue.cc.o CMakeFiles/xtradb.dir/ut/ut0timer.cc.o /usr/bin/ranlib libxtradb.a make[2]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.1.21' [ 55%] Built target xtradb make[1]: Leaving directory '/home/builduser/rpmbuild/BUILD/mariadb-10.1.21' Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.2LBslX (%build)
participants (2)
-
Reindl Harald
-
Vladislav Vaintroub