iplink_macvlan.c: depfile has multiple output paths
Soukyuu opened this issue · 0 comments
Soukyuu commented
Trying to compile this on archlinux, I installed all pre-requisites listed on the arch wiki as well as gcc-arm-linux-gnueabihf from AUR.
I got as far as compiling android source following the instructions given on readme.md. After reaching 45% compilation fails with
[ 45% 8223/17989] target thumb C: ip <= external/iproute2/ip/iplink_macvlan.c
FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang -I external/iproute2/ip/../include -I external/iproute2/ip -I out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates -I out/target/product/rpi3/gen/EXECUTABLES/ip_intermediates -I libnativehelper/include/nativehelper \$(cat out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem hardware/ril/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem out/target/product/rpi3/obj/include -isystem bionic/libc/arch-arm/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/common -isystem bionic/libc/kernel/uapi/asm-arm -isystem bionic/libm/include -isystem bionic/libm/include/arm -c -fno-exceptions -Wno-multichar -msoft-float -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,--noexecstack -Werror=format-security -D_FORTIFY_SOURCE=2 -fno-short-enums -no-canonical-prefixes -mcpu=cortex-a7 -D__ARM_FEATURE_LPAE=1 -mfloat-abi=softfp -mfpu=neon -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=date-time -DNDEBUG -g -Wstrict-aliasing=2 -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -Werror=int-conversion -Wno-reserved-id-macro -Wno-format-pedantic -Wno-unused-command-line-argument -fcolor-diagnostics -nostdlibinc -target arm-linux-androideabi -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9/arm-linux-androideabi/bin -std=gnu99 -mthumb -Os -fomit-frame-pointer -fno-strict-aliasing -O2 -g -W -Wall -Wno-implicit-function-declaration -Wno-missing-field-initializers -Wno-pointer-arith -Wno-sign-compare -Wno-unused-parameter -Werror -D_GNU_SOURCE -DHAVE_SETNS -fpie -D_USING_LIBCXX -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/iplink_macvlan.d -o out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/iplink_macvlan.o external/iproute2/ip/iplink_macvlan.c ) && (cp out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/iplink_macvlan.d out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/iplink_macvlan.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/iplink_macvlan.d >> out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/iplink_macvlan.P; rm -f out/target/product/rpi3/obj/EXECUTABLES/ip_intermediates/iplink_macvlan.d )"
depfile has multiple output paths
ninja: build stopped: subcommand failed.
make: *** [build/core/ninja.mk:149: ninja_wrapper] Error 1
#### make failed to build some targets (02:28:32 (hh:mm:ss)) ####
Not sure how to proceed.