Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22237

Selected processor does not support `dmb ish' in ARM mode

$
0
0

I am building an embedded linux distro on a Beaglebone Black (AM335x chip Cortex-A8 Arm-v7 Instruction set) using crosstool-NG, U-Boot, Kernel (5.5.5) and buildroot. When compiling the kernel I am getting this error message:

/tmp/ccxFZlyN.s: Assembler messages:                                                                                                                                                                /tmp/ccxFZlyN.s:39: Error: selected processor does not support `isb ' in ARM mode                                                                                                                   /tmp/ccxFZlyN.s:90: Error: selected processor does not support `isb ' in ARM mode                                                                                                                   /tmp/ccxFZlyN.s:371: Error: selected processor does not support `isb ' in ARM mode                                                                                                                  scripts/Makefile.build:265: recipe for target 'arch/arm/vfp/vfpmodule.o' failed                                                                                                                     make[1]: *** [arch/arm/vfp/vfpmodule.o] Error 1                                                                                                                                                     Makefile:1693: recipe for target 'arch/arm/vfp' failed                                                                                                                                              make: *** [arch/arm/vfp] Error 2make: *** Waiting for unfinished jobs....  CC      init/do_mounts_rd.o  CC      init/do_mounts_initrd.o/tmp/ccg2MH8t.s: Assembler messages:/tmp/ccg2MH8t.s:275: Error: selected processor does not support `dmb ish' in ARM mode/tmp/ccg2MH8t.s:278: Error: architectural extension `mp' is not allowed for the current base architecture/tmp/ccg2MH8t.s:279: Error: selected processor does not support `pldw [r3]' in ARM mode/tmp/ccg2MH8t.s:282: Error: selected processor does not support `pld [r3]' in ARM mode/tmp/ccg2MH8t.s:288: Error: selected processor does not support `ldrex r2,[r3]' in ARM mode/tmp/ccg2MH8t.s:290: Error: selected processor does not support `strex r1,r2,[r3]' in ARM mode/tmp/ccg2MH8t.s:295: Error: selected processor does not support `dmb ish' in ARM modescripts/Makefile.build:265: recipe for target 'init/do_mounts.o' failedmake[1]: *** [init/do_mounts.o] Error 1make[1]: *** Waiting for unfinished jobs..../tmp/ccFNavBu.s: Assembler messages:/tmp/ccFNavBu.s:1990: Error: selected processor does not support `cpsid i' in ARM mode/tmp/ccFNavBu.s:2123: Error: selected processor does not support `cpsid i' in ARM mode/tmp/ccFNavBu.s:2204: Error: selected processor does not support `cpsie i' in ARM mode/tmp/ccFNavBu.s:2426: Error: selected processor does not support `cpsie i' in ARM modescripts/Makefile.build:265: recipe for target 'init/main.o' failed

Here is my toolchain:

arm-cortex_a8-linux-gnueabihf-gcc -vUsing built-in specs.COLLECT_GCC=arm-cortex_a8-linux-gnueabihf-gccCOLLECT_LTO_WRAPPER=/home/john/x-tools/arm-cortex_a8-linux-gnueabihf/libexec/gcc/arm-cortex_a8-linux-gnueabihf/9.2.0/lto-wrapperTarget: arm-cortex_a8-linux-gnueabihfConfigured with: /home/john/Documents/crosstool-ng/.build/arm-cortex_a8-linux-gnueabihf/src/gcc/configure --build=x86_64-build_pc-linux-gnu --host=x86_64-build_pc-linux-gnu --target=arm-cortex_a8-linux-gnueabihf --prefix=/home/john/x-tools/arm-cortex_a8-linux-gnueabihf --with-sysroot=/home/john/x-tools/arm-cortex_a8-linux-gnueabihf/arm-cortex_a8-linux-gnueabihf/sysroot --enable-languages=c,c++ --with-cpu=cortex-a8 --with-float=hard --with-pkgversion='crosstool-NG 1.24.0.105_5659366' --enable-__cxa_atexit --disable-libmudflap --disable-libgomp --disable-libssp --disable-libquadmath --disable-libquadmath-support --disable-libsanitizer --disable-libmpx --with-gmp=/home/john/Documents/crosstool-ng/.build/arm-cortex_a8-linux-gnueabihf/buildtools --with-mpfr=/home/john/Documents/crosstool-ng/.build/arm-cortex_a8-linux-gnueabihf/buildtools --with-mpc=/home/john/Documents/crosstool-ng/.build/arm-cortex_a8-linux-gnueabihf/buildtools --with-isl=/home/john/Documents/crosstool-ng/.build/arm-cortex_a8-linux-gnueabihf/buildtools --enable-lto --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --enable-threads=posix --enable-target-optspace --enable-plugin --enable-gold --disable-nls --disable-multilib --with-local-prefix=/home/john/x-tools/arm-cortex_a8-linux-gnueabihf/arm-cortex_a8-linux-gnueabihf/sysroot --enable-long-longThread model: posixgcc version 9.2.0 (crosstool-NG 1.24.0.105_5659366) 

Viewing all articles
Browse latest Browse all 22237

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>