Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clang crash #162

Open
c0d3z3r0 opened this issue Jan 4, 2022 · 10 comments
Open

Clang crash #162

c0d3z3r0 opened this issue Jan 4, 2022 · 10 comments
Labels
more info needed There is not enough information to meaningly respond or help

Comments

@c0d3z3r0
Copy link

c0d3z3r0 commented Jan 4, 2022

Clang crash when building on a current, up-to-date Arch:

==> Making package: ungoogled-chromium 96.0.4664.110-1 (Di 04 Jan 2022 09:17:03 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make: Entering directory '/tmp/makepkg/ungoogled-chromium/src/chromium-launcher-8'
make: 'chromium' is up to date.
make: Leaving directory '/tmp/makepkg/ungoogled-chromium/src/chromium-launcher-8'
Done. Made 16235 targets from 2713 files in 11647ms
ninja: Entering directory `out/Release'
[211/14874] CXX obj/components/signin/public/identity_manager/identity_manager/identity_utils.o
../../components/signin/public/identity_manager/identity_utils.cc:20:6: warning: unused function 'IsUsernameAllowedByPattern' [-Wunused-function]
bool IsUsernameAllowedByPattern(base::StringPiece username,
     ^
1 warning generated.
[394/14874] CXX obj/chrome/browser/browser/chrome_content_browser_client.o
../../chrome/browser/chrome_content_browser_client.cc:4202:25: warning: unused variable 'web_contents' [-Wunused-variable]
  content::WebContents* web_contents = handle->GetWebContents();
                        ^
../../chrome/browser/chrome_content_browser_client.cc:5652:12: warning: unused variable 'profile' [-Wunused-variable]
  Profile* profile = Profile::FromBrowserContext(browser_context);
           ^
2 warnings generated.
[592/14874] CXX obj/chrome/browser/extensions/extensions/safe_browsing_private_event_router.o
../../chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router.cc:70:6: warning: unused function 'AddAnalysisConnectorVerdictToEvent' [-Wunused-function]
void AddAnalysisConnectorVerdictToEvent(
     ^
../../chrome/browser/extensions/api/safe_browsing_private/safe_browsing_private_event_router.cc:92:13: warning: unused function 'MalwareRuleToThreatType' [-Wunused-function]
std::string MalwareRuleToThreatType(const std::string& rule_name) {
            ^
2 warnings generated.
[657/14874] CXX obj/chrome/browser/extensions/extensions/safe_browsing_verdict_handler.o
In file included from ../../chrome/browser/extensions/safe_browsing_verdict_handler.cc:5:
../../chrome/browser/extensions/safe_browsing_verdict_handler.h:56:21: warning: private field 'extension_service_' is not used [-Wunused-private-field]
  ExtensionService* extension_service_ = nullptr;
                    ^
1 warning generated.
[944/14874] CXX obj/chrome/browser/extensions/extensions/webstore_private_api.o
../../chrome/browser/extensions/api/webstore_private/webstore_private_api.cc:220:11: warning: unused variable 'kExtensionReferrerUserGestureLimit' [-Wunused-const-variable]
const int kExtensionReferrerUserGestureLimit = 2;
          ^
1 warning generated.
[1237/14874] CXX obj/chrome/browser/ui/ui/tab_strip_model.o
../../chrome/browser/ui/tabs/tab_strip_model.cc:1784:62: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int' [-Wsign-compare]
  if (flag_value == "never" && !closing_all_ && items.size() == count())
                                                ~~~~~~~~~~~~ ^  ~~~~~~~
1 warning generated.
[1522/14874] CXX obj/chrome/browser/ui/ui/chrome_web_contents_view_handle_drop.o
../../chrome/browser/ui/tab_contents/chrome_web_contents_view_handle_drop.cc:119:12: warning: unused variable 'profile' [-Wunused-variable]
  Profile* profile =
           ^
../../chrome/browser/ui/tab_contents/chrome_web_contents_view_handle_drop.cc:121:8: warning: unused variable 'connector' [-Wunused-variable]
  auto connector =
       ^
2 warnings generated.
[1536/14874] CXX obj/chrome/browser/ui/ui/inline_login_handler.o
../../chrome/browser/ui/webui/signin/inline_login_handler.cc:125:12: warning: unused variable 'profile' [-Wunused-variable]
  Profile* profile = Profile::FromWebUI(web_ui());
           ^
1 warning generated.
[1556/14874] CXX obj/chrome/browser/ui/ui/profile_menu_view.o
../../chrome/browser/ui/views/profiles/profile_menu_view.cc:180:22: warning: code will never be executed [-Wunreachable-code]
  Profile* profile = browser()->profile();
                     ^~~~~~~
../../chrome/browser/ui/views/profiles/profile_menu_view.cc:506:7: warning: code will never be executed [-Wunreachable-code]
      IdentityManagerFactory::GetForProfile(profile);
      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 warnings generated.
[1572/14874] CXX obj/chrome/browser/ui/ui/inline_login_handler_impl.o
In file included from ../../chrome/browser/ui/webui/signin/inline_login_handler_impl.cc:5:
../../chrome/browser/ui/webui/signin/inline_login_handler_impl.h:192:8: warning: private field 'confirm_untrusted_signin_' is not used [-Wunused-private-field]
  bool confirm_untrusted_signin_;
       ^
1 warning generated.
[1582/14874] CXX obj/chrome/browser/ui/ui/signin_utils_desktop.o
../../chrome/browser/ui/webui/signin/signin_utils_desktop.cc:35:8: warning: code will never be executed [-Wunreachable-code]
  if (!ChromeSigninClient::ProfileAllowsSigninCookies(profile))
       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../chrome/browser/ui/webui/signin/signin_utils_desktop.cc:32:7: note: silence by adding parentheses to mark code as explicitly dead
  if (true)
      ^
      /* DISABLES CODE */ ( )
1 warning generated.
[2641/14874] CXX obj/components/mirroring/service/mirroring_service/receiver_setup_querier.o
FAILED: obj/components/mirroring/service/mirroring_service/receiver_setup_querier.o 
clang++ -MMD -MF obj/components/mirroring/service/mirroring_service/receiver_setup_querier.o.d -DIS_MIRRORING_SERVICE_IMPL -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-5759-g02895eed-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_USE_PLATFORM_XCB_KHR -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_HAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DOPENSCREEN_TEST_DATA_DIR=\"third_party/openscreen/src/test/data/\" -DLIBGAV1_MAX_BITDEPTH=10 -DLIBGAV1_THREADPOOL_USE_STD_MUTEX -DLIBGAV1_ENABLE_LOGGING=0 -DLIBGAV1_PUBLIC= -I../../third_party/openscreen/src -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -Igen/net/third_party/quiche/src -I../../net/third_party/quiche/overrides -I../../net/third_party/quiche/src/common/platform/default -I../../net/third_party/quiche/src -I../../third_party/skia -I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include -I../../third_party/mesa_headers -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -Igen/third_party/openscreen/src -I../../third_party/libgav1/src -I../../third_party/libgav1/src/src -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 -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-builtin-assume-aligned-alignment -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-bitwise-instead-of-logical -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libdrm -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations  -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../components/mirroring/service/receiver_setup_querier.cc -o obj/components/mirroring/service/mirroring_service/receiver_setup_querier.o
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /usr/bin/clang++ -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 -pthread -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-builtin-assume-aligned-alignment -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-bitwise-instead-of-logical -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -g0 -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -fcolor-diagnostics -DIS_MIRRORING_SERVICE_IMPL -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-5759-g02895eed-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_USE_PLATFORM_XCB_KHR -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_HAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DOPENSCREEN_TEST_DATA_DIR=\"third_party/openscreen/src/test/data/\" -DLIBGAV1_MAX_BITDEPTH=10 -DLIBGAV1_THREADPOOL_USE_STD_MUTEX -DLIBGAV1_ENABLE_LOGGING=0 -DLIBGAV1_PUBLIC= -I../../third_party/openscreen/src -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/snappy_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -Igen/net/third_party/quiche/src -I../../net/third_party/quiche/overrides -I../../net/third_party/quiche/src/common/platform/default -I../../net/third_party/quiche/src -I../../third_party/skia -I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include -I../../third_party/mesa_headers -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -Igen/third_party/openscreen/src -I../../third_party/libgav1/src -I../../third_party/libgav1/src/src -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libdrm -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -c -MMD -MF obj/components/mirroring/service/mirroring_service/receiver_setup_querier.o.d -fcolor-diagnostics -o obj/components/mirroring/service/mirroring_service/receiver_setup_querier.o ../../components/mirroring/service/receiver_setup_querier.cc
1.	../../mojo/public/cpp/bindings/connection_group.h:77:42: current parser token ';'
2.	../../mojo/public/cpp/bindings/connection_group.h:16:1: parsing namespace 'mojo'
3.	../../mojo/public/cpp/bindings/connection_group.h:27:1: parsing struct/union/class body 'mojo::ConnectionGroup'
4.	../../mojo/public/cpp/bindings/connection_group.h:32:3: parsing struct/union/class body 'mojo::ConnectionGroup::Ref'
5.	../../base/memory/scoped_refptr.h:174:19: instantiating class definition 'scoped_refptr<mojo::ConnectionGroup>'
 #0 0x00007fbf2b254c93 (/usr/bin/../lib/libLLVM-13.so+0xba2c93)
 #1 0x00007fbf2b252994 llvm::sys::CleanupOnSignal(unsigned long) (/usr/bin/../lib/libLLVM-13.so+0xba0994)
 #2 0x00007fbf2b1587b9 (/usr/bin/../lib/libLLVM-13.so+0xaa67b9)
 #3 0x00007fbf2a30cda0 __restore_rt sigaction.c:0:0
 #4 0x00007fbf32a3d88e clang::Sema::SubstParmVarDecl(clang::ParmVarDecl*, clang::MultiLevelTemplateArgumentList const&, int, llvm::Optional<unsigned int>, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1b5d88e)
 #5 0x00007fbf32a3f778 (/usr/bin/../lib/libclang-cpp.so.13+0x1b5f778)
 #6 0x00007fbf32a430c4 clang::Sema::SubstFunctionDeclType(clang::TypeSourceInfo*, clang::MultiLevelTemplateArgumentList const&, clang::SourceLocation, clang::DeclarationName, clang::CXXRecordDecl*, clang::Qualifiers) (/usr/bin/../lib/libclang-cpp.so.13+0x1b630c4)
 #7 0x00007fbf32a5cdfb clang::TemplateDeclInstantiator::SubstFunctionType(clang::FunctionDecl*, llvm::SmallVectorImpl<clang::ParmVarDecl*>&) (/usr/bin/../lib/libclang-cpp.so.13+0x1b7cdfb)
 #8 0x00007fbf32aa19a8 clang::TemplateDeclInstantiator::VisitCXXMethodDecl(clang::CXXMethodDecl*, clang::TemplateParameterList*, llvm::Optional<clang::ASTTemplateArgumentListInfo const*>, clang::TemplateDeclInstantiator::RewriteKind) (/usr/bin/../lib/libclang-cpp.so.13+0x1bc19a8)
 #9 0x00007fbf32a3c0be clang::Sema::InstantiateClass(clang::SourceLocation, clang::CXXRecordDecl*, clang::CXXRecordDecl*, clang::MultiLevelTemplateArgumentList const&, clang::TemplateSpecializationKind, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1b5c0be)
#10 0x00007fbf32a55bce clang::Sema::InstantiateClassTemplateSpecialization(clang::SourceLocation, clang::ClassTemplateSpecializationDecl*, clang::TemplateSpecializationKind, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1b75bce)
#11 0x00007fbf32ac0610 (/usr/bin/../lib/libclang-cpp.so.13+0x1be0610)
#12 0x00007fbf32223be2 clang::Sema::runWithSufficientStackSpace(clang::SourceLocation, llvm::function_ref<void ()>) (/usr/bin/../lib/libclang-cpp.so.13+0x1343be2)
#13 0x00007fbf32ac64f8 clang::Sema::RequireCompleteTypeImpl(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser*) (/usr/bin/../lib/libclang-cpp.so.13+0x1be64f8)
#14 0x00007fbf32ac6585 clang::Sema::RequireCompleteType(clang::SourceLocation, clang::QualType, clang::Sema::CompleteTypeKind, clang::Sema::TypeDiagnoser&) (/usr/bin/../lib/libclang-cpp.so.13+0x1be6585)
#15 0x00007fbf323f2960 clang::Sema::CheckFieldDecl(clang::DeclarationName, clang::QualType, clang::TypeSourceInfo*, clang::RecordDecl*, clang::SourceLocation, bool, clang::Expr*, clang::InClassInitStyle, clang::SourceLocation, clang::AccessSpecifier, clang::NamedDecl*, clang::Declarator*) (/usr/bin/../lib/libclang-cpp.so.13+0x1512960)
#16 0x00007fbf323f2ce7 clang::Sema::HandleField(clang::Scope*, clang::RecordDecl*, clang::SourceLocation, clang::Declarator&, clang::Expr*, clang::InClassInitStyle, clang::AccessSpecifier) (/usr/bin/../lib/libclang-cpp.so.13+0x1512ce7)
#17 0x00007fbf324c9dc5 clang::Sema::ActOnCXXMemberDeclarator(clang::Scope*, clang::AccessSpecifier, clang::Declarator&, llvm::MutableArrayRef<clang::TemplateParameterList*>, clang::Expr*, clang::VirtSpecifiers const&, clang::InClassInitStyle) (/usr/bin/../lib/libclang-cpp.so.13+0x15e9dc5)
#18 0x00007fbf31b1169e clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject*) (/usr/bin/../lib/libclang-cpp.so.13+0xc3169e)
#19 0x00007fbf31b14052 clang::Parser::ParseCXXClassMemberDeclarationWithPragmas(clang::AccessSpecifier&, clang::ParsedAttributesWithRange&, clang::TypeSpecifierType, clang::Decl*) (/usr/bin/../lib/libclang-cpp.so.13+0xc34052)
#20 0x00007fbf31b14518 clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributesWithRange&, unsigned int, clang::Decl*) (/usr/bin/../lib/libclang-cpp.so.13+0xc34518)
#21 0x00007fbf31b1625c clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributesWithRange&) (/usr/bin/../lib/libclang-cpp.so.13+0xc3625c)
#22 0x00007fbf31af39cc clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) (/usr/bin/../lib/libclang-cpp.so.13+0xc139cc)
#23 0x00007fbf31b11226 clang::Parser::ParseCXXClassMemberDeclaration(clang::AccessSpecifier, clang::ParsedAttributes&, clang::Parser::ParsedTemplateInfo const&, clang::ParsingDeclRAIIObject*) (/usr/bin/../lib/libclang-cpp.so.13+0xc31226)
#24 0x00007fbf31b14052 clang::Parser::ParseCXXClassMemberDeclarationWithPragmas(clang::AccessSpecifier&, clang::ParsedAttributesWithRange&, clang::TypeSpecifierType, clang::Decl*) (/usr/bin/../lib/libclang-cpp.so.13+0xc34052)
#25 0x00007fbf31b14518 clang::Parser::ParseCXXMemberSpecification(clang::SourceLocation, clang::SourceLocation, clang::ParsedAttributesWithRange&, unsigned int, clang::Decl*) (/usr/bin/../lib/libclang-cpp.so.13+0xc34518)
#26 0x00007fbf31b1625c clang::Parser::ParseClassSpecifier(clang::tok::TokenKind, clang::SourceLocation, clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, bool, clang::Parser::DeclSpecContext, clang::ParsedAttributesWithRange&) (/usr/bin/../lib/libclang-cpp.so.13+0xc3625c)
#27 0x00007fbf31af39cc clang::Parser::ParseDeclarationSpecifiers(clang::DeclSpec&, clang::Parser::ParsedTemplateInfo const&, clang::AccessSpecifier, clang::Parser::DeclSpecContext, clang::Parser::LateParsedAttrList*) (/usr/bin/../lib/libclang-cpp.so.13+0xc139cc)
#28 0x00007fbf31bb6f40 clang::Parser::ParseDeclOrFunctionDefInternal(clang::ParsedAttributesWithRange&, clang::ParsingDeclSpec&, clang::AccessSpecifier) (/usr/bin/../lib/libclang-cpp.so.13+0xcd6f40)
#29 0x00007fbf31bb7725 (/usr/bin/../lib/libclang-cpp.so.13+0xcd7725)
#30 0x00007fbf31bbdeca clang::Parser::ParseExternalDeclaration(clang::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (/usr/bin/../lib/libclang-cpp.so.13+0xcddeca)
#31 0x00007fbf31b0be82 clang::Parser::ParseInnerNamespace(llvm::SmallVector<clang::Parser::InnerNamespaceInfo, 4u> const&, unsigned int, clang::SourceLocation&, clang::ParsedAttributes&, clang::BalancedDelimiterTracker&) (/usr/bin/../lib/libclang-cpp.so.13+0xc2be82)
#32 0x00007fbf31b10640 clang::Parser::ParseNamespace(clang::DeclaratorContext, clang::SourceLocation&, clang::SourceLocation) (/usr/bin/../lib/libclang-cpp.so.13+0xc30640)
#33 0x00007fbf31af8a4e clang::Parser::ParseDeclaration(clang::DeclaratorContext, clang::SourceLocation&, clang::ParsedAttributesWithRange&, clang::SourceLocation*) (/usr/bin/../lib/libclang-cpp.so.13+0xc18a4e)
#34 0x00007fbf31bbda55 clang::Parser::ParseExternalDeclaration(clang::ParsedAttributesWithRange&, clang::ParsingDeclSpec*) (/usr/bin/../lib/libclang-cpp.so.13+0xcdda55)
#35 0x00007fbf31bbef4a clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool) (/usr/bin/../lib/libclang-cpp.so.13+0xcdef4a)
#36 0x00007fbf31acdc22 clang::ParseAST(clang::Sema&, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0xbedc22)
#37 0x00007fbf33673899 clang::FrontendAction::Execute() (/usr/bin/../lib/libclang-cpp.so.13+0x2793899)
#38 0x00007fbf335fd9ec clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/bin/../lib/libclang-cpp.so.13+0x271d9ec)
#39 0x00007fbf336f3c99 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/bin/../lib/libclang-cpp.so.13+0x2813c99)
#40 0x000055bf5259a8e9 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang+++0x128e9)
#41 0x000055bf52597cf9 (/usr/bin/clang+++0xfcf9)
#42 0x00007fbf332b8d75 (/usr/bin/../lib/libclang-cpp.so.13+0x23d8d75)
#43 0x00007fbf2b1588c3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/usr/bin/../lib/libLLVM-13.so+0xaa68c3)
#44 0x00007fbf332b9120 (/usr/bin/../lib/libclang-cpp.so.13+0x23d9120)
#45 0x00007fbf3328bb68 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/bin/../lib/libclang-cpp.so.13+0x23abb68)
#46 0x00007fbf3328c609 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const (/usr/bin/../lib/libclang-cpp.so.13+0x23ac609)
#47 0x00007fbf3329c72a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) (/usr/bin/../lib/libclang-cpp.so.13+0x23bc72a)
#48 0x000055bf52595a4f main (/usr/bin/clang+++0xda4f)
#49 0x00007fbf2a2f7b25 __libc_start_main (/usr/bin/../lib/libc.so.6+0x27b25)
#50 0x000055bf5259765e _start (/usr/bin/clang+++0xf65e)
clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: ../../tools/clang/crashreports/receiver_setup_querier-bbee2a.cpp
clang++: note: diagnostic msg: ../../tools/clang/crashreports/receiver_setup_querier-bbee2a.sh
clang++: note: diagnostic msg: 

********************
[2646/14874] CXX obj/components/mirroring/service/mirroring_service/mirroring_service.o
ninja: build stopped: subcommand failed.
@networkException
Copy link
Member

Could you try a clean rebuild in a non tempfs directory?

@c0d3z3r0
Copy link
Author

c0d3z3r0 commented Jan 4, 2022

Not much better, but a different error:

/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/android_rust_toolchain/toolchain/src/stdlibs/library/stdarch/crates/stdarch-verify/arm-intrinsics.html cannot be opened for writing! Adding write permission...
INFO: Path has no substitutions: third_party/crashpad/crashpad/doc/support/crashpad_doxygen.css
INFO: Path has no substitutions: tools/md_browser/base.css
==> Starting build()...
make: Entering directory '/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-launcher-8'
cc -o chromium -DLAUNCHER_VERSION=\"v8\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Arch Linux\"" -march=native -O3 -pipe -fstack-protector-strong -fno-plt -fexceptions 	-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security 	-fstack-clash-protection -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -Wl,-O3,--sort-common,--as-needed,-z,relro,-z,now launcher.c -lglib-2.0 
make: Leaving directory '/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-launcher-8'
Done. Made 16235 targets from 2713 files in 12384ms
ninja: Entering directory `out/Release'
[7143/49551] CXX obj/third_party/angle/src/libANGLE/renderer/vulkan/angle_vulkan_backend/vk_internal_shaders_autogen.o
../../third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp:13:9: warning: 'USE_SYSTEM_ZLIB' macro redefined [-Wmacro-redefined]
#define USE_SYSTEM_ZLIB
        ^
<command line>:33:9: note: previous definition is here
#define USE_SYSTEM_ZLIB 1
        ^
1 warning generated.
[13875/49551] CXX obj/components/safe_browsing/core/browser/safe_browsing_metrics_collector/safe_browsing_metrics_collector.o
../../components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc:213:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
../../components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc:23:11: warning: unused variable 'kTimestampsMaxLength' [-Wunused-const-variable]
const int kTimestampsMaxLength = 30;
          ^
../../components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc:26:11: warning: unused variable 'kEsbDisabledMetricsQuota' [-Wunused-const-variable]
const int kEsbDisabledMetricsQuota = 3;
          ^
../../components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc:28:11: warning: unused variable 'kEventMaxDurationDay' [-Wunused-const-variable]
const int kEventMaxDurationDay = 30;
          ^
../../components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc:34:13: warning: unused function 'UserStateToPrefKey' [-Wunused-function]
std::string UserStateToPrefKey(const UserState& user_state) {
            ^
../../components/safe_browsing/core/browser/safe_browsing_metrics_collector.cc:38:13: warning: unused function 'TimeToPrefValue' [-Wunused-function]
base::Value TimeToPrefValue(const base::Time& time) {
            ^
6 warnings generated.
[15315/49551] CXX obj/third_party/angle/libANGLE_base/BlobCache.o
../../third_party/angle/src/libANGLE/BlobCache.cpp:17:9: warning: 'USE_SYSTEM_ZLIB' macro redefined [-Wmacro-redefined]
#define USE_SYSTEM_ZLIB
        ^
<command line>:37:9: note: previous definition is here
#define USE_SYSTEM_ZLIB 1
        ^
1 warning generated.
[15327/49551] CXX obj/third_party/angle/libANGLE_base/MemoryProgramCache.o
../../third_party/angle/src/libANGLE/MemoryProgramCache.cpp:11:9: warning: 'USE_SYSTEM_ZLIB' macro redefined [-Wmacro-redefined]
#define USE_SYSTEM_ZLIB
        ^
<command line>:37:9: note: previous definition is here
#define USE_SYSTEM_ZLIB 1
        ^
1 warning generated.
[20551/49551] CXX obj/components/domain_reliability/domain_reliability/uploader.o
../../components/domain_reliability/uploader.cc:91:9: warning: code will never be executed [-Wunreachable-code]
        net::DefineNetworkTrafficAnnotation("domain_reliability_report_upload",
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../components/domain_reliability/uploader.cc:82:9: note: silence by adding parentheses to mark code as explicitly dead
    if (true) {
        ^
        /* DISABLES CODE */ ( )
1 warning generated.
[20562/49551] CXX obj/components/domain_reliability/domain_reliability/google_configs.o
../../components/domain_reliability/google_configs.cc:16:8: warning: unused variable 'is_www_subdomain' [-Wunused-variable]
  bool is_www_subdomain =
       ^
1 warning generated.
[23364/49551] CXX obj/components/assist_ranker/assist_ranker/ranker_url_fetcher.o
../../components/assist_ranker/ranker_url_fetcher.cc:37:7: warning: code will never be executed [-Wunreachable-code]
  if (state_ == REQUESTING) {
      ^~~~~~
1 warning generated.
[23499/49551] CXX obj/components/gcm_driver/gcm_driver/gcm_client_impl.o
../../components/gcm_driver/gcm_client_impl.cc:469:21: warning: code will never be executed [-Wunreachable-code]
  std::vector<GURL> endpoints;
                    ^~~~~~~~~
../../components/gcm_driver/gcm_client_impl.cc:112:6: warning: unused function 'ToCheckinProtoVersion' [-Wunused-function]
void ToCheckinProtoVersion(
     ^
2 warnings generated.
[23794/49551] CXX obj/components/signin/public/identity_manager/identity_manager/identity_utils.o
../../components/signin/public/identity_manager/identity_utils.cc:20:6: warning: unused function 'IsUsernameAllowedByPattern' [-Wunused-function]
bool IsUsernameAllowedByPattern(base::StringPiece username,
     ^
1 warning generated.
[23817/49551] CXX obj/components/signin/internal/identity_manager/identity_manager/account_tracker_service.o
../../components/signin/internal/identity_manager/account_tracker_service.cc:530:41: warning: code will never be executed [-Wunreachable-code]
    const base::DictionaryValue* dict = nullptr;
                                        ^~~~~~~
../../components/signin/internal/identity_manager/account_tracker_service.cc:532:19: warning: code will never be executed [-Wunreachable-code]
      std::string value;
                  ^~~~~
../../components/signin/internal/identity_manager/account_tracker_service.cc:531:9: note: silence by adding parentheses to mark code as explicitly dead
    if (false) {
        ^
        /* DISABLES CODE */ ( )
../../components/signin/internal/identity_manager/account_tracker_service.cc:627:33: warning: code will never be executed [-Wunreachable-code]
  base::DictionaryValue* dict = nullptr;
                                ^~~~~~~
../../components/signin/internal/identity_manager/account_tracker_service.cc:630:19: warning: code will never be executed [-Wunreachable-code]
      std::string value;
                  ^~~~~
4 warnings generated.
[23828/49551] CXX obj/components/signin/internal/identity_manager/identity_manager/primary_account_manager.o
../../components/signin/internal/identity_manager/primary_account_manager.cc:162:16: warning: unused variable 'prefs' [-Wunused-variable]
  PrefService* prefs = client_->GetPrefs();
               ^
../../components/signin/internal/identity_manager/primary_account_manager.cc:163:22: warning: unused variable 'account_id' [-Wunused-variable]
  const std::string& account_id = primary_account_info_.account_id.ToString();
                     ^
2 warnings generated.
[23999/49551] CXX obj/google_apis/google_apis/gaia_auth_fetcher.o
../../google_apis/gaia/gaia_auth_fetcher.cc:44:14: warning: unused variable 'kMaxMessageSize' [-Wunused-const-variable]
const size_t kMaxMessageSize = 1024 * 1024;  // 1MB
             ^
1 warning generated.
[27152/49551] ACTION //ui/webui/resources/cr_components/certificate_manager:build_ts(//build/toolchain/linux/unbundle:default)
FAILED: gen/ui/webui/resources/cr_components/certificate_manager/tsconfig.json gen/ui/webui/resources/cr_components/certificate_manager/tsconfig.manifest gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_list.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_list.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_password_decryption_dialog.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_password_decryption_dialog.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_delete_confirmation_dialog.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_delete_confirmation_dialog.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_entry.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_entry.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificates_browser_proxy.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificates_browser_proxy.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_password_encryption_dialog.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_password_encryption_dialog.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_manager_types.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_manager_types.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/ca_trust_edit_dialog.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/ca_trust_edit_dialog.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_shared_css.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_shared_css.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_subentry.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_subentry.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_manager.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificate_manager.d.ts gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificates_error_dialog.js gen/ui/webui/resources/preprocessed/cr_components/certificate_manager/certificates_error_dialog.d.ts 
python3 ../../tools/typescript/ts_library.py --root_dir gen/ui/webui/resources/preprocessed/cr_components/certificate_manager_tmp --gen_dir gen/ui/webui/resources/cr_components/certificate_manager --out_dir gen/ui/webui/resources/preprocessed/cr_components/certificate_manager --in_files certificate_list.ts certificate_password_decryption_dialog.ts certificate_delete_confirmation_dialog.ts certificate_entry.ts certificates_browser_proxy.ts certificate_password_encryption_dialog.ts certificate_manager_types.ts ca_trust_edit_dialog.ts certificate_shared_css.ts certificate_subentry.ts certificate_manager.ts certificates_error_dialog.ts --definitions ../../../../../../../../tools/typescript/definitions/chrome_send.d.ts --deps ../../../../../third_party/polymer/v3_0/tsconfig.json ../../tsconfig.json --tsconfig_base ../../../../../../../../ui/webui/resources/cr_components/certificate_manager/tsconfig_base.json --composite --path_mappings chrome://resources/\*\|../../preprocessed/\* //resources/\*\|../../preprocessed/\* chrome://resources/polymer/v3_0/\*\|../../../../../../../../third_party/polymer/v3_0/components-chromium/\* //resources/polymer/v3_0/\*\|../../../../../../../../third_party/polymer/v3_0/components-chromium/\* chrome://resources/polymer/v3_0/polymer/polymer_bundled.min.js\|../../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts //resources/polymer/v3_0/polymer/polymer_bundled.min.js\|../../../../../../../../third_party/polymer/v3_0/components-chromium/polymer/polymer.d.ts /tools/typescript/definitions/\*\|../../../../../../../../tools/typescript/definitions/\*
Traceback (most recent call last):
  File "/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/out/Release/../../tools/typescript/ts_library.py", line 129, in <module>
    main(sys.argv[1:])
  File "/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/out/Release/../../tools/typescript/ts_library.py", line 101, in main
    node.RunNode([
  File "/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node.py", line 38, in RunNode
    raise RuntimeError('Command \'%s\' failed\n%s' % (' '.join(cmd), err))
RuntimeError: Command '/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/linux/node-linux-x64/bin/node /home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/bin/tsc --project gen/ui/webui/resources/cr_components/certificate_manager/tsconfig.json' failed
/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:88055
                throw e;
                ^

SyntaxError: Unexpected token 'var'
    at Object.isSymbolAccessible (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:38764:20)
    at Object.trackSymbol (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:80325:53)
    at lookupSymbolChain (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:39854:33)
    at symbolToTypeNode (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:40008:29)
    at typeToTypeNodeHelper (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:39173:27)
    at serializeTypeForDeclaration (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:40288:30)
    at addPropertyToElementList (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:39620:59)
    at createTypeNodesFromResolvedType (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:39568:25)
    at createTypeNodeFromObjectType (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:39381:35)
    at visitAndTransformType (/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/lib/tsc.js:39336:34)

Node.js v17.3.0

[27157/49551] ACTION //chrome/browser/resources/print_preview:build(//build/toolchain/linux/unbundle:default)
ninja: build stopped: subcommand failed.

Running the failed comman again and resuming the build, but then another failure:

c0d3@z3r0:[~/.cache/yay/ungoogled-chromium]# cd /home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/out/Release
c0d3@z3r0:[~/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/out/Release]# /home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/linux/node-linux-x64/bin/node /home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/third_party/node/node_modules/typescript/bin/tsc --project gen/ui/webui/resources/cr_components/certificate_manager/tsconfig.json
c0d3@z3r0:[~/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/out/Release]# make^C
c0d3@z3r0:[~/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110/out/Release]# cd ../../
c0d3@z3r0:[~/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110]# makep^C
c0d3@z3r0:[~/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110]# BUILDDIR=$PWD makepkg -e
==> ERROR: PKGBUILD does not exist.
c0d3@z3r0:[~/.cache/yay/ungoogled-chromium/src/chromium-96.0.4664.110]# cd ../../
c0d3@z3r0:[~/.cache/yay/ungoogled-chromium]# BUILDDIR=$PWD makepkg -e
==> Making package: ungoogled-chromium 96.0.4664.110-1 (Di 04 Jan 2022 16:38:24 CET)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make: Entering directory '/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-launcher-8'
make: 'chromium' is up to date.
make: Leaving directory '/home/c0d3/.cache/yay/ungoogled-chromium/src/chromium-launcher-8'
Done. Made 16235 targets from 2713 files in 12033ms
ninja: Entering directory `out/Release'
[440/22407] CXX obj/chrome/browser/media/router/discovery/discovery/dns_sd_device_lister.o
../../chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.cc:15:6: warning: unused function 'FillServiceInfo' [-Wunused-function]
void FillServiceInfo(const ServiceDescription& service_description,
     ^
In file included from ../../chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.cc:5:
../../chrome/browser/media/router/discovery/mdns/dns_sd_device_lister.h:55:24: warning: private field 'delegate_' is not used [-Wunused-private-field]
  DnsSdDelegate* const delegate_;
                       ^
2 warnings generated.
[601/22407] CXX obj/chrome/browser/safe_browsing/advanced_protection/advanced_protection_status_manager.o
../../chrome/browser/safe_browsing/advanced_protection_status_manager.cc:66:9: warning: code will never be executed [-Wunreachable-code]
    if (is_under_advanced_protection_)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../chrome/browser/safe_browsing/advanced_protection_status_manager.cc:65:7: note: silence by adding parentheses to mark code as explicitly dead
  if (false) {
      ^
      /* DISABLES CODE */ ( )
../../chrome/browser/safe_browsing/advanced_protection_status_manager.cc:37:12: warning: unused variable 'kForceTreatUserAsAdvancedProtection' [-Wunused-const-variable]
const char kForceTreatUserAsAdvancedProtection[] =
           ^
2 warnings generated.
[1458/22407] CXX obj/components/autofill/core/browser/browser/autofill_download_manager.o
../../components/autofill/core/browser/autofill_download_manager.cc:110:16: warning: unused variable 'kGoogApiKey' [-Wunused-const-variable]
constexpr char kGoogApiKey[] = "X-Goog-Api-Key";
               ^
../../components/autofill/core/browser/autofill_download_manager.cc:112:16: warning: unused variable 'kGoogEncodeResponseIfExecutable' [-Wunused-const-variable]
constexpr char kGoogEncodeResponseIfExecutable[] =
               ^
../../components/autofill/core/browser/autofill_download_manager.cc:239:34: warning: unused function 'GetNetworkTrafficAnnotation' [-Wunused-function]
net::NetworkTrafficAnnotationTag GetNetworkTrafficAnnotation(
                                 ^
../../components/autofill/core/browser/autofill_download_manager.cc:566:6: warning: unused function 'GetAPIBodyPayload' [-Wunused-function]
bool GetAPIBodyPayload(const std::string& payload,
     ^
4 warnings generated.
[1987/22407] CXX obj/components/flags_ui/flags_ui/flags_state.o
../../components/flags_ui/flags_state.cc:587:7: warning: add explicit braces to avoid dangling else [-Wdangling-else]
      else
      ^
1 warning generated.
[2198/22407] CXX obj/components/translate/core/browser/browser/translate_ranker_impl.o
../../components/translate/core/browser/translate_ranker_impl.cc:237:3: warning: code will never be executed [-Wunreachable-code]
  translate_event->set_ranker_request_timestamp_sec(
  ^~~~~~~~~~~~~~~
1 warning generated.
[2886/22407] CXX obj/components/password_manager/core/browser/browser/leak_detection_delegate.o
../../components/password_manager/core/browser/leak_detection_delegate.cc:32:6: warning: unused function 'LogString' [-Wunused-function]
void LogString(const PasswordManagerClient* client,
     ^
1 warning generated.
[3396/22407] CXX obj/components/security_interstitials/content/security_interstitial_page/cert_report_helper.o
../../components/security_interstitials/content/cert_report_helper.cc:147:7: warning: code will never be executed [-Wunreachable-code]
  if (metrics_helper_) {
      ^~~~~~~~~~~~~~~
../../components/security_interstitials/content/cert_report_helper.cc:144:7: note: silence by adding parentheses to mark code as explicitly dead
  if (true)
      ^
      /* DISABLES CODE */ ( )
../../components/security_interstitials/content/cert_report_helper.cc:33:14: warning: unused function 'GetPrefs' [-Wunused-function]
PrefService* GetPrefs(content::WebContents* web_contents) {
             ^
In file included from ../../components/security_interstitials/content/cert_report_helper.cc:5:
../../components/security_interstitials/content/cert_report_helper.h:109:25: warning: private field 'web_contents_' is not used [-Wunused-private-field]
  content::WebContents* web_contents_;
                        ^
../../components/security_interstitials/content/cert_report_helper.h:127:8: warning: private field 'can_show_enhanced_protection_message_' is not used [-Wunused-private-field]
  bool can_show_enhanced_protection_message_;
       ^
4 warnings generated.
[3591/22407] CXX obj/third_party/blink/renderer/modules/scheduler/scheduler/dom_scheduler.o
FAILED: obj/third_party/blink/renderer/modules/scheduler/scheduler/dom_scheduler.o 
clang++ -MMD -MF obj/third_party/blink/renderer/modules/scheduler/scheduler/dom_scheduler.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-5759-g02895eed-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_MODULES_IMPLEMENTATION=1 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_USE_PLATFORM_XCB_KHR -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_HAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_SHARED_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_VIRTUAL_MEMORY_CAGE -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DWTF_USE_WEBAUDIO_PFFFT=1 -DUSE_SYSTEM_LIBJPEG -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/khronos -I../../gpu -Igen/shim_headers/snappy_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -Igen/net/third_party/quiche/src -I../../net/third_party/quiche/overrides -I../../net/third_party/quiche/src/common/platform/default -I../../net/third_party/quiche/src -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/skia -I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include -I../../v8/include -Igen/v8/include -I../../third_party/mesa_headers -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/iccjpeg -I../../third_party/ots/src/include -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 -pthread -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-builtin-assume-aligned-alignment -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-bitwise-instead-of-logical -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wglobal-constructors -Wshadow -Wconversion -Wno-float-conversion -Wno-sign-conversion -Wno-implicit-float-conversion -Wno-implicit-int-conversion -Wno-enum-float-conversion -Wshadow -g0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations  -D__DATE__=  -D__TIME__=  -D__TIMESTAMP__= -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -c ../../third_party/blink/renderer/modules/scheduler/dom_scheduler.cc -o obj/third_party/blink/renderer/modules/scheduler/scheduler/dom_scheduler.o
PLEASE submit a bug report to https://bugs.llvm.org/ and include the crash backtrace, preprocessed source, and associated run script.
Stack dump:
0.	Program arguments: /usr/bin/clang++ -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 -pthread -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm -instcombine-lower-dbg-declare=0 -flto=thin -fsplit-lto-unit -fwhole-program-vtables -m64 -march=x86-64 -msse3 -ffile-compilation-dir=. -no-canonical-prefixes -Wall -Wextra -Wimplicit-fallthrough -Wunreachable-code-aggressive -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wloop-analysis -Wno-unneeded-internal-declaration -Wenum-compare-conditional -Wno-psabi -Wno-ignored-pragma-optimize -Wno-builtin-assume-aligned-alignment -Wno-unused-but-set-parameter -Wno-unused-but-set-variable -Wno-bitwise-instead-of-logical -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -ftrivial-auto-var-init=pattern -fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt -fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wglobal-constructors -Wshadow -Wconversion -Wno-float-conversion -Wno-sign-conversion -Wno-implicit-float-conversion -Wno-implicit-int-conversion -Wno-enum-float-conversion -Wshadow -g0 -std=c++14 -fno-trigraphs -Wno-trigraphs -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -Wno-deprecated-declarations -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -Wno-builtin-macro-redefined -Wno-unknown-warning-option -fcolor-diagnostics -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_OZONE=1 -DUSE_X11=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -DCR_CLANG_REVISION=\"llvmorg-14-init-5759-g02895eed-1\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_MODULES_IMPLEMENTATION=1 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DVK_USE_PLATFORM_XCB_KHR -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DWEBRTC_ENABLE_AVX2 -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DWEBRTC_USE_BUILTIN_ISAC_FIX=0 -DWEBRTC_USE_BUILTIN_ISAC_FLOAT=1 -DWEBRTC_USE_X11 -DWEBRTC_HAVE_SCTP -DNO_MAIN_THREAD_WRAPPING -DSK_UNTIL_CRBUG_1187654_IS_FIXED -DSK_WIN_FONTMGR_NO_SIMULATIONS -DSK_CODEC_DECODES_PNG -DSK_CODEC_DECODES_WEBP -DSK_ENCODE_PNG -DSK_ENCODE_WEBP -DSK_ENABLE_SKSL -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_GL -DSK_CODEC_DECODES_JPEG -DSK_ENCODE_JPEG -DSK_HAS_WUFFS_LIBRARY -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DV8_COMPRESS_POINTERS -DV8_COMPRESS_POINTERS_IN_SHARED_CAGE -DV8_31BIT_SMIS_ON_64BIT_ARCH -DV8_VIRTUAL_MEMORY_CAGE -DV8_DEPRECATION_WARNINGS -DCPPGC_CAGED_HEAP -DCRASHPAD_ZLIB_SOURCE_EXTERNAL -DUSE_SYSTEM_ZLIB=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DWTF_USE_WEBAUDIO_PFFFT=1 -DUSE_SYSTEM_LIBJPEG -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../third_party/libyuv/include -I../../third_party/jsoncpp/source/include -Igen/shim_headers/opus_shim -Igen/shim_headers/ffmpeg_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -I../../third_party/vulkan-deps/vulkan-headers/src/include -Igen/shim_headers/re2_shim -Igen/third_party/dawn/src/include -I../../third_party/dawn/src/include -I../../third_party/khronos -I../../gpu -Igen/shim_headers/snappy_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/ced/src -Igen/net/third_party/quiche/src -I../../net/third_party/quiche/overrides -I../../net/third_party/quiche/src/common/platform/default -I../../net/third_party/quiche/src -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/skia -I../../third_party/wuffs/src/release/c -I../../third_party/vulkan/include -I../../v8/include -Igen/v8/include -I../../third_party/mesa_headers -I../../third_party/crashpad/crashpad -I../../third_party/crashpad/crashpad/compat/linux -I../../third_party/crashpad/crashpad/compat/non_win -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/iccjpeg -I../../third_party/ots/src/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -c -MMD -MF obj/third_party/blink/renderer/modules/scheduler/scheduler/dom_scheduler.o.d -fcolor-diagnostics -o obj/third_party/blink/renderer/modules/scheduler/scheduler/dom_scheduler.o ../../third_party/blink/renderer/modules/scheduler/dom_scheduler.cc
1.	<eof> parser at end of file
2.	../../v8/include/v8-util.h:290:3: instantiating function definition 'v8::PersistentValueMapBase<WTF::StringImpl *, v8::String, blink::StringCacheMapTraits>::~PersistentValueMapBase'
3.	../../v8/include/v8-util.h:214:8: instantiating function definition 'v8::PersistentValueMapBase<WTF::StringImpl *, v8::String, blink::StringCacheMapTraits>::Clear'
4.	../../third_party/blink/renderer/platform/bindings/v8_global_value_map.h:36:15: instantiating function definition 'blink::V8GlobalValueMapTraits<WTF::StringImpl *, v8::String, v8::kWeakWithParameter>::Swap'
5.	../../third_party/blink/renderer/platform/wtf/hash_map.h:128:8: instantiating function definition 'WTF::HashMap<WTF::StringImpl *, unsigned long, WTF::StringHash>::swap'
6.	../../third_party/blink/renderer/platform/wtf/hash_table.h:763:8: instantiating function definition 'WTF::HashTable<WTF::StringImpl *, WTF::KeyValuePair<WTF::StringImpl *, unsigned long>, WTF::KeyValuePairKeyExtractor, WTF::StringHash, WTF::HashMapValueTraits<WTF::HashTraits<WTF::StringImpl *>, WTF::HashTraits<unsigned long>>, WTF::HashTraits<WTF::StringImpl *>, WTF::PartitionAllocator>::swap'
7.	../../third_party/blink/renderer/platform/wtf/allocator/partition_allocator.h:96:15: instantiating function definition 'WTF::PartitionAllocator::TraceBackingStoreIfMarked<WTF::KeyValuePair<WTF::StringImpl *, unsigned long>>'
8.	../../third_party/blink/renderer/platform/wtf/allocator/partition_allocator.h:96:15: LLVM IR generation of declaration 'WTF::PartitionAllocator::TraceBackingStoreIfMarked'
 #0 0x00007f5d66a4bc93 (/usr/bin/../lib/libLLVM-13.so+0xba2c93)
 #1 0x00007f5d66a49994 llvm::sys::CleanupOnSignal(unsigned long) (/usr/bin/../lib/libLLVM-13.so+0xba0994)
 #2 0x00007f5d6694f7b9 (/usr/bin/../lib/libLLVM-13.so+0xaa67b9)
 #3 0x00007f5d65b03da0 __restore_rt sigaction.c:0:0
 #4 0x00007f5d6e7184ee clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) (/usr/bin/../lib/libclang-cpp.so.13+0x20414ee)
 #5 0x00007f5d6e71e928 (/usr/bin/../lib/libclang-cpp.so.13+0x2047928)
 #6 0x00007f5d6e7908b2 (/usr/bin/../lib/libclang-cpp.so.13+0x20b98b2)
 #7 0x00007f5d6e6bb4e4 (/usr/bin/../lib/libclang-cpp.so.13+0x1fe44e4)
 #8 0x00007f5d6e28ed99 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb7d99)
 #9 0x00007f5d6e28d50f clang::Sema::PerformPendingInstantiations(bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb650f)
#10 0x00007f5d6e28ee54 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb7e54)
#11 0x00007f5d6e28d50f clang::Sema::PerformPendingInstantiations(bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb650f)
#12 0x00007f5d6e28ee54 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb7e54)
#13 0x00007f5d6e28d50f clang::Sema::PerformPendingInstantiations(bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb650f)
#14 0x00007f5d6e28ee54 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb7e54)
#15 0x00007f5d6e28d50f clang::Sema::PerformPendingInstantiations(bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb650f)
#16 0x00007f5d6e28ee54 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb7e54)
#17 0x00007f5d6e28d50f clang::Sema::PerformPendingInstantiations(bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb650f)
#18 0x00007f5d6e28ee54 clang::Sema::InstantiateFunctionDefinition(clang::SourceLocation, clang::FunctionDecl*, bool, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb7e54)
#19 0x00007f5d6e28d50f clang::Sema::PerformPendingInstantiations(bool) (/usr/bin/../lib/libclang-cpp.so.13+0x1bb650f)
#20 0x00007f5d6da36712 (/usr/bin/../lib/libclang-cpp.so.13+0x135f712)
#21 0x00007f5d6da36e9e clang::Sema::ActOnEndOfTranslationUnit() (/usr/bin/../lib/libclang-cpp.so.13+0x135fe9e)
#22 0x00007f5d6d3b6257 clang::Parser::ParseTopLevelDecl(clang::OpaquePtr<clang::DeclGroupRef>&, bool) (/usr/bin/../lib/libclang-cpp.so.13+0xcdf257)
#23 0x00007f5d6d2c4c22 clang::ParseAST(clang::Sema&, bool, bool) (/usr/bin/../lib/libclang-cpp.so.13+0xbedc22)
#24 0x00007f5d6ee6a899 clang::FrontendAction::Execute() (/usr/bin/../lib/libclang-cpp.so.13+0x2793899)
#25 0x00007f5d6edf49ec clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/usr/bin/../lib/libclang-cpp.so.13+0x271d9ec)
#26 0x00007f5d6eeeac99 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/usr/bin/../lib/libclang-cpp.so.13+0x2813c99)
#27 0x000055a29f46f8e9 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/usr/bin/clang+++0x128e9)
#28 0x000055a29f46ccf9 (/usr/bin/clang+++0xfcf9)
#29 0x00007f5d6eaafd75 (/usr/bin/../lib/libclang-cpp.so.13+0x23d8d75)
#30 0x00007f5d6694f8c3 llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/usr/bin/../lib/libLLVM-13.so+0xaa68c3)
#31 0x00007f5d6eab0120 (/usr/bin/../lib/libclang-cpp.so.13+0x23d9120)
#32 0x00007f5d6ea82b68 clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&) const (/usr/bin/../lib/libclang-cpp.so.13+0x23abb68)
#33 0x00007f5d6ea83609 clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) const (/usr/bin/../lib/libclang-cpp.so.13+0x23ac609)
#34 0x00007f5d6ea9372a clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*> >&) (/usr/bin/../lib/libclang-cpp.so.13+0x23bc72a)
#35 0x000055a29f46aa4f main (/usr/bin/clang+++0xda4f)
#36 0x00007f5d65aeeb25 __libc_start_main (/usr/bin/../lib/libc.so.6+0x27b25)
#37 0x000055a29f46c65e _start (/usr/bin/clang+++0xf65e)
clang++: error: clang frontend command failed with exit code 139 (use -v to see invocation)
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
clang++: note: diagnostic msg: 
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang++: note: diagnostic msg: ../../tools/clang/crashreports/dom_scheduler-ce7dac.cpp
clang++: note: diagnostic msg: ../../tools/clang/crashreports/dom_scheduler-ce7dac.sh
clang++: note: diagnostic msg: 

********************
[3592/22407] CXX obj/third_party/blink/renderer/modules/notifications/notifications/notification_resources_loader.o
[3596/22407] CXX obj/third_party/blink/renderer/modules/notifications/notifications/notification.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...

@ptr1337
Copy link
Contributor

ptr1337 commented Jan 4, 2022

I'll give a try on a chroot on my server.
Will report soon.

@c0d3z3r0
Copy link
Author

c0d3z3r0 commented Jan 4, 2022

Building now inside a fresh arch chroot, too. Let's see...

@ptr1337
Copy link
Contributor

ptr1337 commented Jan 4, 2022

Seems to work fine so far. So im already over his point where he got the errors.
Currently at: 25k/49.5k

@c0d3z3r0
Copy link
Author

c0d3z3r0 commented Jan 4, 2022

wtf.... here's my result from a fresh chroot:

/home/toor/ungoogled-chromium-archlinux/src/chromium-96.0.4664.110/third_party/android_rust_toolchain/toolchain/src/stdlibs/library/stdarch/crates/stdarch-verify/arm-intrinsics.html cannot be opened for writing! Adding write permission...
INFO: Path has no substitutions: third_party/crashpad/crashpad/doc/support/crashpad_doxygen.css
INFO: Path has no substitutions: tools/md_browser/base.css
==> Starting build()...
make: Entering directory '/home/toor/ungoogled-chromium-archlinux/src/chromium-launcher-8'
cc -o chromium -DLAUNCHER_VERSION=\"96.0.4664.110-1\" -DCHROMIUM_NAME=\"chromium\" -DCHROMIUM_BINARY=\"/usr/lib/chromium/chromium\" -DCHROMIUM_VENDOR="\"Arch Linux\"" -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include  -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now launcher.c -lglib-2.0 
make: Leaving directory '/home/toor/ungoogled-chromium-archlinux/src/chromium-launcher-8'
  -> Configuring Chromium
Done. Made 16235 targets from 2713 files in 12153ms
  -> Building Chromium
ninja: Entering directory `out/Release'
[3777/49551] CXX obj/third_party/angle/translator_gl_d3d_only/RemoveInvariantDec[3778/49551] CXX obj/third_party/angle/translator_gl_d3d_only/RecordConstantPrec[3779/49551] CXX obj/third_par[3785/49551] CXX obj/third_party/angle/translator_[3786/49551] CXX obj/third_party/angle/translator_gl_d3d_only/BuiltInFunctionEmu[3899/49551] CXX obj/third_party/angle..._backend/vk_internal_shaders_autogen.o
../../third_party/angle/src/libANGLE/renderer/vulkan/vk_internal_shaders_autogen.cpp:13:9: warning: 'USE_SYSTEM_ZLIB' macro redefined [-Wmacro-redefined]
#define USE_SYSTEM_ZLIB
        ^
<command line>:33:9: note: previous definition is here
#define USE_SYSTEM_ZLIB 1
        ^
1 warning generated.
[6485/49551] ACTION //third_party/devt...uild/toolchain/linux/unbundle:default)
FAILED: gen/third_party/devtools-frontend/src/front_end/panels/network/forward/forward-tsconfig.json gen/third_party/devtools-frontend/src/front_end/panels/network/forward/NetworkRequestId.js gen/third_party/devtools-frontend/src/front_end/panels/network/forward/NetworkRequestId.js.map gen/third_party/devtools-frontend/src/front_end/panels/network/forward/NetworkRequestId.d.ts gen/third_party/devtools-frontend/src/front_end/panels/network/forward/UIFilter.js gen/third_party/devtools-frontend/src/front_end/panels/network/forward/UIFilter.js.map gen/third_party/devtools-frontend/src/front_end/panels/network/forward/UIFilter.d.ts gen/third_party/devtools-frontend/src/front_end/panels/network/forward/UIRequestLocation.js gen/third_party/devtools-frontend/src/front_end/panels/network/forward/UIRequestLocation.js.map gen/third_party/devtools-frontend/src/front_end/panels/network/forward/UIRequestLocation.d.ts 
python3 ../../third_party/devtools-frontend/src/third_party/typescript/ts_library.py --tsconfig_output_location gen/third_party/devtools-frontend/src/front_end/panels/network/forward/forward-tsconfig.json --deps ../../../core/sdk/bundle-tsconfig.json ../../../models/text_utils/bundle-tsconfig.json --front_end_directory ../../third_party/devtools-frontend/src/front_end/panels/network/forward --reset_timestamps --sources ../../third_party/devtools-frontend/src/front_end/panels/network/forward/NetworkRequestId.ts ../../third_party/devtools-frontend/src/front_end/panels/network/forward/UIFilter.ts ../../third_party/devtools-frontend/src/front_end/panels/network/forward/UIRequestLocation.ts

TypeScript compilation failed. Used tsconfig gen/third_party/devtools-frontend/src/front_end/panels/network/forward/forward-tsconfig.json



[6489/49551] ACTION //third_party/devt...uild/toolchain/linux/unbundle:default)
FAILED: gen/third_party/devtools-frontend/src/front_end/models/logs/devtools_entrypoint-bundle-tsconfig-tsconfig.json gen/third_party/devtools-frontend/src/front_end/models/logs/logs.prebundle.js gen/third_party/devtools-frontend/src/front_end/models/logs/logs.prebundle.js.map gen/third_party/devtools-frontend/src/front_end/models/logs/logs.prebundle.d.ts 
python3 ../../third_party/devtools-frontend/src/third_party/typescript/ts_library.py --tsconfig_output_location gen/third_party/devtools-frontend/src/front_end/models/logs/devtools_entrypoint-bundle-tsconfig-tsconfig.json --deps ./logs-tsconfig.json --front_end_directory gen/third_party/devtools-frontend/src/front_end/models/logs --sources gen/third_party/devtools-frontend/src/front_end/models/logs/logs.prebundle.ts

TypeScript compilation failed. Used tsconfig gen/third_party/devtools-frontend/src/front_end/models/logs/devtools_entrypoint-bundle-tsconfig-tsconfig.json



[6490/49551] CXX obj/third_party/perfetto/src/trace_processor/db/db/column.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().

@networkException
Copy link
Member

Do you have a pending kernel update maybe?

@ptr1337
Copy link
Contributor

ptr1337 commented Jan 4, 2022

-> Compressing package...
==> Leaving fakeroot environment.
==> Signing package(s)...
  -> Created signature file ungoogled-chromium-96.0.4664.110-1-x86_64_v3.pkg.tar.zst.sig.
==> Finished making: ungoogled-chromium 96.0.4664.110-1 (Tue 04 Jan 2022 06:32:15 PM UTC)
==> Cleaning up...

________________________________________________________
Executed in   95.01 mins    fish           external
   usr time    2.36 secs  290.00 micros    2.36 secs
   sys time    1.76 secs  125.00 micros    1.76 secs

Seems everything to compile well, no errors. used a chroot for it.

@jstkdng
Copy link
Member

jstkdng commented Jan 4, 2022

It'd be nice to know which clang version you are using, and that clang backtrace isn't included on vanilla arch afaik so it might be hard to replicate your bug.
Finally, latest OBS build ran fine.

@c0d3z3r0
Copy link
Author

c0d3z3r0 commented Jan 4, 2022

@networkException

Do you have a pending kernel update maybe?

I'm on a custom kernel. I'd be very surprised if that'd cause this issue, since I didn't have such problems before. Though, there is a small chance.

@jstkdng

It'd be nice to know which clang version you are using, and that clang backtrace isn't included on vanilla arch afaik so it might be hard to replicate your bug. Finally, latest OBS build ran fine.

latest clang from the repo:

clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin
Found candidate GCC installation: /usr/bin/../lib/gcc/x86_64-pc-linux-gnu/11.1.0
Found candidate GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0
Selected GCC installation: /usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/11.1.0
Candidate multilib: .;@m64
Candidate multilib: 32;@m32
Selected multilib: .;@m64

However, I'm not sure anymore if this is really a clang problem alone. That failed script in #162 (comment) is strange... I could run that build command manually fine...

I switched to the OBS binaries for now...

@networkException networkException added the more info needed There is not enough information to meaningly respond or help label Jan 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more info needed There is not enough information to meaningly respond or help
Projects
None yet
Development

No branches or pull requests

4 participants