Re: /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does not evaluate to a constant

2016-04-20 Thread Philip Li
On Mon, Apr 18, 2016 at 05:08:41PM +0200, Oleg Nesterov wrote:
> On 04/17, kbuild test robot wrote:
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> > master
> > head:   b9f5dba225aede4518ab0a7374c2dc38c7c049ce
> > commit: 5eeb50de42fd3251845d03c556db012267c72b3f uprobes: Change 
> > handle_trampoline() to flush the frames invalidated by longjmp()
> > date:   9 months ago
> 
> and this patch changed the single function in arch-neutral 
> kernel/events/uprobes.c,
> this certainly looks like a false positive.

thanks for feedback, we will look into this to fix the false positive.

> 
> > config: powerpc-allyesconfig (attached as .config)
> > reproduce:
> > wget 
> > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> >  -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > git checkout 5eeb50de42fd3251845d03c556db012267c72b3f
> > # save the attached .config to linux build tree
> > make.cross ARCH=powerpc 
> > 
> > All errors (new ones prefixed by >>):
> > 
> >/tmp/ccTcF8pg.s: Assembler messages:
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does 
> > >> not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_encrypt_key 
> > >> does not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_decrypt_key does 
> > >> not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_decrypt_key 
> > >> does not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_encrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_encrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_decrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_decrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_cbc_encrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_cbc_encrypt does 
> > >> not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_ctr32_encrypt_blocks 
> > >> does not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for 
> > >> .aes_p8_ctr32_encrypt_blocks does not evaluate to a constant
> > --
> >/tmp/ccB2I6Jo.s: Assembler messages:
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_init_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_init_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_gmult_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_gmult_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_ghash_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_ghash_p8 does not 
> > >> evaluate to a constant
> > 
> > ---
> > 0-DAY kernel test infrastructureOpen Source Technology 
> > Center
> > https://lists.01.org/pipermail/kbuild-all   Intel 
> > Corporation
> 
> 
> 


Re: /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does not evaluate to a constant

2016-04-20 Thread Philip Li
On Mon, Apr 18, 2016 at 05:08:41PM +0200, Oleg Nesterov wrote:
> On 04/17, kbuild test robot wrote:
> >
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> > master
> > head:   b9f5dba225aede4518ab0a7374c2dc38c7c049ce
> > commit: 5eeb50de42fd3251845d03c556db012267c72b3f uprobes: Change 
> > handle_trampoline() to flush the frames invalidated by longjmp()
> > date:   9 months ago
> 
> and this patch changed the single function in arch-neutral 
> kernel/events/uprobes.c,
> this certainly looks like a false positive.

thanks for feedback, we will look into this to fix the false positive.

> 
> > config: powerpc-allyesconfig (attached as .config)
> > reproduce:
> > wget 
> > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
> >  -O ~/bin/make.cross
> > chmod +x ~/bin/make.cross
> > git checkout 5eeb50de42fd3251845d03c556db012267c72b3f
> > # save the attached .config to linux build tree
> > make.cross ARCH=powerpc 
> > 
> > All errors (new ones prefixed by >>):
> > 
> >/tmp/ccTcF8pg.s: Assembler messages:
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does 
> > >> not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_encrypt_key 
> > >> does not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_decrypt_key does 
> > >> not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_decrypt_key 
> > >> does not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_encrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_encrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_decrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_decrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_cbc_encrypt does not 
> > >> evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_cbc_encrypt does 
> > >> not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_ctr32_encrypt_blocks 
> > >> does not evaluate to a constant
> > >> /tmp/ccTcF8pg.s: Error: .size expression for 
> > >> .aes_p8_ctr32_encrypt_blocks does not evaluate to a constant
> > --
> >/tmp/ccB2I6Jo.s: Assembler messages:
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_init_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_init_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_gmult_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_gmult_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_ghash_p8 does not 
> > >> evaluate to a constant
> > >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_ghash_p8 does not 
> > >> evaluate to a constant
> > 
> > ---
> > 0-DAY kernel test infrastructureOpen Source Technology 
> > Center
> > https://lists.01.org/pipermail/kbuild-all   Intel 
> > Corporation
> 
> 
> 


Re: /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does not evaluate to a constant

2016-04-18 Thread Oleg Nesterov
On 04/17, kbuild test robot wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   b9f5dba225aede4518ab0a7374c2dc38c7c049ce
> commit: 5eeb50de42fd3251845d03c556db012267c72b3f uprobes: Change 
> handle_trampoline() to flush the frames invalidated by longjmp()
> date:   9 months ago

and this patch changed the single function in arch-neutral 
kernel/events/uprobes.c,
this certainly looks like a false positive.

> config: powerpc-allyesconfig (attached as .config)
> reproduce:
> wget 
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
>  -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 5eeb50de42fd3251845d03c556db012267c72b3f
> # save the attached .config to linux build tree
> make.cross ARCH=powerpc 
> 
> All errors (new ones prefixed by >>):
> 
>/tmp/ccTcF8pg.s: Assembler messages:
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_encrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_decrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_decrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_decrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_decrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_cbc_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_cbc_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_ctr32_encrypt_blocks 
> >> does not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_ctr32_encrypt_blocks 
> >> does not evaluate to a constant
> --
>/tmp/ccB2I6Jo.s: Assembler messages:
> >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_init_p8 does not evaluate 
> >> to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_init_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_gmult_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_gmult_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_ghash_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_ghash_p8 does not 
> >> evaluate to a constant
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation





Re: /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does not evaluate to a constant

2016-04-18 Thread Oleg Nesterov
On 04/17, kbuild test robot wrote:
>
> tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 
> master
> head:   b9f5dba225aede4518ab0a7374c2dc38c7c049ce
> commit: 5eeb50de42fd3251845d03c556db012267c72b3f uprobes: Change 
> handle_trampoline() to flush the frames invalidated by longjmp()
> date:   9 months ago

and this patch changed the single function in arch-neutral 
kernel/events/uprobes.c,
this certainly looks like a false positive.

> config: powerpc-allyesconfig (attached as .config)
> reproduce:
> wget 
> https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross
>  -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 5eeb50de42fd3251845d03c556db012267c72b3f
> # save the attached .config to linux build tree
> make.cross ARCH=powerpc 
> 
> All errors (new ones prefixed by >>):
> 
>/tmp/ccTcF8pg.s: Assembler messages:
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_encrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_encrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_set_decrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_set_decrypt_key does 
> >> not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_decrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_decrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_cbc_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_cbc_encrypt does not 
> >> evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for aes_p8_ctr32_encrypt_blocks 
> >> does not evaluate to a constant
> >> /tmp/ccTcF8pg.s: Error: .size expression for .aes_p8_ctr32_encrypt_blocks 
> >> does not evaluate to a constant
> --
>/tmp/ccB2I6Jo.s: Assembler messages:
> >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_init_p8 does not evaluate 
> >> to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_init_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_gmult_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_gmult_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for gcm_ghash_p8 does not 
> >> evaluate to a constant
> >> /tmp/ccB2I6Jo.s: Error: .size expression for .gcm_ghash_p8 does not 
> >> evaluate to a constant
> 
> ---
> 0-DAY kernel test infrastructureOpen Source Technology Center
> https://lists.01.org/pipermail/kbuild-all   Intel Corporation