Re: pam_krb5.c - -Werror=format-overflow

2020-02-07 Thread Kamil Rytarowski
On 07.02.2020 23:13, Christos Zoulas wrote: > In article > , > Santhosh Raju wrote: >> -=-=-=-=-=- >> >> Hello >> >> While working with kamil@ on MKLIBCSANITIZER based build, I came >> across a compile error in pam_krb5.c >> >> --- dependall-pam_krb5 --- >> /home/fox/projects/netbsd/obj-wip/dest

Re: pam_krb5.c - -Werror=format-overflow

2020-02-07 Thread Christos Zoulas
In article , Santhosh Raju wrote: >-=-=-=-=-=- > >Hello > >While working with kamil@ on MKLIBCSANITIZER based build, I came >across a compile error in pam_krb5.c > >--- dependall-pam_krb5 --- >/home/fox/projects/netbsd/obj-wip/destdir.amd64/usr/include/security/pam_modules.h: >In function 'pam_sm

Re: pam_krb5.c - -Werror=format-overflow

2020-02-06 Thread Santhosh Raju
On Thu, Feb 6, 2020 at 5:46 AM Martin Husemann wrote: > > On Thu, Feb 06, 2020 at 05:39:53AM -0500, Santhosh Raju wrote: > > Alright the solution would be to 'fix gcc' I suppose? :P > > It might be a makefile bug passing different options to this build > step (unintendely). > Will check on this.

Re: pam_krb5.c - -Werror=format-overflow

2020-02-06 Thread Martin Husemann
On Thu, Feb 06, 2020 at 05:39:53AM -0500, Santhosh Raju wrote: > Alright the solution would be to 'fix gcc' I suppose? :P It might be a makefile bug passing different options to this build step (unintendely). > Will wait for other opinions (to see if there are any). If not will > add the flag to

Re: pam_krb5.c - -Werror=format-overflow

2020-02-06 Thread Santhosh Raju
On Thu, Feb 6, 2020 at 5:34 AM Martin Husemann wrote: > > On Thu, Feb 06, 2020 at 05:16:05AM -0500, Santhosh Raju wrote: > > I am guessing the build cluster does not run with MKLIBCSANITIZER=yes > > in the build.sh? > > No, but why would that make a difference here? If it does, it sounds like > a

Re: pam_krb5.c - -Werror=format-overflow

2020-02-06 Thread Martin Husemann
On Thu, Feb 06, 2020 at 05:16:05AM -0500, Santhosh Raju wrote: > I am guessing the build cluster does not run with MKLIBCSANITIZER=yes > in the build.sh? No, but why would that make a difference here? If it does, it sounds like a gcc bug. Martin

Re: pam_krb5.c - -Werror=format-overflow

2020-02-06 Thread Santhosh Raju
On Thu, Feb 6, 2020 at 5:11 AM Martin Husemann wrote: > > On Thu, Feb 06, 2020 at 05:01:55AM -0500, Santhosh Raju wrote: > > --- dependall-pam_krb5 --- > > /home/fox/projects/netbsd/obj-wip/destdir.amd64/usr/include/security/pam_modules.h: > > In function 'pam_sm_setcred': > > /home/fox/projects/n

Re: pam_krb5.c - -Werror=format-overflow

2020-02-06 Thread Martin Husemann
On Thu, Feb 06, 2020 at 05:01:55AM -0500, Santhosh Raju wrote: > --- dependall-pam_krb5 --- > /home/fox/projects/netbsd/obj-wip/destdir.amd64/usr/include/security/pam_modules.h: > In function 'pam_sm_setcred': > /home/fox/projects/netbsd/src-wip/lib/libpam/modules/pam_krb5/pam_krb5.c:489:6: > error