masayuki2009 commented on pull request #5645: URL: https://github.com/apache/incubator-nuttx/pull/5645#issuecomment-1055101966
@anchao I tried the latest toolchain ``` $ arm-none-eabi-gcc -v Using built-in specs. COLLECT_GCC=arm-none-eabi-gcc COLLECT_LTO_WRAPPER=/opt/gcc-arm-none-eabi-10.3-2021.10/bin/../lib/gcc/arm-none-eabi/10.3.1/lto-wrapper Target: arm-none-eabi Configured with: /mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/src/gcc/configure --target=arm-none-eabi --prefix=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-native --libexecdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-native/lib --infodir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-native/share/doc/gcc-arm-none-eabi/info --mandir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-native/share/doc/gcc-arm-none-eabi/man --htmldir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-native/share/doc/gcc-arm-none-eabi/html --pdfdir=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-native/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --ena ble-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/install-native/arm-none-eabi --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-gmp=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-native/host-libs/usr --with-mpfr=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-native/host-libs/usr --with-mpc=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-native/host-libs/usr --with-isl=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-native /host-libs/usr --with-libelf=/mnt/workspace/workspace/GCC-10-pipeline/jenkins-GCC-10-pipeline-338_20211018_1634516203/build-native/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Arm Embedded Toolchain 10.3-2021.10' --with-multilib-list=rmprofile,aprofile Thread model: single Supported LTO compression algorithms: zlib gcc version 10.3.1 20210824 (release) (GNU Arm Embedded Toolchain 10.3-2021.10) ``` Now I can reproduce the crash which you are facing now. I need to investigate what is happening with gcc 10.3. ``` [ 19.770000] exec_module: Executing /mnt/nfs/bin/getprime [ 19.770000] binfmt_copyargv: args=1 argsize=22 [ 19.770000] up_addrenv_select: addrenv=0x10845c94 oldenv=0x10845b50 [ 19.770000] up_addrenv_select: text: set l1 entry (paddr=1811e000 vaddr=80000000) [ 19.770000] up_addrenv_select: data: set l1 entry (paddr=18123000 vaddr=80100000) [ 19.770000] up_addrenv_select: heap: set l1 entry (paddr=18125000 vaddr=80200000) [ 19.770000] exec_module: Initialize the user heap (heapsize=1048576) [ 19.770000] up_addrenv_kstackalloc: tcb=0x10845cc0 stacksize=3072 [ 19.770000] up_addrenv_clone: src=0x10845c94 dest=0x10845ec8 [ 19.770000] up_addrenv_restore: oldenv=0x10845b50 [ 19.780000] up_addrenv_select: addrenv=0x10845ec8 oldenv=0 [ 19.780000] up_addrenv_select: text: set l1 entry (paddr=1811e000 vaddr=80000000) [ 19.780000] up_addrenv_select: data: set l1 entry (paddr=18123000 vaddr=80100000) [ 19.780000] up_addrenv_select: heap: set l1 entry (paddr=18125000 vaddr=80200000) [ 19.790000] arm_undefinedinsn: Undefined instruction at 0x80202750 [ 19.790000] up_assert: Assertion failed at file:armv7-a/arm_undefinedinsn.c line: 47 task: /mnt/nfs/bin/getprime [ 19.790000] arm_registerdump: R0: 00000000 R1: 00000000 R2: 00000000 R3: 00000000 [ 19.790000] arm_registerdump: R4: 00000000 R5: 00000000 R6: 00000000 FP: 00000000 [ 19.790000] arm_registerdump: R8: 00000000 SB: 00000000 SL: 00000000 R11: 00000000 [ 19.790000] arm_registerdump: IP: 00000000 SP: 80202728 LR: 10801448 PC: 80202750 ``` -- 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-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org