* Re: [PATCH v13 3/7] kasan: Add report for async mode
[not found] <20210211153353.29094-4-vincenzo.frascino@arm.com>
@ 2021-02-11 20:03 ` kernel test robot
2021-02-11 20:13 ` Andrey Konovalov
2021-02-11 23:03 ` kernel test robot
1 sibling, 1 reply; 5+ messages in thread
From: kernel test robot @ 2021-02-11 20:03 UTC (permalink / raw)
To: Vincenzo Frascino, linux-arm-kernel, linux-kernel, kasan-dev
Cc: kbuild-all, Vincenzo Frascino, Andrew Morton,
Linux Memory Management List, Catalin Marinas, Will Deacon,
Dmitry Vyukov, Andrey Ryabinin
[-- Attachment #1: Type: text/plain, Size: 1971 bytes --]
Hi Vincenzo,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20210211]
[cannot apply to arm64/for-next/core xlnx/master arm/for-next soc/for-next kvmarm/next linus/master hnaz-linux-mm/master v5.11-rc7 v5.11-rc6 v5.11-rc5 v5.11-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947
base: 671176b0016c80b3943cb5387312c886aba3308d
config: riscv-randconfig-s031-20210209 (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-215-g0fb77bb6-dirty
# https://github.com/0day-ci/linux/commit/df25c9583cd523a49f2407e0aeee55bdec24a14e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947
git checkout df25c9583cd523a49f2407e0aeee55bdec24a14e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
riscv64-linux-ld: mm/kasan/report.o: in function `.L0 ':
report.c:(.text+0x480): undefined reference to `kasan_flag_async'
>> riscv64-linux-ld: report.c:(.text+0x5c4): undefined reference to `kasan_flag_async'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 38226 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v13 3/7] kasan: Add report for async mode
2021-02-11 20:03 ` [PATCH v13 3/7] kasan: Add report for async mode kernel test robot
@ 2021-02-11 20:13 ` Andrey Konovalov
2021-02-12 11:25 ` Vincenzo Frascino
0 siblings, 1 reply; 5+ messages in thread
From: Andrey Konovalov @ 2021-02-11 20:13 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: Linux ARM, LKML, kasan-dev, kbuild-all, Andrew Morton,
Linux Memory Management List, Catalin Marinas, Will Deacon,
Dmitry Vyukov, Andrey Ryabinin, kernel test robot
On Thu, Feb 11, 2021 at 9:04 PM kernel test robot <lkp@intel.com> wrote:
>
> Hi Vincenzo,
>
> I love your patch! Yet something to improve:
>
> [auto build test ERROR on next-20210211]
> [cannot apply to arm64/for-next/core xlnx/master arm/for-next soc/for-next kvmarm/next linus/master hnaz-linux-mm/master v5.11-rc7 v5.11-rc6 v5.11-rc5 v5.11-rc7]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch]
>
> url: https://github.com/0day-ci/linux/commits/Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947
> base: 671176b0016c80b3943cb5387312c886aba3308d
> config: riscv-randconfig-s031-20210209 (attached as .config)
> compiler: riscv64-linux-gcc (GCC) 9.3.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> # apt-get install sparse
> # sparse version: v0.6.3-215-g0fb77bb6-dirty
> # https://github.com/0day-ci/linux/commit/df25c9583cd523a49f2407e0aeee55bdec24a14e
> git remote add linux-review https://github.com/0day-ci/linux
> git fetch --no-tags linux-review Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947
> git checkout df25c9583cd523a49f2407e0aeee55bdec24a14e
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=riscv
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@intel.com>
>
> All errors (new ones prefixed by >>):
>
> riscv64-linux-ld: mm/kasan/report.o: in function `.L0 ':
> report.c:(.text+0x480): undefined reference to `kasan_flag_async'
> >> riscv64-linux-ld: report.c:(.text+0x5c4): undefined reference to `kasan_flag_async'
Let's do something like this (untested):
https://github.com/xairy/linux/commit/91354d34b30ceedbc1b6417f1ff253de90618a97
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v13 3/7] kasan: Add report for async mode
[not found] <20210211153353.29094-4-vincenzo.frascino@arm.com>
2021-02-11 20:03 ` [PATCH v13 3/7] kasan: Add report for async mode kernel test robot
@ 2021-02-11 23:03 ` kernel test robot
1 sibling, 0 replies; 5+ messages in thread
From: kernel test robot @ 2021-02-11 23:03 UTC (permalink / raw)
To: Vincenzo Frascino, linux-arm-kernel, linux-kernel, kasan-dev
Cc: kbuild-all, Vincenzo Frascino, Andrew Morton,
Linux Memory Management List, Catalin Marinas, Will Deacon,
Dmitry Vyukov, Andrey Ryabinin
[-- Attachment #1: Type: text/plain, Size: 2126 bytes --]
Hi Vincenzo,
I love your patch! Yet something to improve:
[auto build test ERROR on next-20210211]
[cannot apply to arm64/for-next/core xlnx/master arm/for-next soc/for-next kvmarm/next linus/master hnaz-linux-mm/master v5.11-rc7 v5.11-rc6 v5.11-rc5 v5.11-rc7]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url: https://github.com/0day-ci/linux/commits/Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947
base: 671176b0016c80b3943cb5387312c886aba3308d
config: arm64-allyesconfig (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/0day-ci/linux/commit/df25c9583cd523a49f2407e0aeee55bdec24a14e
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Vincenzo-Frascino/arm64-ARMv8-5-A-MTE-Add-async-mode-support/20210212-004947
git checkout df25c9583cd523a49f2407e0aeee55bdec24a14e
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
aarch64-linux-ld: mm/kasan/report.o: in function `end_report':
report.c:(.text+0x18): undefined reference to `kasan_flag_async'
aarch64-linux-ld: mm/kasan/report.o: relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `kasan_flag_async' which may bind externally can not be used when making a shared object; recompile with -fPIC
report.c:(.text+0x18): dangerous relocation: unsupported relocation
>> aarch64-linux-ld: report.c:(.text+0x1c): undefined reference to `kasan_flag_async'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 76858 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v13 3/7] kasan: Add report for async mode
2021-02-11 20:13 ` Andrey Konovalov
@ 2021-02-12 11:25 ` Vincenzo Frascino
2021-02-12 14:47 ` Andrey Konovalov
0 siblings, 1 reply; 5+ messages in thread
From: Vincenzo Frascino @ 2021-02-12 11:25 UTC (permalink / raw)
To: Andrey Konovalov
Cc: Linux ARM, LKML, kasan-dev, kbuild-all, Andrew Morton,
Linux Memory Management List, Catalin Marinas, Will Deacon,
Dmitry Vyukov, Andrey Ryabinin, kernel test robot
Hi Andrey,
On 2/11/21 8:13 PM, Andrey Konovalov wrote:
>>>> riscv64-linux-ld: report.c:(.text+0x5c4): undefined reference to `kasan_flag_async'
> Let's do something like this (untested):
>
> https://github.com/xairy/linux/commit/91354d34b30ceedbc1b6417f1ff253de90618a97
Could you reproduce this? I tried yesterday before posting the patches and my
conclusion was that kbuild robot is testing on the wrong tree.
I give it another go today, if you have more details based on your testing feel
free to share.
--
Regards,
Vincenzo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH v13 3/7] kasan: Add report for async mode
2021-02-12 11:25 ` Vincenzo Frascino
@ 2021-02-12 14:47 ` Andrey Konovalov
0 siblings, 0 replies; 5+ messages in thread
From: Andrey Konovalov @ 2021-02-12 14:47 UTC (permalink / raw)
To: Vincenzo Frascino
Cc: Linux ARM, LKML, kasan-dev, kbuild-all, Andrew Morton,
Linux Memory Management List, Catalin Marinas, Will Deacon,
Dmitry Vyukov, Andrey Ryabinin, kernel test robot
On Fri, Feb 12, 2021 at 12:21 PM Vincenzo Frascino
<vincenzo.frascino@arm.com> wrote:
>
> Hi Andrey,
>
> On 2/11/21 8:13 PM, Andrey Konovalov wrote:
> >>>> riscv64-linux-ld: report.c:(.text+0x5c4): undefined reference to `kasan_flag_async'
> > Let's do something like this (untested):
> >
> > https://github.com/xairy/linux/commit/91354d34b30ceedbc1b6417f1ff253de90618a97
>
> Could you reproduce this? I tried yesterday before posting the patches and my
> conclusion was that kbuild robot is testing on the wrong tree.
>
> I give it another go today, if you have more details based on your testing feel
> free to share.
I haven't tried reproducing, but the error makes sense. There's no
definition of kasan_flag_async for KASAN modes other than HW_TAGS.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2021-02-12 14:47 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20210211153353.29094-4-vincenzo.frascino@arm.com>
2021-02-11 20:03 ` [PATCH v13 3/7] kasan: Add report for async mode kernel test robot
2021-02-11 20:13 ` Andrey Konovalov
2021-02-12 11:25 ` Vincenzo Frascino
2021-02-12 14:47 ` Andrey Konovalov
2021-02-11 23:03 ` kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).