Pixel 3a kernel compilation failed

120 views
Skip to first unread message

Dragon ryu

unread,
Jul 3, 2019, 11:28:59 AM7/3/19
to Android Building
Seems clang is giving up, that it tries using /bin/as no matter what I've tried.

Exact command I've run is
1) repo init repo init -u
https://android.googlesource.com/kernel/manifest -b
android-msm-bonito-4.9-pie-b4s4
2) repo sync
2.1) virtualenv2 venv
2.2) . venv/bin/activate
3) build/build.sh

log near error below:
==
arch/arm64/kernel/vdso/vdso.lds
VDSOC arch/arm64/kernel/vdso/vgettimeofday.o
VDSOA arch/arm64/kernel/vdso/note.o
VDSOA arch/arm64/kernel/vdso/sigreturn.o
VDSOL arch/arm64/kernel/vdso/vdso.so.dbg
VDSOSYM include/generated/vdso-offsets.h
LDS arch/arm64/kernel/vdso32/vdso.lds
VDSOC32 arch/arm64/kernel/vdso32/vgettimeofday.o
VDSOA32 arch/arm64/kernel/vdso32/sigreturn.o
HOSTCC arch/arm64/kernel/vdso32/../../../arm/vdso/vdsomunge
/..//bin/as: unrecognized option '-EL'
clang-8: error: assembler command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/home/io/android_pixel_kernel/private/msm-google/arch/arm64/kernel/vdso32/Makefile:144: arch/arm64/kernel/vdso32/sigreturn.o] Error 1
make[3]: *** Waiting for unfinished jobs....
/..//bin/as: unrecognized option '-EL'
clang-8: error: assembler command failed with exit code 1 (use -v to see invocation)
make[3]: *** [/home/io/android_pixel_kernel/private/msm-google/arch/arm64/kernel/vdso32/Makefile:142: arch/arm64/kernel/vdso32/vgettimeofday.o] Error 1
make[2]: *** [arch/arm64/Makefile:256: vdso_prepare] Error 2
make[1]: *** [Makefile:152: sub-make] Error 2
make: *** [Makefile:24: __sub-make] Error 2
==

I'm happy to provide full log and such.
Reply all
Reply to author
Forward
0 new messages