[ 95% 122711/128486] //system/apex/apexd:libapexd clang-tidy apexd_prepostinstall.cpp
out/soong/.intermediates/system/apex/proto/lib_apex_manifest_proto/android_arm64_armv8-a_static/gen/proto/system/apex/proto/apex_manifest.pb.h:88:47: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp]
  inline ApexManifest_CompressedApexMetadata& operator=(const ApexManifest_CompressedApexMetadata& from) {
                                              ^
out/soong/.intermediates/system/apex/proto/lib_apex_manifest_proto/android_arm64_armv8-a_static/gen/proto/system/apex/proto/apex_manifest.pb.h:225:24: warning: operator=() does not handle self-assignment properly [bugprone-unhandled-self-assignment,cert-oop54-cpp]
  inline ApexManifest& operator=(const ApexManifest& from) {
                       ^
out/soong/.intermediates/system/apex/proto/lib_apex_session_state_proto/android_arm64_armv8-a_static/gen/proto/system/apex/proto/session_state.pb.h:117:24: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp]
  inline SessionState& operator=(const SessionState& from) {
                       ^
[ 95% 122799/128486] //system/apex/apexd:libapexd clang-tidy apexd.cpp
out/soong/.intermediates/system/apex/proto/lib_apex_manifest_proto/android_arm64_armv8-a_static/gen/proto/system/apex/proto/apex_manifest.pb.h:88:47: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp]
  inline ApexManifest_CompressedApexMetadata& operator=(const ApexManifest_CompressedApexMetadata& from) {
                                              ^
out/soong/.intermediates/system/apex/proto/lib_apex_manifest_proto/android_arm64_armv8-a_static/gen/proto/system/apex/proto/apex_manifest.pb.h:225:24: warning: operator=() does not handle self-assignment properly [bugprone-unhandled-self-assignment,cert-oop54-cpp]
  inline ApexManifest& operator=(const ApexManifest& from) {
                       ^
out/soong/.intermediates/system/apex/proto/lib_apex_session_state_proto/android_arm64_armv8-a_static/gen/proto/system/apex/proto/session_state.pb.h:117:24: warning: operator=() does not handle self-assignment properly [cert-oop54-cpp]
  inline SessionState& operator=(const SessionState& from) {
                       ^
[ 96% 123429/128486] //art/odrefresh:odrefresh clang-tidy odr_metrics_record.cc [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123435/128486] //art/odrefresh:odrefresh clang-tidy cpp/com_android_apex_enums.cpp [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123437/128486] //art/odrefresh:odrefresh clang-tidy odr_fs_utils.cc [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123441/128486] //art/odrefresh:odrefresh clang-tidy odr_compilation_log.cc [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123445/128486] //art/odrefresh:odrefresh clang-tidy cpp/com_android_art_enums.cpp [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123448/128486] //art/odrefresh:odrefresh clang-tidy cpp/com_android_apex.cpp [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123450/128486] //art/odrefresh:odrefresh clang-tidy odr_metrics.cc [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123458/128486] //tools/metalava:private-stub-annotations generate private-stub-annotations.srcjar
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil (file:/home/jinhualong/temp/firefly_rk3588_android12.0_git_20220311/out/soong/.temp/sbox/5eb81331775de2be5d0c2cfd237edca3d86b9209/tools/out/framework/metalava.jar) to method java.util.ResourceBundle.setParent(java.util.ResourceBundle)
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
[ 96% 123489/128486] //art/odrefresh:odrefresh clang-tidy gensrcs/art/odrefresh/odr_metrics.operator_out.cc [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123498/128486] //art/odrefresh:odrefresh clang-tidy cpp/com_android_art.cpp [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
[ 96% 123505/128486] build out/target/product/rk3588_firefly_itx_3588j/obj/PACKAGING/recovery_intermediates/ramdisk_files-timestamp
rk3588_firefly_itx_3588j out/target/product/rk3588_firefly_itx_3588j rk3588 true arm64
[ 96% 123520/128486] Target boot image: out/target/product/rk3588_firefly_itx_3588j/boot.img
FAILED: out/target/product/rk3588_firefly_itx_3588j/boot.img
/bin/bash -c "(out/host/linux-x86/bin/mkbootimg --kernel    out/target/product/rk3588_firefly_itx_3588j/kernel  --ramdisk out/target/product/rk3588_firefly_itx_3588j/ramdisk.img --dtb out/target/product/rk3588_firefly_itx_3588j/dtb.img --cmdline \"console=ttyFIQ0 firmware_class.path=/vendor/etc/firmware init=/init rootwait ro loop.max_part=7 androidboot.console=ttyFIQ0 androidboot.wificountrycode=CN androidboot.hardware=rk30board androidboot.boot_devices=fe2e0000.mmc androidboot.selinux=permissive buildvariant=userdebug\" --os_version 12 --os_patch_level 2021-12-05  --second kernel-5.10/resource.img --header_version 2 --output out/target/product/rk3588_firefly_itx_3588j/boot.img ) && (size=\$(for i in out/target/product/rk3588_firefly_itx_3588j/boot.img; do stat -c \"%s\" \"\$i\" | tr -d '\\n'; echo +; done; echo 0); total=\$(( \$( echo \"\$size\" ) )); printname=\$(echo -n \"out/target/product/rk3588_firefly_itx_3588j/boot.img\" | tr \" \" +); maxsize=\$((  41943040)); if [ \"\$total\" -gt \"\$maxsize\" ]; then echo \"error: \$printname too large (\$total > \$maxsize)\"; false; elif [ \"\$total\" -gt \$((maxsize - 32768)) ]; then echo \"WARNING: \$printname approaching size limit (\$total now; limit \$maxsize)\"; fi )"
error: out/target/product/rk3588_firefly_itx_3588j/boot.img too large (49108992 > 41943040)
[ 96% 123525/128486] //art/odrefresh:odrefresh clang-tidy odrefresh.cc [apex31]
warning: macro replacement list should be enclosed in parentheses [bugprone-macro-parentheses]
21:20:06 ninja failed with: exit status 1

#### failed to build some targets (45:57 (mm:ss)) ####

jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/temp/firefly_rk3588_android12.0_git_20220311$ 
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/temp/firefly_rk3588_android12.0_git_20220311$ 
jinhualong@jinhualong-LEGION-REN7000K-26IRX:~/temp/firefly_rk3588_android12.0_git_20220311$ make -j16
————————————————

                            版权声明：本文为博主原创文章，遵循 CC 4.0 BY-SA 版权协议，转载请附上原文出处链接和本声明。
                        
原文链接：https://blog.csdn.net/wb4916/article/details/149837735