All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: [jirislaby:devel 58/61] arch/arm64/kvm/hyp/nvhe/../../../lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `('
Date: Sat, 26 Jun 2021 04:48:32 +0800	[thread overview]
Message-ID: <202106260423.1h1tZnKj-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 9531 bytes --]

Hi Jiri,

First bad commit (maybe != root cause):

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git devel
head:   8b1a24d559723d075922fe4817a035e160fe636d
commit: e19c3fdd6fb1cc4b11947854540b1486d1617a55 [58/61] linkage: perform symbol pair checking (per group)
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://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git/commit/?id=e19c3fdd6fb1cc4b11947854540b1486d1617a55
        git remote add jirislaby https://git.kernel.org/pub/scm/linux/kernel/git/jirislaby/linux.git
        git fetch --no-tags jirislaby devel
        git checkout e19c3fdd6fb1cc4b11947854540b1486d1617a55
        # 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 >>):

   arch/arm64/kvm/hyp/nvhe/../../../lib/memcpy.S: Assembler messages:
>> arch/arm64/kvm/hyp/nvhe/../../../lib/memcpy.S:61: Error: junk at end of line, first unrecognized character is `('
   /tmp/cc5UcCrC.s: Error: .size expression for memmove does not evaluate to a constant


vim +61 arch/arm64/kvm/hyp/nvhe/../../../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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 78134 bytes --]

                 reply	other threads:[~2021-06-25 20:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202106260423.1h1tZnKj-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.