Created
October 23, 2022 19:39
-
-
Save ADKaster/66c8f46677d38360a535d6fb57e6fa8a to your computer and use it in GitHub Desktop.
llvm-mc-crash-emscripten
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[69/2164] Building CXX object _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o | |
FAILED: _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o | |
/usr/bin/ccache /home/andrew/emsdk/upstream/emscripten/em++ -I/home/andrew/serenity -I/home/andrew/serenity/Userland/Libraries -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build/Userland/Services -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build/Userland/Libraries -I/home/andrew/serenity/Meta/Lagom/../.. -I/home/andrew/serenity/Meta/Lagom/../../Userland -I/home/andrew/serenity/Meta/Lagom/../../Userland/Libraries -I/home/andrew/serenity/Meta/Lagom/../../Userland/Services -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug -g -ggnu-pubnames -Wall -Wextra -Werror -Wno-implicit-const-int-float-conversion -Wno-literal-suffix -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-unused-command-line-argument -fsigned-char -fno-exceptions -fdiagnostics-color=always -fPIC -g1 -O2 -fno-semantic-interposition -Wno-overloaded-virtual -Wno-user-defined-literals -fconstexpr-steps=16777216 -Wno-unused-private-field -std=c++20 -MD -MT _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o -MF _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o.d -o _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o -c /home/andrew/serenity/Userland/Libraries/LibCompress/BrotliDictionary.cpp | |
<inline asm>:1:17: error: Expected ,, instead got: | |
.section .rodata | |
^ | |
<inline asm>:5:1: error: unknown directive | |
.previous | |
^ | |
fatal error: error in backend: data symbols must live in a data section: brotli_dictionary_data | |
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace, preprocessed source, and associated run script. | |
Stack dump: | |
0. Program arguments: /home/andrew/emsdk/llvm/git/build_main_64/bin/clang++ -target wasm32-unknown-emscripten -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -DEMSCRIPTEN -I/home/andrew/emsdk/upstream/emscripten/cache/sysroot/include/SDL --sysroot=/home/andrew/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -I/home/andrew/serenity -I/home/andrew/serenity/Userland/Libraries -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build/Userland/Services -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build/Userland/Libraries -I/home/andrew/serenity/Meta/Lagom/../.. -I/home/andrew/serenity/Meta/Lagom/../../Userland -I/home/andrew/serenity/Meta/Lagom/../../Userland/Libraries -I/home/andrew/serenity/Meta/Lagom/../../Userland/Services -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug -g3 -ggnu-pubnames -Wall -Wextra -Werror -Wno-implicit-const-int-float-conversion -Wno-literal-suffix -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-unused-command-line-argument -fsigned-char -fno-exceptions -fdiagnostics-color=always -fPIC -g0 -O2 -fno-semantic-interposition -Wno-overloaded-virtual -Wno-user-defined-literals -fconstexpr-steps=16777216 -Wno-unused-private-field -std=c++20 -MD -MT _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o -MF _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o.d -c /home/andrew/serenity/Userland/Libraries/LibCompress/BrotliDictionary.cpp -o _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o | |
1. <eof> parser at end of file | |
2. Code generation | |
#0 0x000055d5a000d605 PrintStackTraceSignalHandler(void*) Signals.cpp:0:0 | |
#1 0x000055d5a000b2e4 llvm::sys::CleanupOnSignal(unsigned long) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x21802e4) | |
#2 0x000055d59ff57507 llvm::CrashRecoveryContext::HandleExit(int) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x20cc507) | |
#3 0x000055d5a0003062 llvm::sys::Process::Exit(int, bool) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2178062) | |
#4 0x000055d59eb750d7 (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0xcea0d7) | |
#5 0x000055d59ff5e1d0 llvm::report_fatal_error(llvm::Twine const&, bool) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x20d31d0) | |
#6 0x000055d59fc8587c (anonymous namespace)::WasmObjectWriter::writeOneObject(llvm::MCAssembler&, llvm::MCAsmLayout const&, (anonymous namespace)::WasmObjectWriter::DwoMode) WasmObjectWriter.cpp:0:0 | |
#7 0x000055d59fc8838f (anonymous namespace)::WasmObjectWriter::writeObject(llvm::MCAssembler&, llvm::MCAsmLayout const&) WasmObjectWriter.cpp:0:0 | |
#8 0x000055d59fc0665d llvm::MCAssembler::Finish() (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x1d7b65d) | |
#9 0x000055d5a0d3301e llvm::AsmPrinter::doFinalization(llvm::Module&) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2ea801e) | |
#10 0x000055d59f885535 llvm::FPPassManager::doFinalization(llvm::Module&) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x19fa535) | |
#11 0x000055d59f890600 llvm::legacy::PassManagerImpl::run(llvm::Module&) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x1a05600) | |
#12 0x000055d5a038f4fa clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::HeaderSearchOptions const&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, std::unique_ptr<llvm::raw_pwrite_stream, std::default_delete<llvm::raw_pwrite_stream>>) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x25044fa) | |
#13 0x000055d5a118320d clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x32f820d) | |
#14 0x000055d5a1d07279 clang::ParseAST(clang::Sema&, bool, bool) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x3e7c279) | |
#15 0x000055d5a0b15e39 clang::FrontendAction::Execute() (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2c8ae39) | |
#16 0x000055d5a0aa0d81 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2c15d81) | |
#17 0x000055d5a0bd5e30 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2d4ae30) | |
#18 0x000055d59eb76615 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0xceb615) | |
#19 0x000055d59eb6fe4d ExecuteCC1Tool(llvm::SmallVectorImpl<char const*>&) driver.cpp:0:0 | |
#20 0x000055d5a090ab59 void llvm::function_ref<void ()>::callback_fn<clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const::'lambda'()>(long) Job.cpp:0:0 | |
#21 0x000055d59ff572cb llvm::CrashRecoveryContext::RunSafely(llvm::function_ref<void ()>) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x20cc2cb) | |
#22 0x000055d5a090aee7 clang::driver::CC1Command::Execute(llvm::ArrayRef<llvm::Optional<llvm::StringRef>>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>*, bool*) const (.part.0) Job.cpp:0:0 | |
#23 0x000055d5a08d7c1e clang::driver::Compilation::ExecuteCommand(clang::driver::Command const&, clang::driver::Command const*&, bool) const (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2a4cc1e) | |
#24 0x000055d5a08d86fd clang::driver::Compilation::ExecuteJobs(clang::driver::JobList const&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&, bool) const (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2a4d6fd) | |
#25 0x000055d5a08e961c clang::driver::Driver::ExecuteCompilation(clang::driver::Compilation&, llvm::SmallVectorImpl<std::pair<int, clang::driver::Command const*>>&) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0x2a5e61c) | |
#26 0x000055d59eb74482 clang_main(int, char**) (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0xce9482) | |
#27 0x00007f261cb6cd90 __libc_start_call_main ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16 | |
#28 0x00007f261cb6ce40 call_init ./csu/../csu/libc-start.c:128:20 | |
#29 0x00007f261cb6ce40 __libc_start_main ./csu/../csu/libc-start.c:379:5 | |
#30 0x000055d59eb6f5c5 _start (/home/andrew/emsdk/llvm/git/build_main_64/bin/clang+++0xce45c5) | |
clang-16: error: clang frontend command failed with exit code 70 (use -v to see invocation) | |
clang version 16.0.0 (https://github.com/llvm/llvm-project.git e98501e27ed9ae9ceeaf80eac84d408c2ce4cd72) | |
Target: wasm32-unknown-emscripten | |
Thread model: posix | |
InstalledDir: /home/andrew/emsdk/llvm/git/build_main_64/bin | |
clang-16: note: diagnostic msg: | |
******************** | |
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: | |
Preprocessed source(s) and associated run script(s) are located at: | |
clang-16: note: diagnostic msg: /tmp/BrotliDictionary-d14978.cpp | |
clang-16: note: diagnostic msg: /tmp/BrotliDictionary-d14978.sh | |
clang-16: note: diagnostic msg: | |
******************** | |
em++: error: '/home/andrew/emsdk/llvm/git/build_main_64/bin/clang++ -target wasm32-unknown-emscripten -fignore-exceptions -fvisibility=default -mllvm -combiner-global-alias-analysis=false -mllvm -enable-emscripten-sjlj -mllvm -disable-lsr -DEMSCRIPTEN -I/home/andrew/emsdk/upstream/emscripten/cache/sysroot/include/SDL --sysroot=/home/andrew/emsdk/upstream/emscripten/cache/sysroot -Xclang -iwithsysroot/include/compat -I/home/andrew/serenity -I/home/andrew/serenity/Userland/Libraries -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build/Userland/Services -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug/_deps/lagom-build/Userland/Libraries -I/home/andrew/serenity/Meta/Lagom/../.. -I/home/andrew/serenity/Meta/Lagom/../../Userland -I/home/andrew/serenity/Meta/Lagom/../../Userland/Libraries -I/home/andrew/serenity/Meta/Lagom/../../Userland/Services -I/home/andrew/build-ladybird-WebAssembly_Qt_6_4_0-Debug -g3 -ggnu-pubnames -Wall -Wextra -Werror -Wno-implicit-const-int-float-conversion -Wno-literal-suffix -Wno-maybe-uninitialized -Wno-unknown-warning-option -Wno-unused-command-line-argument -fsigned-char -fno-exceptions -fdiagnostics-color=always -fPIC -g0 -O2 -fno-semantic-interposition -Wno-overloaded-virtual -Wno-user-defined-literals -fconstexpr-steps=16777216 -Wno-unused-private-field -std=c++20 -MD -MT _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o -MF _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o.d -c /home/andrew/serenity/Userland/Libraries/LibCompress/BrotliDictionary.cpp -o _deps/lagom-build/Userland/Libraries/LibCompress/CMakeFiles/LibCompress.dir/BrotliDictionary.cpp.o' failed (returned 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment