[PATCH] init/Kconfig: remove CONFIG_GCC_ASM_GOTO_OUTPUT_WORKAROUND

Linus Torvalds torvalds at linux-foundation.org
Thu Jul 18 10:59:16 PDT 2024


On Thu, 18 Jul 2024 at 09:59, Linus Torvalds
<torvalds at linux-foundation.org> wrote:
>
> Let's keep the "which gcc versions are scrogged" as a separate config
> entry, and then have this just as a
>
>      default n if CC_IS_GCC && GCC_NO_ASM_GOTO_OUTPUTS

Ok, I ended up playing around with this a bit more, and it ended up like

  config GCC_ASM_GOTO_OUTPUT_BROKEN
        bool
        depends on CC_IS_GCC
        default y if GCC_VERSION < 110500
        ..

with then CC_HAS_ASM_GOTO_OUTPUT just having a

        depends on !GCC_ASM_GOTO_OUTPUT_BROKEN

in it. That looks fairly legible to me, and seems to work fine.

I left it all credited to you, since you found all the problems and
wrote that big nice commit log. But it means that if I screwed up in
my edits, you get the blame too. So if that happens, just point haters
at this email and say it's all my fault.

           Linus



More information about the linux-arm-kernel mailing list