On Fri, 11 Feb 2022 21:37:55 +0100
Florian Weimer <fwei...@redhat.com> wrote:

> * David Muse:
> 
> > Forgive me if I'm pointing out a known issue, but I haven't noticed 
> > anything on the list about this yet...
> >
> > I keep getting sent rawhide build errors for my project.  They only appear 
> > to occur on the avmv7hl platform.  It builds fine on all other 
> > architectures.
> >
> >
> > The errors are like:
> >
> > sha1.cpp: In member function 'sha1::~sha1()':
> > sha1.cpp:34:1: error: pointer used after 'operator delete(void*, unsigned 
> > int)' [-Werror=use-after-free]
> >    34 | }
> >       | ^
> >
> >
> > The code for ~sha1() is:
> >
> > sha1::~sha1() {
> >     delete pvt;
> > }
> >
> > Line 34 is that closing bracket.
> >
> >
> > The code definitely isn't using the pointer after it's been deleted.
> > Could this be a compiler bug?
> 
> It's this bug:
> 
>   Unexpected [-Werror=use-after-free] warning only on arm7hl build of code
>   <https://bugzilla.redhat.com/show_bug.cgi?id=2047316>
> 
> It's fixed in gcc-12.0.1-0.4.fc36.  Under local mock, you'll have to use
> --enablerepo=local because there hasn't been a compose in a while
> (apparently).
> 
> Thanks,
> Florian
> 
> 

Ahh, ok.  Should I mark any buzilla bugs that I get as duplicates of that one?

Dave
david.m...@firstworks.com
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to