Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1001357: memcached: FTBFS with -O3: uninitialized variable

1 view
Skip to first unread message

Steve Langasek

unread,
Dec 8, 2021, 8:00:03 PM12/8/21
to
Package: memcached
Version: 1.6.12+dfsg-2
Severity: minor
Tags: patch
User: ubuntu...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Hi Chris,

On ppc64el in Ubuntu, memcached is failing to build from source because this
Ubuntu port builds with -O3 by default, and at that optimization level, gcc
detects that a couple of variables may be used without being set. I haven't
traced the code to confirm whether this is a false-positive, because it's
easy enough to fix the failure by initializing the variables instead of
overriding the compiler warning (which can be useful for finding real bugs).

Please find attached the patch I've uploaded to Ubuntu for this issue.

Thanks for considering,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
slan...@ubuntu.com vor...@debian.org
memcached_1.6.12+dfsg-2ubuntu1.debdiff
0 new messages