• Lv0
    粉丝0

积分0 / 贡献0

提问2答案被采纳0文章0

chromium_src编译报错

forbetter223 显示全部楼层 发表于 2024-7-12 17:04:18
环境:VMware 17 + Ubuntu20.04

磁盘:300G

内存:16G

按照[chromium\_src: chromium src主仓 (gitee.com)](https://gitee.com/openharmony-tpc/chromium_src)搭建开发编译环境

步骤:1. 正常结束

```
repo init -u https://gitee.com/openharmony-tpc/manifest -b chromium -m chromium.xml --no-repo-verify
repo sync -c
repo forall -c 'git lfs pull'
```

2. 正常结束

```
./prebuilts_download.sh
```

3.报错

```
  ./build.sh -A rk3568
```

错误日志:

```
Generating compile_commands took 1600ms
Done. Made 17764 targets from 3042 files in 7100ms
ninja: Entering directory `out/rk3568/'
[82/59552] CXX obj/extensions/browser/updater/keepalive/scoped_extension_updater_keep_alive.o
FAILED: obj/extensions/browser/updater/keepalive/scoped_extension_updater_keep_alive.o
../../third_party/ohos_ndk/toolchains/llvm/bin/clang++ -MMD -MF obj/extensions/browser/updater/keepalive/scoped_extension_updater_keep_alive.o.d -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_ENABLE_ASSERTIONS=1 -DOSOHOS -DHAVE_SYS_UIO_H -D__MUSL__ -D_LIBCPP_HAS_MUSL_LIBC -D__BUILD_LINUX_WITH_CLANG -DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOHOS_AI -DOHOS_API_INIT_WEB_ENGINE -DOHOS_API_PER -DOHOS_ARKWEB_ADBLOCK -DOHOS_ARKWEB_EXTENSIONS -DOHOS_ASAN -DOHOS_BACKGROUND_COLOR -DOHOS_BFCACHE -DOHOS_BUGFIX_CRASH -DOHOS_CA -DOHOS_CACHE -DOHOS_CLIPBOARD -DOHOS_CLOSE_STEPS -DOHOS_COMPOSITE_RENDER -DOHOS_COOKIE -DOHOS_CORS -DOHOS_CRASHPAD -DOHOS_CSS_FONT -DOHOS_CSS_INPUT_TIME -DOHOS_CUSTOM_DNS -DOHOS_CUSTOM_VIDEO_PLAYER -DOHOS_DARKMODE -DOHOS_DATALIST -DOHOS_DEVTOOLS -DOHOS_DFX_DUMP -DOHOS_DFX_LOGGING -DOHOS_DISPLAY_CUTOUT -DOHOS_DOWNLOAD -DOHOS_DRAG_DROP -DOHOS_DRDC -DOHOS_EDM_POLICY -DOHOS_ENABLE_POINTER_HARDENED -DOHOS_ENABLE_RANDOM -DOHOS_ENCRYPT -DOHOS_EX_DOWNLOAD -DOHOS_EX_NETWORK_CONNECTION -DOHOS_FAVICON -DOHOS_FCP -DOHOS_FILE_UPLOAD -DOHOS_FOCUS -DOHOS_FULLSCREEN -DOHOS_GEOLOCATION -DOHOS_HAP_DECOMPRESSED -DOHOS_HTML_SELECT -DOHOS_HTTP_DNS -DOHOS_I18N -DOHOS_INCOGNITO_MODE -DOHOS_INIT_CALLBACK -DOHOS_INPUT_EVENTS -DOHOS_ITP -DOHOS_JSPROXY -DOHOS_LOAD_PER -DOHOS_MEDIA -DOHOS_MEDIA_AVSESSION -DOHOS_MEDIA_MUTE_AUDIO -DOHOS_MEDIA_PER -DOHOS_MEDIA_POLICY -DOHOS_MEM -DOHOS_MIXED_CONTENT -DOHOS_MSGPORT -DOHOS_MULTI_WINDOW -DOHOS_NAVIGATION -DOHOS_NDK -DOHOS_NETWORK_CONNINFO -DOHOS_NETWORK_LOAD -DOHOS_NETWORK_PROXY -DOHOS_NO_STATE_PREFETCH -DOHOS_PAGE_UP_DOWN -DOHOS_PDF -DOHOS_PERFORMANCE_DISCARD_BG_WEBPAGE -DOHOS_PERFORMANCE_INC_FREQ -DOHOS_PERFORMANCE_JITTER -DOHOS_PERFORMANCE_MEMORY_THRESHOLD -DOHOS_PERFORMANCE_PERSISTENT_TASK -DOHOS_PER_DFX -DOHOS_POST_URL -DOHOS_PRINT -DOHOS_RENDERER_ANR_DUMP -DOHOS_RENDER_PROCESS_MODE -DOHOS_RENDER_PROCESS_SHARE -DOHOS_SCHEME_HANDLER -DOHOS_SCREEN_LOCK -DOHOS_SCREEN_ROTATION -DOHOS_SCROLLBAR -DOHOS_SCROLL_PERFORMANCE -DOHOS_SECURE_JAVASCRIPT_PROXY -DOHOS_SECURITY_STATE -DOHOS_SENSOR -DOHOS_SITE_ISOLATION -DOHOS_SLIDE -DOHOS_SOFTWARE_COMPOSITOR -DOHOS_SSL_AUTH_ALGO -DOHOS_SUSPEND_ALL_TIMERS -DOHOS_UNITTESTS -DOHOS_URL_TRUST_LIST -DOHOS_USERAGENT -DOHOS_VIEWPORT -DOHOS_WARMUP_SERVICEWORKER -DOHOS_WEBRTC -DOHOS_WEBSTORAGE -DOHOS_WPT -DOHOS_ZOOM -DREPORT_SYS_EVENT -I../../third_party/ohos_ndk/toolchains/llvm/include/libcxx-ohos/include/c++/v1 -I../.. -Igen -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fprofile-sample-accurate -Wall -Werror -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-psabi -Wno-unknown-pragmas -Wno-cpp -Wno-extra-tokens -Wno-error=c99-designator -Wno-error=anon-enum-enum-conversion -Wno-error=implicit-fallthrough -Wno-error=sizeof-array-div -Wno-error=reorder-init-list -Wno-error=range-loop-construct -Wno-error=deprecated-copy -Wno-error=implicit-int-float-conversion -Wno-error=inconsistent-dllimport -Wno-unknown-warning-option -Wno-error=abstract-final-class -Wno-error=sign-compare -Wno-error=int-in-bool-context -Wno-error=xor-used-as-pow -Wno-error=return-stack-address -Wno-error=dangling-gsl -Wno-error=implicit-function-declaration -Wno-error=non-c-typedef-for-linkage -Wno-c++11-narrowing -Wno-builtin-assume-aligned-alignment -Wno-error=unknown-attributes -Wno-error=deprecated-declarations -Wno-error=undefined-inline -Wno-error=extra-semi -Wno-error=invalid-offsetof -Wno-deprecated-builtins -Wno-deprecated-non-prototype -Wno-array-parameter -Wno-error=unused-but-set-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unqualified-std-cast-call -Wno-error=invalid-offsetof -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit -fwhole-program-vtables -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fno-short-enums -funwind-tables --target=arm-linux-ohosmusl -march=armv7-a -mfloat-abi=softfp -no-canonical-prefixes -mfpu=neon -mthumb -Oz -fdata-sections -ffunction-sections -fno-unique-section-names -fomit-frame-pointer -gdwarf-4 -g1 -gdwarf-aranges -fdebug-info-for-profiling -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti --sysroot=../../third_party/ohos_ndk/sysroot -fvisibility-inlines-hidden -c ../../extensions/browser/updater/scoped_extension_updater_keep_alive.cc -o obj/extensions/browser/updater/keepalive/scoped_extension_updater_keep_alive.o
[83/59552] CXX obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o
FAILED: obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o
../../third_party/ohos_ndk/toolchains/llvm/bin/clang++ -MMD -MF obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o.d -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_ENABLE_ASSERTIONS=1 -DOSOHOS -DHAVE_SYS_UIO_H -D__MUSL__ -D_LIBCPP_HAS_MUSL_LIBC -D__BUILD_LINUX_WITH_CLANG -DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOHOS_AI -DOHOS_API_INIT_WEB_ENGINE -DOHOS_API_PER -DOHOS_ARKWEB_ADBLOCK -DOHOS_ARKWEB_EXTENSIONS -DOHOS_ASAN -DOHOS_BACKGROUND_COLOR -DOHOS_BFCACHE -DOHOS_BUGFIX_CRASH -DOHOS_CA -DOHOS_CACHE -DOHOS_CLIPBOARD -DOHOS_CLOSE_STEPS -DOHOS_COMPOSITE_RENDER -DOHOS_COOKIE -DOHOS_CORS -DOHOS_CRASHPAD -DOHOS_CSS_FONT -DOHOS_CSS_INPUT_TIME -DOHOS_CUSTOM_DNS -DOHOS_CUSTOM_VIDEO_PLAYER -DOHOS_DARKMODE -DOHOS_DATALIST -DOHOS_DEVTOOLS -DOHOS_DFX_DUMP -DOHOS_DFX_LOGGING -DOHOS_DISPLAY_CUTOUT -DOHOS_DOWNLOAD -DOHOS_DRAG_DROP -DOHOS_DRDC -DOHOS_EDM_POLICY -DOHOS_ENABLE_POINTER_HARDENED -DOHOS_ENABLE_RANDOM -DOHOS_ENCRYPT -DOHOS_EX_DOWNLOAD -DOHOS_EX_NETWORK_CONNECTION -DOHOS_FAVICON -DOHOS_FCP -DOHOS_FILE_UPLOAD -DOHOS_FOCUS -DOHOS_FULLSCREEN -DOHOS_GEOLOCATION -DOHOS_HAP_DECOMPRESSED -DOHOS_HTML_SELECT -DOHOS_HTTP_DNS -DOHOS_I18N -DOHOS_INCOGNITO_MODE -DOHOS_INIT_CALLBACK -DOHOS_INPUT_EVENTS -DOHOS_ITP -DOHOS_JSPROXY -DOHOS_LOAD_PER -DOHOS_MEDIA -DOHOS_MEDIA_AVSESSION -DOHOS_MEDIA_MUTE_AUDIO -DOHOS_MEDIA_PER -DOHOS_MEDIA_POLICY -DOHOS_MEM -DOHOS_MIXED_CONTENT -DOHOS_MSGPORT -DOHOS_MULTI_WINDOW -DOHOS_NAVIGATION -DOHOS_NDK -DOHOS_NETWORK_CONNINFO -DOHOS_NETWORK_LOAD -DOHOS_NETWORK_PROXY -DOHOS_NO_STATE_PREFETCH -DOHOS_PAGE_UP_DOWN -DOHOS_PDF -DOHOS_PERFORMANCE_DISCARD_BG_WEBPAGE -DOHOS_PERFORMANCE_INC_FREQ -DOHOS_PERFORMANCE_JITTER -DOHOS_PERFORMANCE_MEMORY_THRESHOLD -DOHOS_PERFORMANCE_PERSISTENT_TASK -DOHOS_PER_DFX -DOHOS_POST_URL -DOHOS_PRINT -DOHOS_RENDERER_ANR_DUMP -DOHOS_RENDER_PROCESS_MODE -DOHOS_RENDER_PROCESS_SHARE -DOHOS_SCHEME_HANDLER -DOHOS_SCREEN_LOCK -DOHOS_SCREEN_ROTATION -DOHOS_SCROLLBAR -DOHOS_SCROLL_PERFORMANCE -DOHOS_SECURE_JAVASCRIPT_PROXY -DOHOS_SECURITY_STATE -DOHOS_SENSOR -DOHOS_SITE_ISOLATION -DOHOS_SLIDE -DOHOS_SOFTWARE_COMPOSITOR -DOHOS_SSL_AUTH_ALGO -DOHOS_SUSPEND_ALL_TIMERS -DOHOS_UNITTESTS -DOHOS_URL_TRUST_LIST -DOHOS_USERAGENT -DOHOS_VIEWPORT -DOHOS_WARMUP_SERVICEWORKER -DOHOS_WEBRTC -DOHOS_WEBSTORAGE -DOHOS_WPT -DOHOS_ZOOM -DREPORT_SYS_EVENT -I../../third_party/ohos_ndk/toolchains/llvm/include/libcxx-ohos/include/c++/v1 -I../.. -Igen -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fprofile-sample-accurate -Wall -Werror -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-psabi -Wno-unknown-pragmas -Wno-cpp -Wno-extra-tokens -Wno-error=c99-designator -Wno-error=anon-enum-enum-conversion -Wno-error=implicit-fallthrough -Wno-error=sizeof-array-div -Wno-error=reorder-init-list -Wno-error=range-loop-construct -Wno-error=deprecated-copy -Wno-error=implicit-int-float-conversion -Wno-error=inconsistent-dllimport -Wno-unknown-warning-option -Wno-error=abstract-final-class -Wno-error=sign-compare -Wno-error=int-in-bool-context -Wno-error=xor-used-as-pow -Wno-error=return-stack-address -Wno-error=dangling-gsl -Wno-error=implicit-function-declaration -Wno-error=non-c-typedef-for-linkage -Wno-c++11-narrowing -Wno-builtin-assume-aligned-alignment -Wno-error=unknown-attributes -Wno-error=deprecated-declarations -Wno-error=undefined-inline -Wno-error=extra-semi -Wno-error=invalid-offsetof -Wno-deprecated-builtins -Wno-deprecated-non-prototype -Wno-array-parameter -Wno-error=unused-but-set-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unqualified-std-cast-call -Wno-error=invalid-offsetof -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit -fwhole-program-vtables -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fno-short-enums -funwind-tables --target=arm-linux-ohosmusl -march=armv7-a -mfloat-abi=softfp -no-canonical-prefixes -mfpu=neon -mthumb -Oz -fdata-sections -ffunction-sections -fno-unique-section-names -fomit-frame-pointer -gdwarf-4 -g1 -gdwarf-aranges -fdebug-info-for-profiling -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-unused-const-variable -Wno-unused-function -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti --sysroot=../../third_party/ohos_ndk/sysroot -fvisibility-inlines-hidden -c ../../base/third_party/double_conversion/double-conversion/bignum-dtoa.cc -o obj/base/third_party/double_conversion/double_conversion/bignum-dtoa.o
[85/59552] CXX obj/base/allocator/partition_allocator/partition_alloc/compressed_pointer.o
FAILED: obj/base/allocator/partition_allocator/partition_alloc/compressed_pointer.o
../../third_party/ohos_ndk/toolchains/llvm/bin/clang++ -MMD -MF obj/base/allocator/partition_allocator/partition_alloc/compressed_pointer.o.d -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_ENABLE_ASSERTIONS=1 -DOSOHOS -DHAVE_SYS_UIO_H -D__MUSL__ -D_LIBCPP_HAS_MUSL_LIBC -D__BUILD_LINUX_WITH_CLANG -DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOHOS_AI -DOHOS_API_INIT_WEB_ENGINE -DOHOS_API_PER -DOHOS_ARKWEB_ADBLOCK -DOHOS_ARKWEB_EXTENSIONS -DOHOS_ASAN -DOHOS_BACKGROUND_COLOR -DOHOS_BFCACHE -DOHOS_BUGFIX_CRASH -DOHOS_CA -DOHOS_CACHE -DOHOS_CLIPBOARD -DOHOS_CLOSE_STEPS -DOHOS_COMPOSITE_RENDER -DOHOS_COOKIE -DOHOS_CORS -DOHOS_CRASHPAD -DOHOS_CSS_FONT -DOHOS_CSS_INPUT_TIME -DOHOS_CUSTOM_DNS -DOHOS_CUSTOM_VIDEO_PLAYER -DOHOS_DARKMODE -DOHOS_DATALIST -DOHOS_DEVTOOLS -DOHOS_DFX_DUMP -DOHOS_DFX_LOGGING -DOHOS_DISPLAY_CUTOUT -DOHOS_DOWNLOAD -DOHOS_DRAG_DROP -DOHOS_DRDC -DOHOS_EDM_POLICY -DOHOS_ENABLE_POINTER_HARDENED -DOHOS_ENABLE_RANDOM -DOHOS_ENCRYPT -DOHOS_EX_DOWNLOAD -DOHOS_EX_NETWORK_CONNECTION -DOHOS_FAVICON -DOHOS_FCP -DOHOS_FILE_UPLOAD -DOHOS_FOCUS -DOHOS_FULLSCREEN -DOHOS_GEOLOCATION -DOHOS_HAP_DECOMPRESSED -DOHOS_HTML_SELECT -DOHOS_HTTP_DNS -DOHOS_I18N -DOHOS_INCOGNITO_MODE -DOHOS_INIT_CALLBACK -DOHOS_INPUT_EVENTS -DOHOS_ITP -DOHOS_JSPROXY -DOHOS_LOAD_PER -DOHOS_MEDIA -DOHOS_MEDIA_AVSESSION -DOHOS_MEDIA_MUTE_AUDIO -DOHOS_MEDIA_PER -DOHOS_MEDIA_POLICY -DOHOS_MEM -DOHOS_MIXED_CONTENT -DOHOS_MSGPORT -DOHOS_MULTI_WINDOW -DOHOS_NAVIGATION -DOHOS_NDK -DOHOS_NETWORK_CONNINFO -DOHOS_NETWORK_LOAD -DOHOS_NETWORK_PROXY -DOHOS_NO_STATE_PREFETCH -DOHOS_PAGE_UP_DOWN -DOHOS_PDF -DOHOS_PERFORMANCE_DISCARD_BG_WEBPAGE -DOHOS_PERFORMANCE_INC_FREQ -DOHOS_PERFORMANCE_JITTER -DOHOS_PERFORMANCE_MEMORY_THRESHOLD -DOHOS_PERFORMANCE_PERSISTENT_TASK -DOHOS_PER_DFX -DOHOS_POST_URL -DOHOS_PRINT -DOHOS_RENDERER_ANR_DUMP -DOHOS_RENDER_PROCESS_MODE -DOHOS_RENDER_PROCESS_SHARE -DOHOS_SCHEME_HANDLER -DOHOS_SCREEN_LOCK -DOHOS_SCREEN_ROTATION -DOHOS_SCROLLBAR -DOHOS_SCROLL_PERFORMANCE -DOHOS_SECURE_JAVASCRIPT_PROXY -DOHOS_SECURITY_STATE -DOHOS_SENSOR -DOHOS_SITE_ISOLATION -DOHOS_SLIDE -DOHOS_SOFTWARE_COMPOSITOR -DOHOS_SSL_AUTH_ALGO -DOHOS_SUSPEND_ALL_TIMERS -DOHOS_UNITTESTS -DOHOS_URL_TRUST_LIST -DOHOS_USERAGENT -DOHOS_VIEWPORT -DOHOS_WARMUP_SERVICEWORKER -DOHOS_WEBRTC -DOHOS_WEBSTORAGE -DOHOS_WPT -DOHOS_ZOOM -DREPORT_SYS_EVENT -DIS_PARTITION_ALLOC_IMPL -I../../third_party/ohos_ndk/toolchains/llvm/include/libcxx-ohos/include/c++/v1 -I../.. -Igen -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fprofile-sample-accurate -Wall -Werror -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-psabi -Wno-unknown-pragmas -Wno-cpp -Wno-extra-tokens -Wno-error=c99-designator -Wno-error=anon-enum-enum-conversion -Wno-error=implicit-fallthrough -Wno-error=sizeof-array-div -Wno-error=reorder-init-list -Wno-error=range-loop-construct -Wno-error=deprecated-copy -Wno-error=implicit-int-float-conversion -Wno-error=inconsistent-dllimport -Wno-unknown-warning-option -Wno-error=abstract-final-class -Wno-error=sign-compare -Wno-error=int-in-bool-context -Wno-error=xor-used-as-pow -Wno-error=return-stack-address -Wno-error=dangling-gsl -Wno-error=implicit-function-declaration -Wno-error=non-c-typedef-for-linkage -Wno-c++11-narrowing -Wno-builtin-assume-aligned-alignment -Wno-error=unknown-attributes -Wno-error=deprecated-declarations -Wno-error=undefined-inline -Wno-error=extra-semi -Wno-error=invalid-offsetof -Wno-deprecated-builtins -Wno-deprecated-non-prototype -Wno-array-parameter -Wno-error=unused-but-set-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unqualified-std-cast-call -Wno-error=invalid-offsetof -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit -fwhole-program-vtables -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fno-short-enums -funwind-tables --target=arm-linux-ohosmusl -march=armv7-a -mfloat-abi=softfp -no-canonical-prefixes -mfpu=neon -mthumb -fomit-frame-pointer -gdwarf-4 -g1 -gdwarf-aranges -fdebug-info-for-profiling -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -O3 -fdata-sections -ffunction-sections -fno-unique-section-names -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti --sysroot=../../third_party/ohos_ndk/sysroot -fvisibility-inlines-hidden -c ../../base/allocator/partition_allocator/compressed_pointer.cc -o obj/base/allocator/partition_allocator/partition_alloc/compressed_pointer.o
[88/59552] CXX obj/base/allocator/partition_allocator/partition_alloc/partition_stats.o
FAILED: obj/base/allocator/partition_allocator/partition_alloc/partition_stats.o
../../third_party/ohos_ndk/toolchains/llvm/bin/clang++ -MMD -MF obj/base/allocator/partition_allocator/partition_alloc/partition_stats.o.d -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_ENABLE_ASSERTIONS=1 -DOSOHOS -DHAVE_SYS_UIO_H -D__MUSL__ -D_LIBCPP_HAS_MUSL_LIBC -D__BUILD_LINUX_WITH_CLANG -DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOHOS_AI -DOHOS_API_INIT_WEB_ENGINE -DOHOS_API_PER -DOHOS_ARKWEB_ADBLOCK -DOHOS_ARKWEB_EXTENSIONS -DOHOS_ASAN -DOHOS_BACKGROUND_COLOR -DOHOS_BFCACHE -DOHOS_BUGFIX_CRASH -DOHOS_CA -DOHOS_CACHE -DOHOS_CLIPBOARD -DOHOS_CLOSE_STEPS -DOHOS_COMPOSITE_RENDER -DOHOS_COOKIE -DOHOS_CORS -DOHOS_CRASHPAD -DOHOS_CSS_FONT -DOHOS_CSS_INPUT_TIME -DOHOS_CUSTOM_DNS -DOHOS_CUSTOM_VIDEO_PLAYER -DOHOS_DARKMODE -DOHOS_DATALIST -DOHOS_DEVTOOLS -DOHOS_DFX_DUMP -DOHOS_DFX_LOGGING -DOHOS_DISPLAY_CUTOUT -DOHOS_DOWNLOAD -DOHOS_DRAG_DROP -DOHOS_DRDC -DOHOS_EDM_POLICY -DOHOS_ENABLE_POINTER_HARDENED -DOHOS_ENABLE_RANDOM -DOHOS_ENCRYPT -DOHOS_EX_DOWNLOAD -DOHOS_EX_NETWORK_CONNECTION -DOHOS_FAVICON -DOHOS_FCP -DOHOS_FILE_UPLOAD -DOHOS_FOCUS -DOHOS_FULLSCREEN -DOHOS_GEOLOCATION -DOHOS_HAP_DECOMPRESSED -DOHOS_HTML_SELECT -DOHOS_HTTP_DNS -DOHOS_I18N -DOHOS_INCOGNITO_MODE -DOHOS_INIT_CALLBACK -DOHOS_INPUT_EVENTS -DOHOS_ITP -DOHOS_JSPROXY -DOHOS_LOAD_PER -DOHOS_MEDIA -DOHOS_MEDIA_AVSESSION -DOHOS_MEDIA_MUTE_AUDIO -DOHOS_MEDIA_PER -DOHOS_MEDIA_POLICY -DOHOS_MEM -DOHOS_MIXED_CONTENT -DOHOS_MSGPORT -DOHOS_MULTI_WINDOW -DOHOS_NAVIGATION -DOHOS_NDK -DOHOS_NETWORK_CONNINFO -DOHOS_NETWORK_LOAD -DOHOS_NETWORK_PROXY -DOHOS_NO_STATE_PREFETCH -DOHOS_PAGE_UP_DOWN -DOHOS_PDF -DOHOS_PERFORMANCE_DISCARD_BG_WEBPAGE -DOHOS_PERFORMANCE_INC_FREQ -DOHOS_PERFORMANCE_JITTER -DOHOS_PERFORMANCE_MEMORY_THRESHOLD -DOHOS_PERFORMANCE_PERSISTENT_TASK -DOHOS_PER_DFX -DOHOS_POST_URL -DOHOS_PRINT -DOHOS_RENDERER_ANR_DUMP -DOHOS_RENDER_PROCESS_MODE -DOHOS_RENDER_PROCESS_SHARE -DOHOS_SCHEME_HANDLER -DOHOS_SCREEN_LOCK -DOHOS_SCREEN_ROTATION -DOHOS_SCROLLBAR -DOHOS_SCROLL_PERFORMANCE -DOHOS_SECURE_JAVASCRIPT_PROXY -DOHOS_SECURITY_STATE -DOHOS_SENSOR -DOHOS_SITE_ISOLATION -DOHOS_SLIDE -DOHOS_SOFTWARE_COMPOSITOR -DOHOS_SSL_AUTH_ALGO -DOHOS_SUSPEND_ALL_TIMERS -DOHOS_UNITTESTS -DOHOS_URL_TRUST_LIST -DOHOS_USERAGENT -DOHOS_VIEWPORT -DOHOS_WARMUP_SERVICEWORKER -DOHOS_WEBRTC -DOHOS_WEBSTORAGE -DOHOS_WPT -DOHOS_ZOOM -DREPORT_SYS_EVENT -DIS_PARTITION_ALLOC_IMPL -I../../third_party/ohos_ndk/toolchains/llvm/include/libcxx-ohos/include/c++/v1 -I../.. -Igen -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fprofile-sample-accurate -Wall -Werror -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-psabi -Wno-unknown-pragmas -Wno-cpp -Wno-extra-tokens -Wno-error=c99-designator -Wno-error=anon-enum-enum-conversion -Wno-error=implicit-fallthrough -Wno-error=sizeof-array-div -Wno-error=reorder-init-list -Wno-error=range-loop-construct -Wno-error=deprecated-copy -Wno-error=implicit-int-float-conversion -Wno-error=inconsistent-dllimport -Wno-unknown-warning-option -Wno-error=abstract-final-class -Wno-error=sign-compare -Wno-error=int-in-bool-context -Wno-error=xor-used-as-pow -Wno-error=return-stack-address -Wno-error=dangling-gsl -Wno-error=implicit-function-declaration -Wno-error=non-c-typedef-for-linkage -Wno-c++11-narrowing -Wno-builtin-assume-aligned-alignment -Wno-error=unknown-attributes -Wno-error=deprecated-declarations -Wno-error=undefined-inline -Wno-error=extra-semi -Wno-error=invalid-offsetof -Wno-deprecated-builtins -Wno-deprecated-non-prototype -Wno-array-parameter -Wno-error=unused-but-set-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unqualified-std-cast-call -Wno-error=invalid-offsetof -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit -fwhole-program-vtables -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fno-short-enums -funwind-tables --target=arm-linux-ohosmusl -march=armv7-a -mfloat-abi=softfp -no-canonical-prefixes -mfpu=neon -mthumb -fomit-frame-pointer -gdwarf-4 -g1 -gdwarf-aranges -fdebug-info-for-profiling -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -O3 -fdata-sections -ffunction-sections -fno-unique-section-names -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti --sysroot=../../third_party/ohos_ndk/sysroot -fvisibility-inlines-hidden -c ../../base/allocator/partition_allocator/partition_stats.cc -o obj/base/allocator/partition_allocator/partition_alloc/partition_stats.o
[89/59552] CXX obj/ohos_glue/ohos_adapter_glue_source/ark_aafwk_browser_host_adapter_impl.o
FAILED: obj/ohos_glue/ohos_adapter_glue_source/ark_aafwk_browser_host_adapter_impl.o
../../third_party/ohos_ndk/toolchains/llvm/bin/clang++ -MMD -MF obj/ohos_glue/ohos_adapter_glue_source/ark_aafwk_browser_host_adapter_impl.o.d -DUSE_AURA=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_ENABLE_ASSERTIONS=1 -DOSOHOS -DHAVE_SYS_UIO_H -D__MUSL__ -D_LIBCPP_HAS_MUSL_LIBC -D__BUILD_LINUX_WITH_CLANG -DCR_CLANG_REVISION=\"llvmorg-17-init-8029-g27f27d15-3\" -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DOHOS_AI -DOHOS_API_INIT_WEB_ENGINE -DOHOS_API_PER -DOHOS_ARKWEB_ADBLOCK -DOHOS_ARKWEB_EXTENSIONS -DOHOS_ASAN -DOHOS_BACKGROUND_COLOR -DOHOS_BFCACHE -DOHOS_BUGFIX_CRASH -DOHOS_CA -DOHOS_CACHE -DOHOS_CLIPBOARD -DOHOS_CLOSE_STEPS -DOHOS_COMPOSITE_RENDER -DOHOS_COOKIE -DOHOS_CORS -DOHOS_CRASHPAD -DOHOS_CSS_FONT -DOHOS_CSS_INPUT_TIME -DOHOS_CUSTOM_DNS -DOHOS_CUSTOM_VIDEO_PLAYER -DOHOS_DARKMODE -DOHOS_DATALIST -DOHOS_DEVTOOLS -DOHOS_DFX_DUMP -DOHOS_DFX_LOGGING -DOHOS_DISPLAY_CUTOUT -DOHOS_DOWNLOAD -DOHOS_DRAG_DROP -DOHOS_DRDC -DOHOS_EDM_POLICY -DOHOS_ENABLE_POINTER_HARDENED -DOHOS_ENABLE_RANDOM -DOHOS_ENCRYPT -DOHOS_EX_DOWNLOAD -DOHOS_EX_NETWORK_CONNECTION -DOHOS_FAVICON -DOHOS_FCP -DOHOS_FILE_UPLOAD -DOHOS_FOCUS -DOHOS_FULLSCREEN -DOHOS_GEOLOCATION -DOHOS_HAP_DECOMPRESSED -DOHOS_HTML_SELECT -DOHOS_HTTP_DNS -DOHOS_I18N -DOHOS_INCOGNITO_MODE -DOHOS_INIT_CALLBACK -DOHOS_INPUT_EVENTS -DOHOS_ITP -DOHOS_JSPROXY -DOHOS_LOAD_PER -DOHOS_MEDIA -DOHOS_MEDIA_AVSESSION -DOHOS_MEDIA_MUTE_AUDIO -DOHOS_MEDIA_PER -DOHOS_MEDIA_POLICY -DOHOS_MEM -DOHOS_MIXED_CONTENT -DOHOS_MSGPORT -DOHOS_MULTI_WINDOW -DOHOS_NAVIGATION -DOHOS_NDK -DOHOS_NETWORK_CONNINFO -DOHOS_NETWORK_LOAD -DOHOS_NETWORK_PROXY -DOHOS_NO_STATE_PREFETCH -DOHOS_PAGE_UP_DOWN -DOHOS_PDF -DOHOS_PERFORMANCE_DISCARD_BG_WEBPAGE -DOHOS_PERFORMANCE_INC_FREQ -DOHOS_PERFORMANCE_JITTER -DOHOS_PERFORMANCE_MEMORY_THRESHOLD -DOHOS_PERFORMANCE_PERSISTENT_TASK -DOHOS_PER_DFX -DOHOS_POST_URL -DOHOS_PRINT -DOHOS_RENDERER_ANR_DUMP -DOHOS_RENDER_PROCESS_MODE -DOHOS_RENDER_PROCESS_SHARE -DOHOS_SCHEME_HANDLER -DOHOS_SCREEN_LOCK -DOHOS_SCREEN_ROTATION -DOHOS_SCROLLBAR -DOHOS_SCROLL_PERFORMANCE -DOHOS_SECURE_JAVASCRIPT_PROXY -DOHOS_SECURITY_STATE -DOHOS_SENSOR -DOHOS_SITE_ISOLATION -DOHOS_SLIDE -DOHOS_SOFTWARE_COMPOSITOR -DOHOS_SSL_AUTH_ALGO -DOHOS_SUSPEND_ALL_TIMERS -DOHOS_UNITTESTS -DOHOS_URL_TRUST_LIST -DOHOS_USERAGENT -DOHOS_VIEWPORT -DOHOS_WARMUP_SERVICEWORKER -DOHOS_WEBRTC -DOHOS_WEBSTORAGE -DOHOS_WPT -DOHOS_ZOOM -DREPORT_SYS_EVENT -DOHOS_NWEB -DOHOS_WEBCORE_GLUE -I../../ohos_nweb -I../../third_party/ohos_ndk/includes/ohos_adapter -I../../third_party/ohos_ndk/toolchains/llvm/include/libcxx-ohos/include/c++/v1 -I../.. -Igen -I../../ohos_glue -fprofile-sample-use=../../chrome/android/profiles/afdo.prof -fprofile-sample-accurate -Wall -Werror -Wextra -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-psabi -Wno-unknown-pragmas -Wno-cpp -Wno-extra-tokens -Wno-error=c99-designator -Wno-error=anon-enum-enum-conversion -Wno-error=implicit-fallthrough -Wno-error=sizeof-array-div -Wno-error=reorder-init-list -Wno-error=range-loop-construct -Wno-error=deprecated-copy -Wno-error=implicit-int-float-conversion -Wno-error=inconsistent-dllimport -Wno-unknown-warning-option -Wno-error=abstract-final-class -Wno-error=sign-compare -Wno-error=int-in-bool-context -Wno-error=xor-used-as-pow -Wno-error=return-stack-address -Wno-error=dangling-gsl -Wno-error=implicit-function-declaration -Wno-error=non-c-typedef-for-linkage -Wno-c++11-narrowing -Wno-builtin-assume-aligned-alignment -Wno-error=unknown-attributes -Wno-error=deprecated-declarations -Wno-error=undefined-inline -Wno-error=extra-semi -Wno-error=invalid-offsetof -Wno-deprecated-builtins -Wno-deprecated-non-prototype -Wno-array-parameter -Wno-error=unused-but-set-variable -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-unqualified-std-cast-call -Wno-error=invalid-offsetof -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit -fwhole-program-vtables -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fno-short-enums -funwind-tables --target=arm-linux-ohosmusl -march=armv7-a -mfloat-abi=softfp -no-canonical-prefixes -mfpu=neon -mthumb -Oz -fdata-sections -ffunction-sections -fno-unique-section-names -fomit-frame-pointer -gdwarf-4 -g1 -gdwarf-aranges -fdebug-info-for-profiling -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c++20 -Wno-trigraphs -fno-exceptions -fno-rtti --sysroot=../../third_party/ohos_ndk/sysroot -fvisibility-inlines-hidden -c ../../ohos_glue/ohos_adapter/bridge/ark_aafwk_browser_host_adapter_impl.cpp -o obj/ohos_glue/ohos_adapter_glue_source/ark_aafwk_browser_host_adapter_impl.o
[121/59552] CXX obj/base/third_party/xdg_user_dirs/xdg_user_dirs/xdg_user_dir_lookup.o
ninja: build stopped: subcommand failed.
```

求助:毫无调查方向。请各位同事帮忙看看。

您尚未登录,无法参与评论,登录后可以:
参与开源共建问题交流
认同或收藏高质量问答
获取积分成为开源共建先驱

精彩评论1

forbetter223

沙发 发表于 2024-7-13 14:44:22
原因找到了,建议把硬盘扩展到500G,内存扩展到32G

Copyright   ©2023  OpenHarmony开发者论坛  京ICP备2020036654号-3 |技术支持 Discuz!

返回顶部