Messages in this thread | | | Date | Fri, 23 Jul 2021 03:07:42 +0800 | From | kernel test robot <> | Subject | [jirislaby:devel 59/62] arch/arm64/lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `(' |
| |
tree: https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel head: bc9f741e3e9e4828b7bb963e951a24ec7680346c commit: af9e70f8604aff3131b16f8a533a495f1379ce9a [59/62] linkage: perform symbol pair checking (per group) config: arm64-randconfig-r006-20210722 (attached as .config) compiler: aarch64-linux-gcc (GCC) 10.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://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=af9e70f8604aff3131b16f8a533a495f1379ce9a git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git git fetch --no-tags jirislaby devel git checkout af9e70f8604aff3131b16f8a533a495f1379ce9a # save the attached .config to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross O=build_dir ARCH=arm64 SHELL=/bin/bash
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 >>):
arch/arm64/lib/memcpy.S: Assembler messages: >> arch/arm64/lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `(' >> /tmp/cca3dGaS.s: Error: .size expression for memmove does not evaluate to a constant
vim +61 arch/arm64/lib/memcpy.S
808dbac6b51f34 zhichang.yuan 2014-04-28 59 285133040e6ce0 Robin Murphy 2021-05-27 60 SYM_FUNC_START_ALIAS(__memmove) 285133040e6ce0 Robin Murphy 2021-05-27 @61 SYM_FUNC_START_WEAK_ALIAS_PI(memmove) 3ac0f4526dfb80 Mark Brown 2020-01-06 62 SYM_FUNC_START_ALIAS(__memcpy) ec9d78070de986 Fangrui Song 2020-10-29 63 SYM_FUNC_START_WEAK_PI(memcpy) 285133040e6ce0 Robin Murphy 2021-05-27 64 add srcend, src, count 285133040e6ce0 Robin Murphy 2021-05-27 65 add dstend, dstin, count 285133040e6ce0 Robin Murphy 2021-05-27 66 cmp count, 128 285133040e6ce0 Robin Murphy 2021-05-27 67 b.hi L(copy_long) 285133040e6ce0 Robin Murphy 2021-05-27 68 cmp count, 32 285133040e6ce0 Robin Murphy 2021-05-27 69 b.hi L(copy32_128) 285133040e6ce0 Robin Murphy 2021-05-27 70 285133040e6ce0 Robin Murphy 2021-05-27 71 /* Small copies: 0..32 bytes. */ 285133040e6ce0 Robin Murphy 2021-05-27 72 cmp count, 16 285133040e6ce0 Robin Murphy 2021-05-27 73 b.lo L(copy16) 285133040e6ce0 Robin Murphy 2021-05-27 74 ldp A_l, A_h, [src] 285133040e6ce0 Robin Murphy 2021-05-27 75 ldp D_l, D_h, [srcend, -16] 285133040e6ce0 Robin Murphy 2021-05-27 76 stp A_l, A_h, [dstin] 285133040e6ce0 Robin Murphy 2021-05-27 77 stp D_l, D_h, [dstend, -16] 285133040e6ce0 Robin Murphy 2021-05-27 78 ret 285133040e6ce0 Robin Murphy 2021-05-27 79 285133040e6ce0 Robin Murphy 2021-05-27 80 /* Copy 8-15 bytes. */ 285133040e6ce0 Robin Murphy 2021-05-27 81 L(copy16): 285133040e6ce0 Robin Murphy 2021-05-27 82 tbz count, 3, L(copy8) 285133040e6ce0 Robin Murphy 2021-05-27 83 ldr A_l, [src] 285133040e6ce0 Robin Murphy 2021-05-27 84 ldr A_h, [srcend, -8] 285133040e6ce0 Robin Murphy 2021-05-27 85 str A_l, [dstin] 285133040e6ce0 Robin Murphy 2021-05-27 86 str A_h, [dstend, -8] 285133040e6ce0 Robin Murphy 2021-05-27 87 ret 285133040e6ce0 Robin Murphy 2021-05-27 88 285133040e6ce0 Robin Murphy 2021-05-27 89 .p2align 3 285133040e6ce0 Robin Murphy 2021-05-27 90 /* Copy 4-7 bytes. */ 285133040e6ce0 Robin Murphy 2021-05-27 91 L(copy8): 285133040e6ce0 Robin Murphy 2021-05-27 92 tbz count, 2, L(copy4) 285133040e6ce0 Robin Murphy 2021-05-27 93 ldr A_lw, [src] 285133040e6ce0 Robin Murphy 2021-05-27 94 ldr B_lw, [srcend, -4] 285133040e6ce0 Robin Murphy 2021-05-27 95 str A_lw, [dstin] 285133040e6ce0 Robin Murphy 2021-05-27 96 str B_lw, [dstend, -4] 285133040e6ce0 Robin Murphy 2021-05-27 97 ret 285133040e6ce0 Robin Murphy 2021-05-27 98 285133040e6ce0 Robin Murphy 2021-05-27 99 /* Copy 0..3 bytes using a branchless sequence. */ 285133040e6ce0 Robin Murphy 2021-05-27 100 L(copy4): 285133040e6ce0 Robin Murphy 2021-05-27 101 cbz count, L(copy0) 285133040e6ce0 Robin Murphy 2021-05-27 102 lsr tmp1, count, 1 285133040e6ce0 Robin Murphy 2021-05-27 103 ldrb A_lw, [src] 285133040e6ce0 Robin Murphy 2021-05-27 104 ldrb C_lw, [srcend, -1] 285133040e6ce0 Robin Murphy 2021-05-27 105 ldrb B_lw, [src, tmp1] 285133040e6ce0 Robin Murphy 2021-05-27 106 strb A_lw, [dstin] 285133040e6ce0 Robin Murphy 2021-05-27 107 strb B_lw, [dstin, tmp1] 285133040e6ce0 Robin Murphy 2021-05-27 108 strb C_lw, [dstend, -1] 285133040e6ce0 Robin Murphy 2021-05-27 109 L(copy0): 285133040e6ce0 Robin Murphy 2021-05-27 110 ret 285133040e6ce0 Robin Murphy 2021-05-27 111 285133040e6ce0 Robin Murphy 2021-05-27 112 .p2align 4 285133040e6ce0 Robin Murphy 2021-05-27 113 /* Medium copies: 33..128 bytes. */ 285133040e6ce0 Robin Murphy 2021-05-27 114 L(copy32_128): 285133040e6ce0 Robin Murphy 2021-05-27 115 ldp A_l, A_h, [src] 285133040e6ce0 Robin Murphy 2021-05-27 116 ldp B_l, B_h, [src, 16] 285133040e6ce0 Robin Murphy 2021-05-27 117 ldp C_l, C_h, [srcend, -32] 285133040e6ce0 Robin Murphy 2021-05-27 118 ldp D_l, D_h, [srcend, -16] 285133040e6ce0 Robin Murphy 2021-05-27 119 cmp count, 64 285133040e6ce0 Robin Murphy 2021-05-27 120 b.hi L(copy128) 285133040e6ce0 Robin Murphy 2021-05-27 121 stp A_l, A_h, [dstin] 285133040e6ce0 Robin Murphy 2021-05-27 122 stp B_l, B_h, [dstin, 16] 285133040e6ce0 Robin Murphy 2021-05-27 123 stp C_l, C_h, [dstend, -32] 285133040e6ce0 Robin Murphy 2021-05-27 124 stp D_l, D_h, [dstend, -16] 808dbac6b51f34 zhichang.yuan 2014-04-28 125 ret 285133040e6ce0 Robin Murphy 2021-05-27 126 285133040e6ce0 Robin Murphy 2021-05-27 127 .p2align 4 285133040e6ce0 Robin Murphy 2021-05-27 128 /* Copy 65..128 bytes. */ 285133040e6ce0 Robin Murphy 2021-05-27 129 L(copy128): 285133040e6ce0 Robin Murphy 2021-05-27 130 ldp E_l, E_h, [src, 32] 285133040e6ce0 Robin Murphy 2021-05-27 131 ldp F_l, F_h, [src, 48] 285133040e6ce0 Robin Murphy 2021-05-27 132 cmp count, 96 285133040e6ce0 Robin Murphy 2021-05-27 133 b.ls L(copy96) 285133040e6ce0 Robin Murphy 2021-05-27 134 ldp G_l, G_h, [srcend, -64] 285133040e6ce0 Robin Murphy 2021-05-27 135 ldp H_l, H_h, [srcend, -48] 285133040e6ce0 Robin Murphy 2021-05-27 136 stp G_l, G_h, [dstend, -64] 285133040e6ce0 Robin Murphy 2021-05-27 137 stp H_l, H_h, [dstend, -48] 285133040e6ce0 Robin Murphy 2021-05-27 138 L(copy96): 285133040e6ce0 Robin Murphy 2021-05-27 139 stp A_l, A_h, [dstin] 285133040e6ce0 Robin Murphy 2021-05-27 140 stp B_l, B_h, [dstin, 16] 285133040e6ce0 Robin Murphy 2021-05-27 141 stp E_l, E_h, [dstin, 32] 285133040e6ce0 Robin Murphy 2021-05-27 142 stp F_l, F_h, [dstin, 48] 285133040e6ce0 Robin Murphy 2021-05-27 143 stp C_l, C_h, [dstend, -32] 285133040e6ce0 Robin Murphy 2021-05-27 144 stp D_l, D_h, [dstend, -16] 285133040e6ce0 Robin Murphy 2021-05-27 145 ret 285133040e6ce0 Robin Murphy 2021-05-27 146 285133040e6ce0 Robin Murphy 2021-05-27 147 .p2align 4 285133040e6ce0 Robin Murphy 2021-05-27 148 /* Copy more than 128 bytes. */ 285133040e6ce0 Robin Murphy 2021-05-27 149 L(copy_long): 285133040e6ce0 Robin Murphy 2021-05-27 150 /* Use backwards copy if there is an overlap. */ 285133040e6ce0 Robin Murphy 2021-05-27 151 sub tmp1, dstin, src 285133040e6ce0 Robin Murphy 2021-05-27 152 cbz tmp1, L(copy0) 285133040e6ce0 Robin Murphy 2021-05-27 153 cmp tmp1, count 285133040e6ce0 Robin Murphy 2021-05-27 154 b.lo L(copy_long_backwards) 285133040e6ce0 Robin Murphy 2021-05-27 155 285133040e6ce0 Robin Murphy 2021-05-27 156 /* Copy 16 bytes and then align dst to 16-byte alignment. */ 285133040e6ce0 Robin Murphy 2021-05-27 157 285133040e6ce0 Robin Murphy 2021-05-27 158 ldp D_l, D_h, [src] 285133040e6ce0 Robin Murphy 2021-05-27 159 and tmp1, dstin, 15 285133040e6ce0 Robin Murphy 2021-05-27 160 bic dst, dstin, 15 285133040e6ce0 Robin Murphy 2021-05-27 161 sub src, src, tmp1 285133040e6ce0 Robin Murphy 2021-05-27 162 add count, count, tmp1 /* Count is now 16 too large. */ 285133040e6ce0 Robin Murphy 2021-05-27 163 ldp A_l, A_h, [src, 16] 285133040e6ce0 Robin Murphy 2021-05-27 164 stp D_l, D_h, [dstin] 285133040e6ce0 Robin Murphy 2021-05-27 165 ldp B_l, B_h, [src, 32] 285133040e6ce0 Robin Murphy 2021-05-27 166 ldp C_l, C_h, [src, 48] 285133040e6ce0 Robin Murphy 2021-05-27 167 ldp D_l, D_h, [src, 64]! 285133040e6ce0 Robin Murphy 2021-05-27 168 subs count, count, 128 + 16 /* Test and readjust count. */ 285133040e6ce0 Robin Murphy 2021-05-27 169 b.ls L(copy64_from_end) 285133040e6ce0 Robin Murphy 2021-05-27 170
:::::: The code at line 61 was first introduced by commit :::::: 285133040e6ce0e6f37db962f2b4dad10ea46da0 arm64: Import latest memcpy()/memmove() implementation
:::::: TO: Robin Murphy <robin.murphy@arm.com> :::::: CC: Will Deacon <will@kernel.org>
--- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org [unhandled content-type:application/gzip] | |