[Android Software Development] laperry1:
hi all, looking for a bit of help w/the error message below:

LineageOS 14.1 on linux mint 18-sarah

tc: uber 6.x

FAILED: /bin/bash -c "prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -nostdlib -Wl,-soname,libc.so -Wl,--gc-sections -shared -L/home/samadhi/los14/out/target/product/oneplus3/obj_arm/lib /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtbrand.o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtend_so.o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/bionic/malloc_common.o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/bionic/libc_init_dynamic.o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/bionic/NetdClient.o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/arch-common/bionic/crtbegin_so.o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/arch-arm/bionic/exidx_dynamic.o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/arch-arm/bionic/atexit_legacy.o -Wl,--whole-archive /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libc_common_intermediates/libc_common.a /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libjemalloc_intermediates/libjemalloc.a -Wl,--no-whole-archive /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libcompiler_rt-extras_intermediates/libcompiler_rt-extras.a prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.x/bin/../lib/gcc/arm-linux-androideabi/6.4.1/armv7-a/libatomic.a prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.x/bin/../lib/gcc/arm-linux-androideabi/6.4.1/armv7-a/libgcc.a -ldl -o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/SHARED_LIBRARIES/libc_intermediates/LINKED/libc.so -Wl,-z,noexecstack -Wl,-z,relro -Wl,-z,now -Wl,--build-id=md5 -Wl,--warn-shared-textrel -Wl,--fatal-warnings -Wl,--icf=safe -Wl,--hash-style=gnu -Wl,--no-undefined-version -Wl,--fix-cortex-a8 -Wl,--sort-common -target arm-linux-androideabi -Bprebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.x/arm-linux-androideabi/bin -Wl,--hash-style=both -Wl,--version-script,bionic/libc/libc.arm.map -Wl,--no-undefined"

prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.x/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC_PRIVATE to symbol __divdi3 failed: symbol not defined

prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.x/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC_PRIVATE to symbol __gnu_ldivmod_helper failed: symbol not defined

prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.x/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC_PRIVATE to symbol __gnu_uldivmod_helper failed: symbol not defined

prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-6.x/arm-linux-androideabi/bin/ld: error: version script assignment of LIBC_PRIVATE to symbol __udivdi3 failed: symbol not defined

clang++: error: linker command failed with exit code 1 (use -v to see invocation)

[ 22% 11187/50541] host C: libsqlite <= external/sqlite/dist/sqlite3.c

ninja: build stopped: subcommand failed.

build/core/ninja.mk:151: recipe for target 'ninja_wrapper' failed

make: *** [ninja_wrapper] Error 1

make: Leaving directory '/home/samadhi/los14'

#### make failed to build some targets (39:32 (mm:ss)) ####

---------- Post added at 01:29 ---------- Previous post was at 01:09 ----------

so, i found this commit:

https://github.com/UBERROMS/bionic/commit/04d7c274ab6d885a493ecacbf7d0a3568beb1c31

and got the following error:

FAILED: /bin/bash -c "(PWD=/proc/self/cwd prebuilts/clang/host/linux-x86/clang-2690385/bin/clang++ -I device/oneplus/oneplus3/include -I external/google-benchmark/include -I external/google-benchmark -I /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates -I /home/samadhi/los14/out/target/product/oneplus3/gen/STATIC_LIBRARIES/libgoogle-benchmark_intermediates -I libnativehelper/include/nativehelper \$(cat /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/import_includes) -isystem system/core/include -isystem system/media/audio/include -isystem hardware/libhardware/include -isystem hardware/libhardware_legacy/include -isystem libnativehelper/include -isystem frameworks/native/include -isystem frameworks/native/opengl/include -isystem frameworks/av/include -isystem frameworks/base/include -isystem hardware/ril-caf/include -isystem /home/samadhi/los14/out/target/product/oneplus3/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 -march=armv7-a -mfpu=neon -mfloat-abi=softfp -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -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 -O3 -Qunused-arguments -Wno-unknown-warning-option -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-6.x/arm-linux-androideabi/bin -fvisibility-inlines-hidden -DQCOM_HARDWARE -DQCOM_BSP -DQTI_BSP -Wsign-promo -O3 -Qunused-arguments -Wno-unknown-warning-option -D__compiler_offsetof=__builtin_offsetof -Wno-inconsistent-missing-override -nostdlibinc -target arm-linux-androideabi -mthumb -Os -fomit-frame-pointer -fno-rtti -no-integrated-as -DBENCHMARK_ANDROID -DHAVE_POSIX_REGEX -fPIC -D_USING_LIBCXX -std=gnu++14 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=address-of-temporary -Werror=null-dereference -Werror=return-type -MD -MF /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/src/colorprint.d -o /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/src/colorprint.o external/google-benchmark/src/colorprint.cc ) && (cp /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/src/colorprint.d /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/src/colorprint.P; sed -e 's/#.*//' -e 's/^[^:]*: *//' -e 's/ *\\\\\$//' -e '/^\$/ d' -e 's/\$/ :/' < /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/src/colorprint.d >> /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/src/colorprint.P; rm -f /home/samadhi/los14/out/target/product/oneplus3/obj_arm/STATIC_LIBRARIES/libgoogle-benchmark_intermediates/src/colorprint.d )"

/tmp/colorprint-127dbf.s: Assembler messages:

/tmp/colorprint-127dbf.s:4696: Error: inconsistent uses of .cfi_sections

clang++: error: assembler command failed with exit code 1 (use -v to see invocation)