[Bug target/104713] gcc does not reject -march=i686 -fcf-protection
jay+ggcc@jp-hosting.net
gcc-bugzilla@gcc.gnu.org
Thu Mar 23 16:37:55 GMT 2023
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104713
--- Comment #8 from James Addison <jay+ggcc@jp-hosting.net> ---
(In reply to James Addison from comment #7)
> (In reply to Adrian Bunk from comment #6)
> > (In reply to James Addison from comment #5)
> > > Could the findings indicate that there are two bugs here?
> > >
> > > - The Geode LX target capable of supporting fcf-protection but GCC-11
> > > currently rejects that architecture and flag combination
> >
> > The problem is the opposite.
>
> Ok, thank you.
>
> Something that's unclear to me is whether fcf-protection requires NOPL
> (multi-byte NOP). I understand that it requires endbr32.
>
> Was my second statement (re: GCC-11 emitting NOPL for i686) correct?
I haven't been able to replicate generation of NOPL instructions using GCC-11
(with GNU binutils); my apologies for the distraction.
More information about the Gcc-bugs
mailing list