lkml.org 
[lkml]   [2019]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH resend] s390/purgatory: Make sure we fail the build if purgatory has missing symbols
From
Date

On 18.12.19 01:25, kbuild test robot wrote:
> Hi Hans,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on s390/features]
> [also build test ERROR on v5.5-rc2 next-20191217]
> [if your patch is applied to the wrong git tree, please drop us a note to help
> improve the system. BTW, we also suggest to use '--base' option to specify the
> base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
>
> url: https://github.com/0day-ci/linux/commits/Hans-de-Goede/s390-purgatory-Make-sure-we-fail-the-build-if-purgatory-has-missing-symbols/20191216-045305
> base: https://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git features
> config: s390-randconfig-a001-20191217 (attached as .config)
> compiler: s390-linux-gcc (GCC) 7.5.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # save the attached .config to linux build tree
> GCC_VERSION=7.5.0 make.cross ARCH=s390
>
> If you fix the issue, kindly add following tag
> Reported-by: kbuild test robot <lkp@intel.com>

This actually looks like the patch is doing exactly what it should.
It seems we must not build the purgatory with kasan. Will have a look
>
> All errors (new ones prefixed by >>):
>
> arch/s390/purgatory/purgatory: In function `verify_sha256_digest':
>>> (.text+0x20c6): undefined reference to `__asan_report_load8_noabort'
> (.text+0x20e8): undefined reference to `__asan_report_load8_noabort'
> (.text+0x212a): undefined reference to `memcmp'
> arch/s390/purgatory/purgatory: In function `sha256_update':
> (.text+0x21e4): undefined reference to `__asan_report_load8_noabort'
>>> (.text+0x22b6): undefined reference to `__asan_report_load4_noabort'
>>> (.text+0x2308): undefined reference to `__asan_report_store4_noabort'
> (.text+0x236e): undefined reference to `__asan_report_load4_noabort'
> (.text+0x23d8): undefined reference to `__asan_report_load4_noabort'
> (.text+0x2432): undefined reference to `__asan_report_load4_noabort'
> (.text+0x2498): undefined reference to `__asan_report_load4_noabort'
> (.text+0x24f2): undefined reference to `__asan_report_store4_noabort'
> (.text+0x254c): undefined reference to `__asan_report_load4_noabort'
> (.text+0x25a2): undefined reference to `__asan_report_load4_noabort'
> (.text+0x25f8): undefined reference to `__asan_report_load4_noabort'
> (.text+0x264e): undefined reference to `__asan_report_load4_noabort'
> (.text+0x26a4): undefined reference to `__asan_report_load4_noabort'
> arch/s390/purgatory/purgatory:(.text+0x26fa): more undefined references to `__asan_report_load4_noabort' follow
> arch/s390/purgatory/purgatory: In function `__sha256_final':
>>> sha256.c:(.text+0x4062): undefined reference to `__asan_report_load8_noabort'
>>> sha256.c:(.text+0x4120): undefined reference to `__asan_report_load4_noabort'
>>> sha256.c:(.text+0x416e): undefined reference to `__asan_report_store4_noabort'
> arch/s390/purgatory/purgatory: In function `_GLOBAL__sub_D_65535_0_sha256_update':
> sha256.c:(.text+0x4444): undefined reference to `__asan_unregister_globals'
> arch/s390/purgatory/purgatory: In function `_GLOBAL__sub_I_65535_1_sha256_update':
> sha256.c:(.text+0x4454): undefined reference to `__asan_register_globals'
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org Intel Corporation
>

\
 
 \ /
  Last update: 2019-12-18 09:13    [W:0.042 / U:5.724 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site