2018-02-19 23:26:59

by Fengguang Wu

[permalink] [raw]
Subject: arch/microblaze/lib/fastcopy.S:33:2: error: #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.

Hi Arnd,

FYI, the error/warning still remains.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 79c0ef3e85c015b0921a8fd5dd539d1480e9cd6c
commit: 71e7673dadfdae0605d4c1f66ecb4b045c79fe0f microblaze: fix endian handling
date: 5 weeks ago
config: microblaze-mmu_defconfig (attached as .config)
compiler: microblaze-linux-gcc (GCC) 7.2.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout 71e7673dadfdae0605d4c1f66ecb4b045c79fe0f
# save the attached .config to linux build tree
make.cross ARCH=microblaze

All errors (new ones prefixed by >>):

>> arch/microblaze/lib/fastcopy.S:33:2: error: #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
#error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
^~~~~

vim +33 arch/microblaze/lib/fastcopy.S

de93c3c1 Michal Simek 2011-01-28 @33 #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
de93c3c1 Michal Simek 2011-01-28 34 #endif
de93c3c1 Michal Simek 2011-01-28 35

:::::: The code at line 33 was first introduced by commit
:::::: de93c3c119382cb888ca8a94b642dbcf8035525e microblaze: Fix ASM optimized code for LE

:::::: TO: Michal Simek <[email protected]>
:::::: CC: Michal Simek <[email protected]>

---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation


Attachments:
(No filename) (1.58 kB)
.config.gz (12.85 kB)
Download all attachments

2018-02-22 14:27:19

by Michal Simek

[permalink] [raw]
Subject: Re: arch/microblaze/lib/fastcopy.S:33:2: error: #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.

Hi,

I have sent a patch for this issue.
https://lkml.org/lkml/2018/2/22/441

Thanks for reporting,
Michal

On 20.2.2018 00:25, kbuild test robot wrote:
> Hi Arnd,
>
> FYI, the error/warning still remains.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 79c0ef3e85c015b0921a8fd5dd539d1480e9cd6c
> commit: 71e7673dadfdae0605d4c1f66ecb4b045c79fe0f microblaze: fix endian handling
> date: 5 weeks ago
> config: microblaze-mmu_defconfig (attached as .config)
> compiler: microblaze-linux-gcc (GCC) 7.2.0
> reproduce:
> wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
> chmod +x ~/bin/make.cross
> git checkout 71e7673dadfdae0605d4c1f66ecb4b045c79fe0f
> # save the attached .config to linux build tree
> make.cross ARCH=microblaze
>
> All errors (new ones prefixed by >>):
>
>>> arch/microblaze/lib/fastcopy.S:33:2: error: #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
> #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
> ^~~~~
>
> vim +33 arch/microblaze/lib/fastcopy.S
>
> de93c3c1 Michal Simek 2011-01-28 @33 #error Microblaze LE not support ASM optimized lib func. Disable OPT_LIB_ASM.
> de93c3c1 Michal Simek 2011-01-28 34 #endif
> de93c3c1 Michal Simek 2011-01-28 35
>
> :::::: The code at line 33 was first introduced by commit
> :::::: de93c3c119382cb888ca8a94b642dbcf8035525e microblaze: Fix ASM optimized code for LE
>
> :::::: TO: Michal Simek <[email protected]>
> :::::: CC: Michal Simek <[email protected]>
>
> ---
> 0-DAY kernel test infrastructure Open Source Technology Center
> https://lists.01.org/pipermail/kbuild-all Intel Corporation
>


--
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: http://www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Xilinx Microblaze
Maintainer of Linux kernel - Xilinx Zynq ARM and ZynqMP ARM64 SoCs
U-Boot custodian - Xilinx Microblaze/Zynq/ZynqMP SoCs



Attachments:
signature.asc (205.00 B)
OpenPGP digital signature