Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Compile error in compat_crypto_50



On Thu, 2020-01-16 at 09:17 +0100, Martin Husemann wrote:
> On Thu, Jan 16, 2020 at 12:03:27AM -0800, David Hopper wrote:
> > For a few days now I'm unable to compile -current modules on Alpha
> > either natively or cross-compiled due to the following error:
> > 
> > --- dependall-compat_crypto_50 ---
> > /raid/src/sys/opencrypto/ocryptodev.h: In function
> > 'ocryptof_ioctl':
> > /raid/src/sys/opencrypto/ocryptodev.c:284:16: error: 'os_op.ses'
> > may be
> > used uninitialized in this function [-Werror=maybe-uninitialized]
> >    osn_ops->ses =  os_op.ses;
> >    ~~~~~~~~~~~~~^~~~~~~~~~~~
> > /raid/src/sys/opencrypto/ocryptodev.c:275:22: note: 'os_op.ses' was
> > declared here
> >    struct osession_op os_op;
> >                       ^~~~~
> > cc1: all warnings being treated as errors
> 
> Any special settings? The auto-builds are working for alpha.

Yes there are!  Thanks for the hint.  Shame on me for turning up gcc
optimization flags on crypto code, I should know better.

Compiles fine after clearing -O3 (I know, I know...) :)

David



Home | Main Index | Thread Index | Old Index