无法使用SnapDragon SDCLANG编译ROMS

时间:2018-06-20 20:42:10

标签: linux compiler-errors llvm

我在Linux上安装了LLVM编译器

  

/ home / tobe / RR / out / target / product / ks01ltexx / gen / STATIC_LIBRARIES / libtar_intermediates -I libnativehelper / include_deprecated \ $ {cat / home / tobe / RR / out / target / product / ks01ltexx / obj / STATIC_LIBRARIES / libtar_intermediates / import_includes)-I系统/核心/包含-I系统/媒体/音频/包含-I硬件/ libhardware / include -I硬件/ libhardware_legacy / include -I硬件/ ril / include -I libnativehelper / include -I框架/ native / include -I frameworks / native / opengl / include -I frameworks / av / include -isystem / home / tobe / RR / out / target / product / ks01ltexx / obj / include -isystem bionic / libc / arch-arm /包括-isystem仿生/ libc /包括-isystem仿生/ libc /内核/ uapi -isystem仿生/ libc /内核/ uapi / asm-arm -isystem仿生/ libc /内核/ android / scsi -isystem仿生/ libc / libc /内核/ android / uapi -c -fno-exceptions -Wno-multichar -ffunction-sections -fdata-sections -funwind-tables -fstack-protector-strong -Wa,-noexecstack -Werror = format-security -D_FORTIFY_SOURCE = 2 -fno-short枚举-无规范前缀s -DNDEBUG -g -Wstrict-aliasing = 2 -DANDROID -fmessage-length = 0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -DNDEBUG -UDEBUG -fdebug-prefix-map = / proc / self / cwd = -D__compiler_offsetof = __ builtin_offsetof -Werror = int转换-Wno保留ID宏-Wno格式学究的-Wno不用的命令行参数-fcolor-diagnostics -Wno-expansion-to-defined- fdebug-prefix-map = \ $ PWD / = -Werror =返回类型-Werror =非虚拟变量-Werror =地址-Werror =序列点-Werror =日期时间-nostdlibinc -msoft-float -mfloat- abi = softfp -mfpu = neon -mcpu = krait -mfpu = neon-vfpv4 -D__ARM_FEATURE_LPAE = 1 -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 -DHAVE_SELINUX -fPIC -D_USING_LIBCXX -Werror = int-pointer-cast -Werror = pointer-to-int-cast -Werror =临时地址-Werror =返回类型-MD -MF / home / tobe / RR / out / target / product / ks01ltexx / obj / STATIC_LIBRARIES / libtar_inter mediates / lib / append.d -o /home/tobe/RR/out/target/product/ks01ltexx/obj/STATIC_LIBRARIES/libtar_intermediates/lib/append.o external / libtar / lib / append.c“   在来自external / libtar / lib / append.c:17的文件中:   在来自external / libcxx / include / string.h:61的文件中:   仿生/libc/include/string.h:119:8:错误:“ strlcpy”的重新声明不能具有“ overloadable”属性   size_t strlcpy(char * _Nonnull __restrict,const char * _Nonnull __restrict,size_t)          ^   external / libtar / compat / compat.h:221:8:注意:以前未标记的功能重载在这里   size_t strlcpy(char *,const char *,size_t);          ^   产生1个错误。   [1%963/76062]目标thumb C ++:libminui <= bootable / recovery / minui / resources.cpp   ninja:构建已停止:子命令失败。   12:46:41忍者失败,退出状态为1

0 个答案:

没有答案