Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cross compile error #3

Open
dony71 opened this issue Jun 16, 2020 · 0 comments
Open

cross compile error #3

dony71 opened this issue Jun 16, 2020 · 0 comments

Comments

@dony71
Copy link

dony71 commented Jun 16, 2020

I follow your instruction at https://andrei.gherzan.ro/linux/raspbian-rpi-64/
Compilation stop with error below
Any idea?

pi@raspberrypi:/usr/src/linux $ sudo make -j4 O=./kernel-build/ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu-
make[1]: Entering directory '/usr/src/linux-raspberrypi-kernel_1.20200601-1/kernel-build'
arch/arm64/Makefile:40: LSE atomics not supported by binutils
GEN ./Makefile
scripts/kconfig/conf --syncconfig Kconfig
arch/arm64/Makefile:40: LSE atomics not supported by binutils
GEN ./Makefile
Using .. as source for kernel
HOSTCC scripts/dtc/dtc.o
HOSTCC scripts/genksyms/genksyms.o
CC scripts/mod/empty.o
/tmp/ccpyShRe.s: Assembler messages:
/tmp/ccpyShRe.s:5: Error: junk at end of line, first unrecognized character is `,'
make[3]: *** [../scripts/Makefile.build:304: scripts/mod/empty.o] Error 1
make[2]: *** [../scripts/Makefile.build:544: scripts/mod] Error 2
make[2]: *** Waiting for unfinished jobs....
HOSTCC scripts/dtc/flattree.o
HOSTCC scripts/dtc/fstree.o
YACC scripts/genksyms/parse.tab.c
HOSTCC scripts/dtc/data.o
LEX scripts/genksyms/lex.lex.c
YACC scripts/genksyms/parse.tab.h
HOSTCC scripts/dtc/livetree.o
HOSTCC scripts/dtc/treesource.o
HOSTCC scripts/genksyms/parse.tab.o
HOSTCC scripts/dtc/srcpos.o
HOSTCC scripts/genksyms/lex.lex.o
HOSTCC scripts/dtc/checks.o
HOSTCC scripts/dtc/util.o
LEX scripts/dtc/dtc-lexer.lex.c
YACC scripts/dtc/dtc-parser.tab.h
YACC scripts/dtc/dtc-parser.tab.c
HOSTCC scripts/dtc/dtc-lexer.lex.o
HOSTLD scripts/genksyms/genksyms
HOSTCC scripts/dtc/dtc-parser.tab.o
HOSTLD scripts/dtc/dtc
make[1]: *** [/usr/src/linux-raspberrypi-kernel_1.20200601-1/Makefile:1068: scripts] Error 2
make[1]: *** Waiting for unfinished jobs....
CC kernel/bounds.s
UPD include/generated/timeconst.h
UPD include/generated/bounds.h
CC arch/arm64/kernel/asm-offsets.s
UPD include/generated/asm-offsets.h
CALL ../scripts/checksyscalls.sh
make[1]: Leaving directory '/usr/src/linux-raspberrypi-kernel_1.20200601-1/kernel-build'
make: *** [Makefile:146: sub-make] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant