Bug#953068: bossa: patch to initialize variables (needed when building with -O3)

Gianfranco Costamagna locutusofborg at debian.org
Sat Nov 12 14:24:58 GMT 2022


control: forwarded -1 https://github.com/shumatech/BOSSA/pull/165

G.
On Sat, 12 Nov 2022 15:19:28 +0100 Gianfranco Costamagna <locutusofborg at debian.org> wrote:
> Hello,
> 
> updated diff attached.
> On Tue, 03 Mar 2020 16:17:52 -0800 Steve Langasek <steve.langasek at canonical.com> wrote:
> > Package: bossa
> > Version: 1.9.1-1
> > Severity: minor
> > Tags: patch
> > User: ubuntu-devel at lists.ubuntu.com
> > Usertags: origin-ubuntu focal ubuntu-patch
> > 
> > Hi Scott,
> > 
> > In Ubuntu, the latest version of bossa has failed to build on ppc64el
> > because the ppc64el architecture in Ubuntu uses -O3 as a default
> > optimization, which exposes a number of uninitialized variables in the code.
> > 
> > In reality none of these variables are used uninitialized, but the compiler
> > can't /prove/ that, so it errors out.
> > 
> > The attached patch fixes this issue by adding initializers to the various
> > variables, and has been uploaded to Ubuntu.  Please consider including this
> > patch in Debian, and/or forwarding it to upstream.
> > 
> > Thanks,
> > -- 
> > 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/
> > slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20221112/1bb2972b/attachment-0001.sig>


More information about the debian-science-maintainers mailing list