From: Lewis Zhou <lewisou@gmail.com>
To: Juergen Borleis <jbe@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: selected processor does not support `rev r7,r7'
Date: Fri, 22 Mar 2019 09:02:54 +0800 [thread overview]
Message-ID: <CAD_PvuYsX9jMjjS8tmbOO52397dMw-xegh54aUm2hU2wTUGJqw@mail.gmail.com> (raw)
In-Reply-To: <201903211025.18488.jbe@pengutronix.de>
[-- Attachment #1: Type: text/plain, Size: 590 bytes --]
Hi Juergen and Sascha,
Attached is the whole log.
Kind regards,
Lewis
On Thu, Mar 21, 2019 at 5:25 PM Juergen Borleis <jbe@pengutronix.de> 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/ |
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: barebox_cortex8_error.log --]
[-- Type: text/x-log; charset="GB18030"; name="barebox_cortex8_error.log", Size: 14474 bytes --]
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:->#\(.*\):/* \x01 */:; s:^->\([^ ]*\) [\$#]*\([-0-9]*\) \(.*\):#define \x01 \x02 /* \x03 */:; s:^->\([^ ]*\) [\$#]*\([^ ]*\) \(.*\):#define \x01 \x02 /* \x03 */:; 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$
[-- Attachment #3: Type: text/plain, Size: 149 bytes --]
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2019-03-22 1:03 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-03-20 4:57 Lewis Zhou
2019-03-20 7:52 ` Sascha Hauer
2019-03-21 1:03 ` Lewis Zhou
2019-03-21 7:33 ` Sascha Hauer
2019-03-21 7:53 ` Lewis Zhou
2019-03-21 8:06 ` Sascha Hauer
[not found] ` <CAD_PvuY8oVy3Ny65bcF2a3LPC0R4+8uXCu6qda6CcbY+Ji+3JQ@mail.gmail.com>
[not found] ` <CAPWKHJSLmc1+-rV0rZeGn37uhkWwKsqmWXZSGJAs32zLE=Hxtg@mail.gmail.com>
2019-03-21 8:49 ` Lewis Zhou
2019-03-21 9:25 ` Juergen Borleis
2019-03-22 1:02 ` Lewis Zhou [this message]
2019-03-22 8:07 ` STM32MP1 SoC support in latest Barebox gianluca
2019-03-22 9:31 ` gianluca
2019-12-25 8:32 ` Ahmad Fatoum
2019-03-22 9:46 ` Yann Sionneau
2019-03-22 11:24 ` Robert Schwebel
2019-03-22 1:22 ` selected processor does not support `rev r7,r7' Lewis Zhou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAD_PvuYsX9jMjjS8tmbOO52397dMw-xegh54aUm2hU2wTUGJqw@mail.gmail.com \
--to=lewisou@gmail.com \
--cc=barebox@lists.infradead.org \
--cc=jbe@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox