Closed atanev closed 1 year ago
FAILED: out/soong/build.ninja
cd "$(dirname "out/soong/.bootstrap/bin/soong_build")" && BUILDER="$PWD/$(basename "out/soong/.bootstrap/bin/soong_build")" && cd / && env -i "$BUILDER" --top "$TOP" --out "out/soong" -n "out" -d "out/soong/build.ninja.d" -t -l out/.module_paths/Android.bp.list -globFile out/soong/.bootstrap/build-globs.ninja -o out/soong/build.ninja --available_env out/soong/soong.environment.available --used_env out/soong/soong.environment.used Android.bp
Killed
06:38:21 soong bootstrap failed with: exit status 1
This usually means that and "out of memory" error has occurred. If you don't have any more RAM chips to add to your computer to increase the physical memory, then you can work around it by increasing the swap.
I followed instructions from this website https://www.howtogeek.com/455981/how-to-create-a-swap-file-on-linux/
thank you for the reply.
it definitely got further into the build once I tried on a machine with 32GB, still has the nsjail
error at the begining but doesn't interrupt the build:
15:50:24 Build sandboxing disabled due to nsjail error.
In file included from build/make/core/config.mk:313:
In file included from build/make/core/envsetup.mk:312:
build/make/core/product_config.mk:160: error: Can not locate config makefile for product "lineage_renoir".
15:50:25 dumpvars failed with: exit status 1
repo sync has finished successfully.
repo sync has finished successfully.
Updating files: 27% (20190/74545)
repo sync has finished successfully.
Device renoir not found. Attempting to retrieve device repository from LineageOS Github (http://github.com/LineageOS).
Found repository: android_device_xiaomi_renoir
Default revision: lineage-19.1
Checking branch info
Checking if device/xiaomi/renoir is fetched from android_device_xiaomi_renoir
Adding dependency: LineageOS/android_device_xiaomi_renoir -> device/xiaomi/renoir
Using default branch for android_device_xiaomi_renoir
Syncing repository to retrieve project.
Repository synced!
Looking for dependencies in device/xiaomi/renoir
Adding dependencies to manifest
Checking if device/xiaomi/sm8350-common is fetched from android_device_xiaomi_sm8350-common
Adding dependency: LineageOS/android_device_xiaomi_sm8350-common -> device/xiaomi/sm8350-common
Using default branch for android_device_xiaomi_sm8350-common
Syncing dependencies
Looking for dependencies in device/xiaomi/sm8350-common
Adding dependencies to manifest
Checking if kernel/xiaomi/sm8350 is fetched from android_kernel_xiaomi_sm8350
Adding dependency: LineageOS/android_kernel_xiaomi_sm8350 -> kernel/xiaomi/sm8350
Using default branch for android_kernel_xiaomi_sm8350
Checking if hardware/xiaomi is fetched from android_hardware_xiaomi
Adding dependency: LineageOS/android_hardware_xiaomi -> hardware/xiaomi
Using default branch for android_hardware_xiaomi
Checking if vendor/qcom/opensource/healthd-ext is fetched from android_vendor_qcom_opensource_healthd-ext
Adding dependency: LineageOS/android_vendor_qcom_opensource_healthd-ext -> vendor/qcom/opensource/healthd-ext
Using default branch for android_vendor_qcom_opensource_healthd-ext
Syncing dependencies
Looking for dependencies in kernel/xiaomi/sm8350
kernel/xiaomi/sm8350 has no additional dependencies.
Looking for dependencies in hardware/xiaomi
hardware/xiaomi has no additional dependencies.
Looking for dependencies in vendor/qcom/opensource/healthd-ext
vendor/qcom/opensource/healthd-ext has no additional dependencies.
Done
15:56:33 Build sandboxing disabled due to nsjail error.
15:56:36 Build sandboxing disabled due to nsjail error.
============================================
an hour later into the build it failed at 49%
[ 49% 69046/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LICM.cpp
[ 49% 69047/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopInstSimplify.cpp
[ 49% 69048/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ JumpThreading.cpp
FAILED: out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/JumpThreading.o
PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wunreachable-code-loop-increment -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fdebug-info-for-profiling -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -Werror=string-plus-int -Werror=unreachable-code-loop-increment -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -fcommon -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-gnu-folding-constant -Wunguarded-availability -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -Wno-psabi -march=armv8.2-a -target aarch64-linux-android10000 -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fPIC -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden -Iexternal/llvm/lib/Transforms/Scalar -D__LIBC_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iexternal/llvm/include -Iexternal/llvm/device/include -Iout/soong/.intermediates/external/llvm/llvm-gen-attributes/gen -Iout/soong/.intermediates/external/llvm/llvm-gen-intrinsics/gen -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Ibionic/libc/async_safe/include -Isystem/logging/liblog/include -Ibionic/libc/system_properties/include -Isystem/core/property_service/libpropertyinfoparser/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -fomit-frame-pointer -Wall -W -Wno-cast-qual -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wwrite-strings -Werror -Dsprintf=sprintf -W -Wall -Wno-unused-lambda-capture -Wno-unused-parameter -std=gnu++17 -Wno-sign-promo -std=c++11 -Woverloaded-virtual -fno-rtti -Isystem/core/include -Isystem/logging/liblog/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -MD -MF out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/JumpThreading.o.d -o out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/JumpThreading.o external/llvm/lib/Transforms/Scalar/JumpThreading.cpp
PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real -Werror=implicit-function-declaration -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wunreachable-code-loop-increment -no-canonical-prefixes -fno-exceptions -Wno-multichar -O2 -g -fdebug-info-for-profiling -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -Werror=string-plus-int -Werror=unreachable-code-loop-increment -fdebug-prefix-map=/proc/self/cwd= -faddrsig -fcommon -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-gnu-folding-constant -Wunguarded-availability -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -Wno-psabi -march=armv8.2-a -target aarch64-linux-android10000 -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fPIC -Wsign-promo -Wimplicit-fallthrough -Wno-gnu-include-next -fvisibility-inlines-hidden -fomit-frame-pointer -Wall -W -Wno-cast-qual -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wwrite-strings -W -Wall -Wno-unused-lambda-capture -Wno-unused-parameter -std=gnu++17 -Wno-sign-promo -std=c++11 -Woverloaded-virtual -fno-rtti -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -fcolor-diagnostics -Wa,--noexecstack -Werror -DANDROID -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -D_FORTIFY_SOURCE=2 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Iexternal/llvm/lib/Transforms/Scalar -D__LIBC_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iexternal/llvm/include -Iexternal/llvm/device/include -Iout/soong/.intermediates/external/llvm/llvm-gen-attributes/gen -Iout/soong/.intermediates/external/llvm/llvm-gen-intrinsics/gen -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Ibionic/libc/async_safe/include -Isystem/logging/liblog/include -Ibionic/libc/system_properties/include -Isystem/core/property_service/libpropertyinfoparser/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Dsprintf=sprintf -Isystem/core/include -Isystem/logging/liblog/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -c -MD -MF out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/JumpThreading.o.d -fcolor-diagnostics -o out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/JumpThreading.o external/llvm/lib/Transforms/Scalar/JumpThreading.cpp
1. <eof> parser at end of file
[ 49% 69049/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ IndVarSimplify.cpp
[ 49% 69050/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopDistribute.cpp
[ 49% 69051/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ GVN.cpp
[ 49% 69052/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopSimplifyCFG.cpp
[ 49% 69053/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopInterchange.cpp
[ 49% 69054/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopIdiomRecognize.cpp
[ 49% 69055/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopLoadElimination.cpp
[ 49% 69056/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopRotation.cpp
[ 49% 69057/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopUnrollPass.cpp
[ 49% 69058/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopVersioningLICM.cpp
[ 49% 69059/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopRerollPass.cpp
[ 49% 69060/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopUnswitch.cpp
[ 49% 69061/140347] //external/llvm/lib/Transforms/Scalar:libLLVMScalarOpts clang++ LoopStrengthReduce.cpp
FAILED: out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/LoopStrengthReduce.o
PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++ -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wunreachable-code-loop-increment -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-multichar -O2 -g -fdebug-info-for-profiling -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -Werror=string-plus-int -Werror=unreachable-code-loop-increment -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -fcommon -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-gnu-folding-constant -Wunguarded-availability -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -Wno-psabi -march=armv8.2-a -target aarch64-linux-android10000 -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fPIC -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden -Iexternal/llvm/lib/Transforms/Scalar -D__LIBC_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iexternal/llvm/include -Iexternal/llvm/device/include -Iout/soong/.intermediates/external/llvm/llvm-gen-attributes/gen -Iout/soong/.intermediates/external/llvm/llvm-gen-intrinsics/gen -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Ibionic/libc/async_safe/include -Isystem/logging/liblog/include -Ibionic/libc/system_properties/include -Isystem/core/property_service/libpropertyinfoparser/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -fomit-frame-pointer -Wall -W -Wno-cast-qual -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wwrite-strings -Werror -Dsprintf=sprintf -W -Wall -Wno-unused-lambda-capture -Wno-unused-parameter -std=gnu++17 -Wno-sign-promo -std=c++11 -Woverloaded-virtual -fno-rtti -Isystem/core/include -Isystem/logging/liblog/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -MD -MF out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/LoopStrengthReduce.o.d -o out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/LoopStrengthReduce.o external/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0. Program arguments: prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real -Werror=implicit-function-declaration -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -Wunreachable-code-loop-increment -no-canonical-prefixes -fno-exceptions -Wno-multichar -O2 -g -fdebug-info-for-profiling -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -Werror=string-plus-int -Werror=unreachable-code-loop-increment -fdebug-prefix-map=/proc/self/cwd= -faddrsig -fcommon -Werror=int-conversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-gnu-folding-constant -Wunguarded-availability -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -Wno-enum-compare -Wno-enum-compare-switch -Wno-null-pointer-arithmetic -Wno-null-dereference -Wno-pointer-compare -Wno-xor-used-as-pow -Wno-final-dtor-non-final-class -Wno-psabi -march=armv8.2-a -target aarch64-linux-android10000 -Bprebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -fPIC -Wsign-promo -Wimplicit-fallthrough -Wno-gnu-include-next -fvisibility-inlines-hidden -fomit-frame-pointer -Wall -W -Wno-cast-qual -Wno-sign-compare -Wno-unused-parameter -Wno-missing-field-initializers -Wno-implicit-fallthrough -Wwrite-strings -W -Wall -Wno-unused-lambda-capture -Wno-unused-parameter -std=gnu++17 -Wno-sign-promo -std=c++11 -Woverloaded-virtual -fno-rtti -Werror=bool-operation -Werror=implicit-int-float-conversion -Werror=int-in-bool-context -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=string-compare -Werror=xor-used-as-pow -Wno-void-pointer-to-enum-cast -Wno-void-pointer-to-int-cast -Wno-pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-type -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compare -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare -Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -Wno-non-c-typedef-for-linkage -Wno-string-concatenation -fcolor-diagnostics -Wa,--noexecstack -Werror -DANDROID -DNDEBUG -UDEBUG -D__compiler_offsetof=__builtin_offsetof -D__ANDROID_UNAVAILABLE_SYMBOLS_ARE_WEAK__ -D_FORTIFY_SOURCE=2 -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Iexternal/llvm/lib/Transforms/Scalar -D__LIBC_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iexternal/llvm/include -Iexternal/llvm/device/include -Iout/soong/.intermediates/external/llvm/llvm-gen-attributes/gen -Iout/soong/.intermediates/external/llvm/llvm-gen-intrinsics/gen -Iexternal/libcxx/include -Iexternal/libcxxabi/include -Ibionic/libc/async_safe/include -Isystem/logging/liblog/include -Ibionic/libc/system_properties/include -Isystem/core/property_service/libpropertyinfoparser/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/android/scsi -isystem bionic/libc/kernel/android/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -Dsprintf=sprintf -Isystem/core/include -Isystem/logging/liblog/include -Isystem/media/audio/include -Ihardware/libhardware/include -Ihardware/libhardware_legacy/include -Ihardware/ril/include -Iframeworks/native/include -Iframeworks/native/opengl/include -Iframeworks/av/include -c -MD -MF out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/LoopStrengthReduce.o.d -fcolor-diagnostics -o out/soong/.intermediates/external/llvm/lib/Transforms/Scalar/libLLVMScalarOpts/android_arm64_armv8-2a_static/obj/external/llvm/lib/Transforms/Scalar/LoopStrengthReduce.o external/llvm/lib/Transforms/Scalar/LoopStrengthReduce.cpp
1. <eof> parser at end of file
#0 0x0000000003fba0e8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x3fba0e8)
#1 0x0000000003fb9f70 llvm::sys::RunSignalHandlers() (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x3fb9f70)
#2 0x0000000003f86c53 (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x3f86c53)
#3 0x0000000003f86c0b (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x3f86c0b)
#4 0x00000000038a7d57 llvm::sys::Process::Exit(int, bool) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x38a7d57)
#5 0x00000000038a7d00 (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x38a7d00)
#6 0x0000000002489052 llvm::report_fatal_error(llvm::Twine const&, bool) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x2489052)
#7 0x00000000032d7948 (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x32d7948)
#8 0x00000000033dab26 (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x33dab26)
#9 0x000000000534e3e9 llvm::raw_fd_ostream::~raw_fd_ostream() (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x534e3e9)
#10 0x000000000340cc09 clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::DataLayout const&, llvm::Module*, clang::BackendAction, std::__1::unique_ptr<llvm::raw_pwrite_stream, std::__1::default_delete<llvm::raw_pwrite_stream> >) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x340cc09)
#11 0x000000000340c170 (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x340c170)
#12 0x00000000030c734f clang::ParseAST(clang::Sema&, bool, bool) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x30c734f)
#13 0x00000000032420fd clang::FrontendAction::Execute() (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x32420fd)
#14 0x0000000003241ac8 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x3241ac8)
#15 0x000000000323f06f clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x323f06f)
#16 0x000000000323d669 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x323d669)
#17 0x00000000038a5de7 (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x38a5de7)
#18 0x0000000005364b82 clang::driver::CC1Command::setEnvironment(llvm::ArrayRef<char const*>) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x5364b82)
#19 0x00000000034faf85 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x34faf85)
#20 0x00000000034fad45 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, bool*) const (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x34fad45)
#21 0x0000000003310564 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x3310564)
#22 0x0000000002f9a1f1 clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::__1::pair<int, clang::driver::Command const*> >&) (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x2f9a1f1)
#23 0x0000000002f95312 main (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x2f95312)
#24 0x00007f2007395d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#25 0x00007f2007395e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#26 0x0000000005283ca9 _start (prebuilts/clang/host/linux-x86/clang-r416183b1/bin/clang++.real+0x5283ca9)
ninja: build stopped: subcommand failed.
17:17:37 ninja failed with: exit status 1
#### failed to build some targets (01:20:59 (hh:mm:ss)) ####
>> [Sun Jan 29 17:17:37 UTC 2023] Failed build for renoir
>> [Sun Jan 29 17:17:37 UTC 2023] Finishing build for renoir
>> [Sun Jan 29 17:17:37 UTC 2023] Cleaning source dir for device renoir
17:17:42 Entire build directory removed.
#### build completed successfully (5 seconds) ####
There is a reference for PLEASE submit a bug report to https://github.com/android-ndk/ndk/issues and include the crash backtrace, preprocessed source, and associated run script.
but I wonder how trustful could it be?
I managed to build one myself and I have a follow up question. Given I won't have OTA updates with my locally build image and I would have to update with manually, would it be possible if I install an UNOFFICAL microg rom that I built myself and later on I update manually with the official one on-top of it ?
renoir
built successfully again on Feb 13. If you built without any major changes, you should be able to flash the microg image over your own - no guarantees though.
Hello, First of all thank you for the project!
renoir
has been officially supported for about a month now and since the microg build hasn't appeared since I decided to give it a try of building it myself however it fails. Unfortunately log file is not helping me much, if someone has any ideas what is wrong with it and could help me build it myself or what is wrong with the automatic build and any potential ETA of it working I would appreciate it