On Mon, Jan 24, 2022 at 12:01 PM Jakub Jelinek <ja...@redhat.com> wrote:
>
> On Mon, Jan 24, 2022 at 11:55:39AM +0100, Fabio Valentini wrote:
> > Have the command line arguments that are accepted by gcc?
> >
> > The test suite of the "cc" crate (used for compiling and linking to C
> > code within Rust projects) started failing with GCC 12 with this
> > error:
> >
> >     gcc: error: unrecognized command-line option '-arbitrary'
>
> That was never a gcc command line option.

Ok, thanks for confirming ...

Upon further investigation, it looks like something very weird is
going on instead, because other tests that really *should* be working
(or at least, definitely passed until a few days ago) started breaking
in hilarious ways.
So I think the new problems might actually be caused by some broken
interaction between gcc 12, the new change to set CFLAGS / CXXFLAGS by
default, and the way the cc test suite works, and other recent
redhat-rpm-config changes. But I have no idea how this is so broken
all of a sudden.

Fabio
_______________________________________________
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