On Sat, Nov 11, 2023 at 8:08 AM Khem Raj <raj.k...@gmail.com> wrote:
>
> On Sat, Nov 11, 2023 at 9:36 AM Richard Purdie
> <richard.pur...@linuxfoundation.org> wrote:
> >
> > On Sat, 2023-11-11 at 05:03 -1000, Steve Sakoman wrote:
> > > We are seeing reproducibility issues where gcc-cross sometimes defaults
> > > to gnu11 and other times to gnu17.
> >
> > Why is gcc-cross doing that? It is supposed to be deterministic so we
> > really need to get to the bottom of this :/.
>
> I think the previous patch to enforce OE cflags is exposing this
> problem.

No, the problem also exists without the previous patch.

Richard suggested the backport as a potential solution, since it fixed
a repro issue in master.

It turned out to not be a complete fix in dunfell, hence my second patch.

I agree that it would be good to get to the bottom of the gcc
reproducibility problem.  But until we do, this second patch will fix
the issue now and will do no harm once gcc is fixed since it is just
explicitly specifying what should be the gcc default.

Steve

> Now, it could be a
> bug in how gcc is invoked or in gcc itself,  but there is one file
> that shows up these c11 tags
> in debug info segments.
>
> >
> > Cheers,
> >
> > Richard
> >
> >
> > 
> >
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#190436): 
https://lists.openembedded.org/g/openembedded-core/message/190436
Mute This Topic: https://lists.openembedded.org/mt/102526884/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to