{"thread":{"id":"59656","subject":"[PATCH] developer: remove gcc 12 workaround","startedAt":"2023-04-26T01:34:48Z","lastAt":"2023-04-26T15:00:21Z","messageCount":4,"participants":["Carlo Marcelo Arenas Belón","Eric Sunshine","Carlo Arenas","Phillip Wood"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"476082","messageId":"20230426013428.53206-1-carenas@gmail.com","threadId":"59656","inReplyTo":null,"subject":"[PATCH] developer: remove gcc 12 workaround","fromName":"Carlo Marcelo Arenas Belón","fromEmail":"carenas@gmail.com","sentAt":"2023-04-26T01:34:28Z","receivedAt":"2023-04-26T01:34:48Z","isPatch":true,"sender":{"key":"carenas@gmail.com","avatar":"https://avatars.githubusercontent.com/u/76036?v=4"},"body":"Since 846a29afb0 (config.mak.dev: workaround gcc 12 bug affecting\n\"pedantic\" CI job, 2022-04-15), DEVELOPER mode has this workaround\nfor the version of gcc that was released with Fedora 36.\n\nThat version of Fedora is about to be EOL and latest versions of\nthe compiler don't have that bug anymore, so remove the workaround.\n\nTested not to trigger with latest gcc packages from the last 3\nFedora releases, including gcc 13 from Fedora 38.\n\nSigned-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>\n---\n config.mak.dev | 5 -----\n 1 file changed, 5 deletions(-)\n\ndiff --git a/config.mak.dev b/config.mak.dev\nindex 981304727c..6d07ef3692 100644\n--- a/config.mak.dev\n+++ b/config.mak.dev\n@@ -94,9 +94,4 @@ endif\n endif\n endif\n \n-# https://bugzilla.redhat.com/show_bug.cgi?id=2075786\n-ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)\n-DEVELOPER_CFLAGS += -Wno-error=stringop-overread\n-endif\n-\n GIT_TEST_PERL_FATAL_WARNINGS = YesPlease\n-- \n2.39.2 (Apple Git-143)\n\n"},{"id":"476083","messageId":"CAPig+cSN=DYXuCmO4-ewN20mibqH7o+zESDbwXG8c0QW0TVVrA@mail.gmail.com","threadId":"59656","inReplyTo":"20230426013428.53206-1-carenas@gmail.com","subject":"Re: [PATCH] developer: remove gcc 12 workaround","fromName":"Eric Sunshine","fromEmail":"sunshine@sunshineco.com","sentAt":"2023-04-26T03:45:42Z","receivedAt":"2023-04-26T03:45:58Z","isPatch":true,"sender":{"key":"sunshine@sunshineco.com","avatar":"https://avatars.githubusercontent.com/u/163641?v=4"},"body":"On Tue, Apr 25, 2023 at 9:47 PM Carlo Marcelo Arenas Belón\n<carenas@gmail.com> wrote:\n> Since 846a29afb0 (config.mak.dev: workaround gcc 12 bug affecting\n> \"pedantic\" CI job, 2022-04-15), DEVELOPER mode has this workaround\n> for the version of gcc that was released with Fedora 36.\n>\n> That version of Fedora is about to be EOL and latest versions of\n> the compiler don't have that bug anymore, so remove the workaround.\n>\n> Tested not to trigger with latest gcc packages from the last 3\n> Fedora releases, including gcc 13 from Fedora 38.\n\nThe commit message doesn't explain the benefit of removing this\nworkaround. Is it because it's a maintenance burden? Or is it\npreventing some future planned improvement in this area? What is the\njustification for penalizing users who might be stuck on Fedora 36 for\nsome reason or another?\n\n(I ask these questions as a person who regularly is stuck on old\nplatforms for which it is increasingly painful or impossible to build\nor install modern software.)\n\n> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com>\n> ---\n> diff --git a/config.mak.dev b/config.mak.dev\n> index 981304727c..6d07ef3692 100644\n> --- a/config.mak.dev\n> +++ b/config.mak.dev\n> @@ -94,9 +94,4 @@ endif\n>  endif\n>  endif\n>\n> -# https://bugzilla.redhat.com/show_bug.cgi?id=2075786\n> -ifneq ($(filter gcc12,$(COMPILER_FEATURES)),)\n> -DEVELOPER_CFLAGS += -Wno-error=stringop-overread\n> -endif\n> -\n>  GIT_TEST_PERL_FATAL_WARNINGS = YesPlease\n"},{"id":"476091","messageId":"CAPUEspgqGFHg-a2gZ+j6pRLQSZwVuVR9Sq3j3yvcK1LtAi1VHQ@mail.gmail.com","threadId":"59656","inReplyTo":"CAPig+cSN=DYXuCmO4-ewN20mibqH7o+zESDbwXG8c0QW0TVVrA@mail.gmail.com","subject":"Re: [PATCH] developer: remove gcc 12 workaround","fromName":"Carlo Arenas","fromEmail":"carenas@gmail.com","sentAt":"2023-04-26T06:41:09Z","receivedAt":"2023-04-26T06:41:27Z","isPatch":true,"sender":{"key":"carenas@gmail.com","avatar":"https://avatars.githubusercontent.com/u/76036?v=4"},"body":"On Tue, Apr 25, 2023 at 8:45 PM Eric Sunshine <sunshine@sunshineco.com> wrote:\n>\n> On Tue, Apr 25, 2023 at 9:47 PM Carlo Marcelo Arenas Belón\n> <carenas@gmail.com> wrote:\n> > Since 846a29afb0 (config.mak.dev: workaround gcc 12 bug affecting\n> > \"pedantic\" CI job, 2022-04-15), DEVELOPER mode has this workaround\n> > for the version of gcc that was released with Fedora 36.\n> >\n> > That version of Fedora is about to be EOL and latest versions of\n> > the compiler don't have that bug anymore, so remove the workaround.\n> >\n> > Tested not to trigger with latest gcc packages from the last 3\n> > Fedora releases, including gcc 13 from Fedora 38.\n>\n> The commit message doesn't explain the benefit of removing this\n> workaround. Is it because it's a maintenance burden? Or is it\n> preventing some future planned improvement in this area?\n\nThe workaround was added for the benefit of the CI and to prevent\nfailures because the buggy warning will otherwise make it fail because\nof -Werror when Fedora 36 was released and our CI started using it.\n\nOur CI doesn't need it anymore to avoid that issue.\n\n> What is the\n> justification for penalizing users who might be stuck on Fedora 36 for\n> some reason or another?\n\nI certainly didn't intend on penalizing any users, but I frankly\nsuspect there aren't any, as the bug was fixed long ago, and it\nwouldn't affect them unless no gcc updates were ever done on their\nsystems.\n\nCarlo\n"},{"id":"476110","messageId":"bf10fce3-b4bc-e5db-e2c0-651d70a8a1c8@gmail.com","threadId":"59656","inReplyTo":"CAPUEspgqGFHg-a2gZ+j6pRLQSZwVuVR9Sq3j3yvcK1LtAi1VHQ@mail.gmail.com","subject":"Re: [PATCH] developer: remove gcc 12 workaround","fromName":"Phillip Wood","fromEmail":"phillip.wood123@gmail.com","sentAt":"2023-04-26T15:00:08Z","receivedAt":"2023-04-26T15:00:21Z","isPatch":true,"sender":{"key":"phillip.wood@dunelm.org.uk","avatar":null},"body":"Hi Carlo\n\nOn 26/04/2023 07:41, Carlo Arenas wrote:\n> On Tue, Apr 25, 2023 at 8:45 PM Eric Sunshine <sunshine@sunshineco.com> wrote:\n>>\n>> On Tue, Apr 25, 2023 at 9:47 PM Carlo Marcelo Arenas Belón\n>> <carenas@gmail.com> wrote:\n>>> Since 846a29afb0 (config.mak.dev: workaround gcc 12 bug affecting\n>>> \"pedantic\" CI job, 2022-04-15), DEVELOPER mode has this workaround\n>>> for the version of gcc that was released with Fedora 36.\n>>>\n>>> That version of Fedora is about to be EOL and latest versions of\n>>> the compiler don't have that bug anymore, so remove the workaround.\n>>>\n>>> Tested not to trigger with latest gcc packages from the last 3\n>>> Fedora releases, including gcc 13 from Fedora 38.\n>>\n>> The commit message doesn't explain the benefit of removing this\n>> workaround. Is it because it's a maintenance burden? Or is it\n>> preventing some future planned improvement in this area?\n> \n> The workaround was added for the benefit of the CI and to prevent\n> failures because the buggy warning will otherwise make it fail because\n> of -Werror when Fedora 36 was released and our CI started using it.\n> \n> Our CI doesn't need it anymore to avoid that issue.\n\nOur CI may not need it but what users of other distributions using gcc \n12? The link[1] in the commit message for 846a29afb0 suggests that \ndebian was also affected at that time so the bug was not a fedora \nspecific. We could perhaps tighten the check if we know which specific \nversions of gcc 12 are affected but it is not clear that removing it \nentirely is a good idea.\n\nBest Wishes\n\nPhillip\n\n[1] https://bugzilla.redhat.com/show_bug.cgi?id=2075786\n\n>> What is the\n>> justification for penalizing users who might be stuck on Fedora 36 for\n>> some reason or another?\n> \n> I certainly didn't intend on penalizing any users, but I frankly\n> suspect there aren't any, as the bug was fixed long ago, and it\n> wouldn't affect them unless no gcc updates were ever done on their\n> systems.\n> \n> Carlo\n"}]}