Re: selected processor does not support `rev r7,r7'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Juergen and Sascha,

Attached is the whole log.

Kind regards,
Lewis

On Thu, Mar 21, 2019 at 5:25 PM Juergen Borleis <jbe@xxxxxxxxxxxxxx> wrote:
>
> Hi,
>
> On Thursday 21 March 2019 08:53:06 Lewis Zhou wrote:
> > [...]
> > {standard input}: Assembler messages:
> > {standard input}:123: Error: selected processor does not support `rev r7,r7' in Thumb mode
>
> This is an assembler and not a compiler error message.
>
> jb
> --
> Pengutronix e.K.                             | Juergen Borleis             |
> Industrial Linux Solutions                   | http://www.pengutronix.de/  |
lewis@lewis-ubuntu:~/OpenProj/barebox$ make ARCH=arm CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf- am335x_defconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
lewis@lewis-ubuntu:~/OpenProj/barebox$ make ARCH=arm V=1 CROSS_COMPILE=arm-cortex_a8-linux-gnueabihf-
make -f /home/lewis/OpenProj/barebox/Makefile silentoldconfig
make -f scripts/Makefile.build obj=scripts/basic
mkdir -p include/linux include/config
make -f scripts/Makefile.build obj=scripts/kconfig silentoldconfig
mkdir -p include/config include/generated
scripts/kconfig/conf --silentoldconfig Kconfig
make -f scripts/Makefile.build obj=arch/arm/tools include/generated/mach-types.h
make[1]: 'include/generated/mach-types.h' is up to date.
rm -f include/config/kernel.release
echo 2018.12.0-00001-g5f1642fc4 > include/config/kernel.release
set -e; : '  CHK     include/generated/version.h'; mkdir -p include/generated/; 	(echo \#define LINUX_VERSION_CODE 132254720; echo '#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))';) < /home/lewis/OpenProj/barebox/Makefile > include/generated/version.h.tmp; if [ -r include/generated/version.h ] && cmp -s include/generated/version.h include/generated/version.h.tmp; then rm -f include/generated/version.h.tmp; else : '  UPD     include/generated/version.h'; mv -f include/generated/version.h.tmp include/generated/version.h; fi
set -e; : '  CHK     include/generated/utsrelease.h'; mkdir -p include/generated/; 	if [ `echo -n "2018.12.0-00001-g5f1642fc4" | wc -c ` -gt 64 ]; then echo '"2018.12.0-00001-g5f1642fc4" exceeds 64 characters' >&2; exit 1; fi; (echo \#define UTS_RELEASE \"2018.12.0-00001-g5f1642fc4\";) < include/config/kernel.release > include/generated/utsrelease.h.tmp; if [ -r include/generated/utsrelease.h ] && cmp -s include/generated/utsrelease.h include/generated/utsrelease.h.tmp; then rm -f include/generated/utsrelease.h.tmp; else : '  UPD     include/generated/utsrelease.h'; mv -f include/generated/utsrelease.h.tmp include/generated/utsrelease.h; fi
if [ -f /home/lewis/OpenProj/barebox//config.h ]; then : '  SYMLINK include/config.h -> /config.h'; ln -fsn /home/lewis/OpenProj/barebox//config.h include/config.h; else [ -h include/config.h ] && rm -f include/config.h; : '  CREATE  include/config.h'; touch -a include/config.h; fi
make -f scripts/Makefile.build obj=scripts/basic
make -f scripts/Makefile.build obj=.
mkdir -p arch/arm/lib/
  arm-cortex_a8-linux-gnueabihf-gcc -Wp,-MD,arch/arm/lib/.asm-offsets.s.d  -nostdinc -isystem /home/lewis/x-tools/arm-cortex_a8-linux-gnueabihf/lib/gcc/arm-cortex_a8-linux-gnueabihf/8.3.0/include -D__KERNEL__ -D__BAREBOX__ -Iinclude -I/home/lewis/OpenProj/barebox/dts/include  -I/home/lewis/OpenProj/barebox/arch/arm/include -I/home/lewis/OpenProj/barebox/arch/arm/include -include /home/lewis/OpenProj/barebox/include/linux/kconfig.h -fno-builtin -ffreestanding -D__ARM__ -fno-strict-aliasing -marm -mlittle-endian -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a  -msoft-float -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -Iarch/arm/mach-omap/include -DTEXT_BASE=0x0 -fdata-sections -ffunction-sections -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -mno-unaligned-access -g  -fno-stack-protector -Wno-unused-but-set-variable -Wno-trampolines  -fno-delete-null-pointer-checks -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(asm_offsets)"  -D"KBUILD_MODNAME=KBUILD_STR(asm_offsets)" -fverbose-asm -S -o arch/arm/lib/asm-offsets.s arch/arm/lib/asm-offsets.c
  	(set -e; echo "#ifndef __ASM_OFFSETS_H__"; echo "#define __ASM_OFFSETS_H__"; echo "/*"; echo " * DO NOT MODIFY."; echo " *"; echo " * This file was generated by Kbuild"; echo " *"; echo " */"; echo ""; sed -ne 	"/^->/{s:->#\(.*\):/*  */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define   /*  */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define   /*  */:; s:->::; p;}" arch/arm/lib/asm-offsets.s; echo ""; echo "#endif" ) > include/generated/asm-offsets.h
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=scripts/dtc
  gcc -Wp,-MD,scripts/dtc/.dtc.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/dtc.o scripts/dtc/dtc.c
  gcc -Wp,-MD,scripts/dtc/.flattree.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/flattree.o scripts/dtc/flattree.c
  gcc -Wp,-MD,scripts/dtc/.fstree.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fstree.o scripts/dtc/fstree.c
  gcc -Wp,-MD,scripts/dtc/.data.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/data.o scripts/dtc/data.c
  gcc -Wp,-MD,scripts/dtc/.livetree.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/livetree.o scripts/dtc/livetree.c
  gcc -Wp,-MD,scripts/dtc/.treesource.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/treesource.o scripts/dtc/treesource.c
  gcc -Wp,-MD,scripts/dtc/.srcpos.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/srcpos.o scripts/dtc/srcpos.c
  gcc -Wp,-MD,scripts/dtc/.checks.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/checks.o scripts/dtc/checks.c
  gcc -Wp,-MD,scripts/dtc/.util.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/util.o scripts/dtc/util.c
  gcc -Wp,-MD,scripts/dtc/.dtc-lexer.lex.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/dtc-lexer.lex.o scripts/dtc/dtc-lexer.lex.c
  gcc -Wp,-MD,scripts/dtc/.dtc-parser.tab.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/dtc-parser.tab.o scripts/dtc/dtc-parser.tab.c
  gcc  -o scripts/dtc/dtc scripts/dtc/dtc.o scripts/dtc/flattree.o scripts/dtc/fstree.o scripts/dtc/data.o scripts/dtc/livetree.o scripts/dtc/treesource.o scripts/dtc/srcpos.o scripts/dtc/checks.o scripts/dtc/util.o scripts/dtc/dtc-lexer.lex.o scripts/dtc/dtc-parser.tab.o  
  gcc -Wp,-MD,scripts/dtc/.fdtget.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdtget.o scripts/dtc/fdtget.c
  gcc -Wp,-MD,scripts/dtc/.fdt.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt.o scripts/dtc/fdt.c
  gcc -Wp,-MD,scripts/dtc/.fdt_ro.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt_ro.o scripts/dtc/fdt_ro.c
  gcc -Wp,-MD,scripts/dtc/.fdt_strerror.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt_strerror.o scripts/dtc/fdt_strerror.c
  gcc -Wp,-MD,scripts/dtc/.fdt_wip.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt_wip.o scripts/dtc/fdt_wip.c
  gcc -Wp,-MD,scripts/dtc/.fdt_overlay.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt_overlay.o scripts/dtc/fdt_overlay.c
  gcc -Wp,-MD,scripts/dtc/.fdt_empty_tree.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt_empty_tree.o scripts/dtc/fdt_empty_tree.c
  gcc -Wp,-MD,scripts/dtc/.fdt_rw.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt_rw.o scripts/dtc/fdt_rw.c
  gcc -Wp,-MD,scripts/dtc/.fdt_sw.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/    -Iscripts/dtc -c -o scripts/dtc/fdt_sw.o scripts/dtc/fdt_sw.c
  gcc  -o scripts/dtc/fdtget scripts/dtc/fdtget.o scripts/dtc/fdt.o scripts/dtc/fdt_ro.o scripts/dtc/fdt_strerror.o scripts/dtc/fdt_wip.o scripts/dtc/fdt_overlay.o scripts/dtc/fdt_empty_tree.o scripts/dtc/fdt_rw.o scripts/dtc/fdt_sw.o scripts/dtc/util.o  
make -f scripts/Makefile.build obj=scripts/imx
make -f scripts/Makefile.build obj=scripts/mod
  arm-cortex_a8-linux-gnueabihf-gcc -Wp,-MD,scripts/mod/.empty.o.d  -nostdinc -isystem /home/lewis/x-tools/arm-cortex_a8-linux-gnueabihf/lib/gcc/arm-cortex_a8-linux-gnueabihf/8.3.0/include -D__KERNEL__ -D__BAREBOX__ -Iinclude -I/home/lewis/OpenProj/barebox/dts/include  -I/home/lewis/OpenProj/barebox/arch/arm/include -I/home/lewis/OpenProj/barebox/arch/arm/include -include /home/lewis/OpenProj/barebox/include/linux/kconfig.h -fno-builtin -ffreestanding -D__ARM__ -fno-strict-aliasing -marm -mlittle-endian -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a  -msoft-float -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -Iarch/arm/mach-omap/include -DTEXT_BASE=0x0 -fdata-sections -ffunction-sections -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -mno-unaligned-access -g  -fno-stack-protector -Wno-unused-but-set-variable -Wno-trampolines  -fno-delete-null-pointer-checks -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(empty)"  -D"KBUILD_MODNAME=KBUILD_STR(empty)" -c -o scripts/mod/empty.o scripts/mod/empty.c
  gcc -Wp,-MD,scripts/mod/.mk_elfconfig.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/mod/mk_elfconfig scripts/mod/mk_elfconfig.c  
  scripts/mod/mk_elfconfig arm < scripts/mod/empty.o > scripts/mod/elfconfig.h
  gcc -Wp,-MD,scripts/mod/.modpost.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/     -c -o scripts/mod/modpost.o scripts/mod/modpost.c
  gcc -Wp,-MD,scripts/mod/.sumversion.o.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/     -c -o scripts/mod/sumversion.o scripts/mod/sumversion.c
  gcc  -o scripts/mod/modpost scripts/mod/modpost.o scripts/mod/sumversion.o  
  gcc -Wp,-MD,scripts/.bin2c.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/bin2c scripts/bin2c.c  
  gcc -Wp,-MD,scripts/.mkimage.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/mkimage scripts/mkimage.c  
  gcc -Wp,-MD,scripts/.fix_size.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/fix_size scripts/fix_size.c  
  gcc -Wp,-MD,scripts/.bareboxenv.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/bareboxenv scripts/bareboxenv.c  
  gcc -Wp,-MD,scripts/.bareboxcrc32.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/bareboxcrc32 scripts/bareboxcrc32.c  
  gcc -Wp,-MD,scripts/.kernel-install.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/kernel-install scripts/kernel-install.c  
  gcc -Wp,-MD,scripts/.kallsyms.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/kallsyms scripts/kallsyms.c  
  gcc -Wp,-MD,scripts/.omap_signGP.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/omap_signGP scripts/omap_signGP.c  
  gcc -Wp,-MD,scripts/.mk-omap-image.d -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer  -I/home/lewis/OpenProj/barebox/scripts/include/      -o scripts/mk-omap-image scripts/mk-omap-image.c  
make -f scripts/Makefile.build obj=common
  arm-cortex_a8-linux-gnueabihf-gcc -Wp,-MD,common/.memory.o.d  -nostdinc -isystem /home/lewis/x-tools/arm-cortex_a8-linux-gnueabihf/lib/gcc/arm-cortex_a8-linux-gnueabihf/8.3.0/include -D__KERNEL__ -D__BAREBOX__ -Iinclude -I/home/lewis/OpenProj/barebox/dts/include  -I/home/lewis/OpenProj/barebox/arch/arm/include -I/home/lewis/OpenProj/barebox/arch/arm/include -include /home/lewis/OpenProj/barebox/include/linux/kconfig.h -fno-builtin -ffreestanding -D__ARM__ -fno-strict-aliasing -marm -mlittle-endian -mabi=aapcs-linux -mno-thumb-interwork -funwind-tables -D__LINUX_ARM_ARCH__=7 -march=armv5t -Wa,-march=armv7-a  -msoft-float -mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated -Iarch/arm/mach-omap/include -DTEXT_BASE=0x0 -fdata-sections -ffunction-sections -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -pipe -mno-unaligned-access -g  -fno-stack-protector -Wno-unused-but-set-variable -Wno-trampolines  -fno-delete-null-pointer-checks -Wdeclaration-after-statement -Wno-pointer-sign    -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(memory)"  -D"KBUILD_MODNAME=KBUILD_STR(memory)" -c -o common/memory.o common/memory.c
{standard input}: Assembler messages:
{standard input}:311: Error: selected processor does not support `rev r7,r7' in Thumb mode
{standard input}:363: Error: selected processor does not support `rev r7,r7' in Thumb mode
scripts/Makefile.build:249: recipe for target 'common/memory.o' failed
make[1]: *** [common/memory.o] Error 1
Makefile:785: recipe for target 'common' failed
make: *** [common] Error 2
lewis@lewis-ubuntu:~/OpenProj/barebox$ 
_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox

[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux