Re: Rawhide arm compiler bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 11 Feb 2022 21:37:55 +0100
Florian Weimer <fweimer@xxxxxxxxxx> 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.muse@xxxxxxxxxxxxxx
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux