From: Kirill Yukhin <kyukhin@tarantool.org>
To: tarantool-patches@freelists.org
Cc: "Alexander V. Tikhonov" <avtikhon@tarantool.org>
Subject: [tarantool-patches] Re: [PATCH v1] LTO build fails on warning message
Date: Fri, 26 Jul 2019 20:53:49 +0300 [thread overview]
Message-ID: <20190726175349.63xc5teltd77gn2r@tarantool.org> (raw)
In-Reply-To: <d153f8e262c20ce18a9b99c59a77dbf894a88f13.1564065765.git.avtikhon@tarantool.org>
Hello,
On 25 июл 17:44, Alexander V. Tikhonov wrote:
> The uninitialized variable found that caused the fail on build,
> due to LTO builds with flag to check warnings as errors. Set the
> variable to 0 initial value. The found issue was:
>
> [100%] Built target xrow.test
> src/box/sql/vdbe.c: In function ‘sqlVdbeExec’:
> src/box/sql/vdbe.c:3691:11: error: ‘id’ may be used uninitialized
> in this function [-Werror=maybe-uninitialized]
> uint64_t id;
> ^
> lto1: all warnings being treated as errors
> lto-wrapper: fatal error: /usr/bin/c++ returned 1 exit status
> compilation terminated.
> /usr/bin/ld: error: lto-wrapper failed
> collect2: error: ld returned 1 exit status
>
> Closes #4378
I've checked the patch into master.
--
Regards, Kirill Yukhin
prev parent reply other threads:[~2019-07-26 17:53 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-25 14:44 [tarantool-patches] " Alexander V. Tikhonov
2019-07-26 17:53 ` Kirill Yukhin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190726175349.63xc5teltd77gn2r@tarantool.org \
--to=kyukhin@tarantool.org \
--cc=avtikhon@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='[tarantool-patches] Re: [PATCH v1] LTO build fails on warning message' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox