Re: Warnings with gcc 12.2.0 ... is the community interested in those, or already aware?

2022-09-05 Thread Willy Tarreau
On Mon, Sep 05, 2022 at 08:43:18AM -0600, Shawn Heisey wrote:
> On 9/5/22 02:45, Tim Düsterhus wrote:
> > I'd say: Create an issue at https://github.com/haproxy/haproxy/issues.
> > In the worst case it's just a duplicate and will be labeled as such.
> > 
> > In the ideal case you would've simply shared the logs, the effort to
> > reply to your email is similar to triaging an issue ?
> 
> Apologies.  I was trying to avoid wasting somebody's precious time, looks
> like that backfired in a big way.

No worries, really. You don't have to apologize for reporting something.
I prefer, and by far, to deal with duplicates than with lack of reports!

> Noted for the future. I will still
> report here first for issues when I am not certain that it's a bug or a
> problem in the build system.  Some of the problems I run into end up being
> user error.  Additionally, some projects prefer to discuss things before an
> issue is filed.

OK!

> I have opened a code-report issue on the github repo:
> 
> https://github.com/haproxy/haproxy/issues/1852
> 
> This message probably does not need a reply.

Thank you. Indeed, it's the same that Ilya already reported and that comes
from something illogical in this version of gcc. We have not identified any
easy workaround for this one, in the worst case it might end up with a
pragma in the code around it :-/  I must confess I'm a bit more concerned
about the reliability of code that is emitted with such mistaken
assumptions though.

Thanks,
Willy



Re: Warnings with gcc 12.2.0 ... is the community interested in those, or already aware?

2022-09-05 Thread Илья Шипицин
пн, 5 сент. 2022 г. в 13:48, Tim Düsterhus :

> Shawn,
>
> On 9/5/22 06:04, Shawn Heisey wrote:
> > I have a secondary system running Ubuntu 22.10 (kinetic).  It has gcc
> > 12.2.0 installed.  Building haproxy on that system results in a small
> > number of warnings.  It does build.
> >
> > Is this something the community already knows about, or should I share
> > the transcript?
> >
>
> I'd say: Create an issue at https://github.com/haproxy/haproxy/issues.
> In the worst case it's just a duplicate and will be labeled as such.
>

we observed gcc-12 issues

106297 – [12/13 Regression] stringop-overflow misbehaviour on atomic since
r12-4725-g88b504b7a8c5affb (gnu.org)

gcc12 build error · Issue #1767 · haproxy/haproxy (github.com)


I agree with Tim there's nothing wrong in reporting issues. it would be
duplicate in worst case scenario, no worry


>
> In the ideal case you would've simply shared the logs, the effort to
> reply to your email is similar to triaging an issue :-)
>
> Best regards
> Tim Düsterhus
>
>


Re: Warnings with gcc 12.2.0 ... is the community interested in those, or already aware?

2022-09-05 Thread Tim Düsterhus

Shawn,

On 9/5/22 06:04, Shawn Heisey wrote:

I have a secondary system running Ubuntu 22.10 (kinetic).  It has gcc
12.2.0 installed.  Building haproxy on that system results in a small
number of warnings.  It does build.

Is this something the community already knows about, or should I share
the transcript?



I'd say: Create an issue at https://github.com/haproxy/haproxy/issues. 
In the worst case it's just a duplicate and will be labeled as such.


In the ideal case you would've simply shared the logs, the effort to 
reply to your email is similar to triaging an issue :-)


Best regards
Tim Düsterhus