You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/01/29 09:24:34 UTC

[GitHub] [incubator-nuttx] masayuki2009 commented on pull request #5332: arch/Toolchain.defs: Simplify addition builtin library to EXTRA_LIBS

masayuki2009 commented on pull request #5332:
URL: https://github.com/apache/incubator-nuttx/pull/5332#issuecomment-1024874789


   @xiaoxiang781216 
   I noticed that sama5d4-ek:ksh build failed.
   Could you confirm what is happening now?
   
   ```
   LD: nuttx
   arm-none-eabi-ld --entry=__start -T/mnt/m2ssd/opensource/github_masayuki2009/apache-nuttx-sama5-knsh/nuttx/boards/arm/sama5/sama5d4-ek/scripts/dramboot.ld  -L"/mnt/m2ssd/opensource/github_masayuki2009/apache-nuttx-sama5-knsh/nuttx/staging" -L"/mnt/m2ssd/opensource/github_masayuki2009/apache-nuttx-sama5-knsh/nuttx/arch/arm/src/board"  	-o "/mnt/m2ssd/opensource/github_masayuki2009/apache-nuttx-sama5-knsh/nuttx/nuttx" arm_vectortab.o  	--start-group -lsched -ldrivers -lboards -lstubs -lkc -lkmm -lkarch -lfs -lbinfmt -lboard /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-a+simd/hard/libgcc.a /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/lib/thumb/v7-a+simd/hard/libm.a --end-group
   arm-none-eabi-ld: error: /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-a+simd/hard/libgcc.a(_udivmoddi4.o) uses VFP register arguments, /mnt/m2ssd/opensource/github_masayuki2009/apache-nuttx-sama5-knsh/nuttx/nuttx does not
   arm-none-eabi-ld: failed to merge target specific data of file /opt/gcc-arm-none-eabi-9-2020-q2-update/bin/../lib/gcc/arm-none-eabi/9.3.1/thumb/v7-a+simd/hard/libgcc.a(_udivmoddi4.o)
   Makefile:164: recipe for target 'nuttx' failed
   make[1]: *** [nuttx] Error 1
   ```
   
   If I revert the following commit, it works again.
   
   ```
   commit 1c2c0e4707a8e2e73378adcd0704ca8e2ef8e088 (tag: nuttx-20220128-212014)
   Author: Xiang Xiao <xi...@xiaomi.com>
   Date:   Tue Jan 25 16:11:30 2022 +0800
   
       arch/Toolchain.defs: Simplify the builtin library addition for EXTRA_LIBS
       
       Signed-off-by: Xiang Xiao <xi...@xiaomi.com>
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org