https://llvm.org/bugs/show_bug.cgi?id=24609
Bug ID: 24609 Summary: clang: error: unable to execute command: Segmentation fault (core dumped) Product: clang Version: 3.5 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Frontend Assignee: unassignedclangb...@nondot.org Reporter: mjsonofha...@gmail.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Hello. I don't really know what llvm.org is, or what to do with a crash backtrace, preprocessed source, or associated run script. However, the error I received while trying to compile Unreal Engine 4 for Linux did compel me to submit a bug report with all of the aforementioned items attached, so I will attempt do so to the best of my abilities. Hope this is found useful. #Crash backtrace: [107/183] Compile Module.EditorStyle.cpp 0 clang 0x00000000022e1575 llvm::sys::PrintStackTrace(_IO_FILE*) + 37 1 clang 0x00000000022e1d63 2 libpthread.so.0 0x00007fb837072430 3 clang 0x0000000002288102 llvm::MCExpr::EvaluateAsRelocatableImpl(llvm::MCValue&, llvm::MCAssembler const*, llvm::MCAsmLayout const*, llvm::DenseMap<llvm::MCSectionData const*, unsigned long, llvm::DenseMapInfo<llvm::MCSectionData const*> > const*, bool, bool) const + 322 4 clang 0x00000000022884f3 llvm::MCExpr::EvaluateAsValue(llvm::MCValue&, llvm::MCAsmLayout const*) const + 35 5 clang 0x0000000002275af7 llvm::MCAssembler::evaluateFixup(llvm::MCAsmLayout const&, llvm::MCFixup const&, llvm::MCFragment const*, llvm::MCValue&, unsigned long&) const + 55 6 clang 0x0000000002276f10 llvm::MCAssembler::Finish() + 1296 7 clang 0x0000000001d17d4c llvm::AsmPrinter::doFinalization(llvm::Module&) + 2476 8 clang 0x0000000002232899 llvm::FPPassManager::doFinalization(llvm::Module&) + 73 9 clang 0x0000000002232cd0 llvm::legacy::PassManagerImpl::run(llvm::Module&) + 1040 10 clang 0x00000000008c035d clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::StringRef, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 7405 11 clang 0x00000000008bd961 12 clang 0x0000000000a5e1f3 clang::ParseAST(clang::Sema&, bool, bool) + 467 13 clang 0x00000000007016a9 clang::FrontendAction::Execute() + 57 14 clang 0x00000000006d6e43 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 771 15 clang 0x00000000006bc967 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3207 16 clang 0x00000000006b42a0 cc1_main(char const**, char const**, char const*, void*) + 672 17 clang 0x00000000006baa0a main + 8474 18 libc.so.6 0x00007fb83621d700 __libc_start_main + 240 19 clang 0x00000000006b3f35 Stack dump: 0. Program arguments: /usr/local/bin/clang -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -main-file-name Module.Slate.1_of_4.cpp -mrelocation-model static -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-feature +mmx -target-feature +sse -target-feature +sse2 -target-linker-version 2.23.2 -momit-leaf-frame-pointer -gdwarf-3 -dwarf-column-info -coverage-file /home/mjsonofharry/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Client/Development/Slate/Module.Slate.1_of_4.cpp.o -resource-dir /usr/local/bin/../lib/clang/3.5.0 -D PLATFORM_EXCEPTIONS_DISABLED=0 -D _LINUX64 -D UE_GAME=1 -D IS_PROGRAM=0 -D UNICODE -D _UNICODE -D __UNREAL__ -D IS_MONOLITHIC=1 -D WITH_ENGINE=1 -D WITH_UNREAL_DEVELOPER_TOOLS=0 -D WITH_COREUOBJECT=1 -D USE_STATS_WITHOUT_ENGINE=0 -D WITH_PLUGIN_SUPPORT=0 -D USE_LOGGING_IN_SHIPPING=0 -D UE_BUILD_MINIMAL=1 -D WITH_EDITOR=0 -D WITH_EDITORONLY_DATA=0 -D WITH_SERVER_CODE=0 -D UBT_COMPILED_PLATFORM=Linux -D PLATFORM_LINUX=1 -D LINUX=1 -D WITH_DATABASE_SUPPORT=0 -D NDEBUG=1 -D UE_BUILD_DEVELOPMENT=1 -D ORIGINAL_FILE_NAME=UE4Client -D WITH_FREETYPE=1 -D WITH_FREETYPE=1 -D SLATE_API= -D UE_ENABLE_ICU=1 -D WITH_STEAMWORKS=1 -D WITH_DIRECTXMATH=0 -D CORE_API= -D COREUOBJECT_API= -D INPUTCORE_API= -D JSON_API= -D WITH_FREETYPE=1 -D SLATECORE_API= -D WITH_FREETYPE=1 -I /home/mjsonofharry/UnrealEngine/Engine/Source -I Runtime/Slate/Private -I Runtime/Slate/Private/Framework -I Runtime/Slate/Private/Framework/Application -I Runtime/Slate/Private/Framework/Commands -I Runtime/Slate/Private/Framework/Docking -I Runtime/Slate/Private/Framework/Layout -I Runtime/Slate/Private/Framework/MultiBox -I Runtime/Slate/Private/Framework/Notifications -I Runtime/Slate/Private/Framework/Styling -I Runtime/Slate/Private/Framework/Text -I Runtime/Slate/Private/Framework/Text/IOS -I Runtime/Slate/Private/Framework/Text/Tests -I Runtime/Slate/Private/Widgets/Colors -I Runtime/Slate/Private/Widgets/Docking -I Runtime/Slate/Private/Widgets/Images -I Runtime/Slate/Private/Widgets/Input -I Runtime/Slate/Private/Widgets/Layout -I Runtime/Slate/Private/Widgets/Notifications -I Runtime/Slate/Private/Widgets/Text -I Runtime/Slate/Private/Widgets/Views -I Runtime/Toolbox/Public -I Runtime/Slate/Public -I Runtime/Slate/Public/Framework -I Runtime/Slate/Public/Widgets -I Runtime/Slate/Public/Framework/Application -I Runtime/Slate/Public/Framework/Commands -I Runtime/Slate/Public/Framework/Docking -I Runtime/Slate/Public/Framework/Layout -I Runtime/Slate/Public/Framework/MultiBox -I Runtime/Slate/Public/Framework/Notifications -I Runtime/Slate/Public/Framework/Styling -I Runtime/Slate/Public/Framework/Text -I Runtime/Slate/Public/Framework/Views -I Runtime/Slate/Public/Framework/Text/Android -I Runtime/Slate/Public/Framework/Text/IOS -I Runtime/Slate/Public/Widgets/Colors -I Runtime/Slate/Public/Widgets/Docking -I Runtime/Slate/Public/Widgets/Images -I Runtime/Slate/Public/Widgets/Input -I Runtime/Slate/Public/Widgets/LayerManager -I Runtime/Slate/Public/Widgets/Layout -I Runtime/Slate/Public/Widgets/Navigation -I Runtime/Slate/Public/Widgets/Notifications -I Runtime/Slate/Public/Widgets/Text -I Runtime/Slate/Public/Widgets/Views -I ../Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Client/Inc/Slate -I Runtime/Core/Public -I Runtime/Core/Public/Internationalization -I Runtime/Core/Public/Async -I Runtime/Core/Public/Containers -I Runtime/Core/Public/Delegates -I Runtime/Core/Public/GenericPlatform -I Runtime/Core/Public/HAL -I Runtime/Core/Public/Logging -I Runtime/Core/Public/Math -I Runtime/Core/Public/Misc -I Runtime/Core/Public/Modules -I Runtime/Core/Public/Modules/Boilerplate -I Runtime/Core/Public/ProfilingDebugging -I Runtime/Core/Public/Serialization -I Runtime/Core/Public/Serialization/Csv -I Runtime/Core/Public/Stats -I Runtime/Core/Public/Templates -I Runtime/Core/Public/UObject -I Runtime/Core/Public/Linux -I Runtime/Core -I Runtime/CoreUObject/Classes -I Runtime/CoreUObject/Public -I Runtime/CoreUObject/Public/Blueprint -I Runtime/CoreUObject/Public/Misc -I Runtime/CoreUObject/Public/Serialization -I Runtime/CoreUObject/Public/Templates -I Runtime/CoreUObject/Public/UObject -I ../Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Client/Inc/CoreUObject -I Runtime/CoreUObject -I Runtime/InputCore/Classes -I Runtime/InputCore/Public -I ../Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Client/Inc/InputCore -I Runtime/InputCore -I Runtime/Json/Public -I Runtime/Json/Public/Dom -I Runtime/Json/Public/Policies -I Runtime/Json/Public/Serialization -I Runtime/Json -I Runtime/SlateCore/Public -I Runtime/SlateCore/Public/Animation -I Runtime/SlateCore/Public/Application -I Runtime/SlateCore/Public/Brushes -I Runtime/SlateCore/Public/Fonts -I Runtime/SlateCore/Public/Input -I Runtime/SlateCore/Public/Layout -I Runtime/SlateCore/Public/Logging -I Runtime/SlateCore/Public/Rendering -I Runtime/SlateCore/Public/Sound -I Runtime/SlateCore/Public/Stats -I Runtime/SlateCore/Public/Styling -I Runtime/SlateCore/Public/Textures -I Runtime/SlateCore/Public/Types -I Runtime/SlateCore/Public/Widgets -I ../Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Client/Inc/SlateCore -I Runtime/SlateCore -I Runtime/Slate -I ThirdParty/FreeType2 -I ThirdParty/FreeType2/FreeType2-2.4.12/include -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../include/c++/5.1.1 -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../include/c++/5.1.1/x86_64-redhat-linux -internal-isystem /usr/lib/gcc/x86_64-redhat-linux/5.1.1/../../../../include/c++/5.1.1/backward -internal-isystem /usr/local/include -internal-isystem /usr/local/bin/../lib/clang/3.5.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -O2 -Wall -Werror -Wsequence-point -Wno-unused-private-field -Wno-tautological-compare -Wno-undefined-bool-conversion -Wno-unused-variable -Wno-unused-function -Wno-switch -Wno-unknown-pragmas -Wno-invalid-offsetof -Wshadow -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /home/mjsonofharry/UnrealEngine/Engine/Source -ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-rtti -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -o /home/mjsonofharry/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Client/Development/Slate/Module.Slate.1_of_4.cpp.o -x c++ /home/mjsonofharry/UnrealEngine/Engine/Intermediate/Build/Linux/x86_64-unknown-linux-gnu/UE4Client/Development/Slate/Module.Slate.1_of_4.cpp 1. <eof> parser at end of file 2. Code generation [108/183] Compile EditorStyle.generated.cpp [109/183] Compile Landscape.generated.cpp clang: error: unable to execute command: Segmentation fault (core dumped) clang: error: clang frontend command failed due to signal (use -v to see invocation) clang version 3.5.0 (tags/RELEASE_350/final) Target: x86_64-unknown-linux-gnu Thread model: posix clang: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script. 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: /tmp/Module-077b18.cpp clang: note: diagnostic msg: /tmp/Module-077b18.sh clang: note: diagnostic msg: ******************** ##ASSOCIATED RUN SCRIPT: "/usr/local/bin/clang" -cc1 -triple x86_64-unknown-linux-gnu -emit-obj -disable-free -disable-llvm-verifier -main-file-name Module.Slate.1_of_4.cpp -mrelocation-model static -masm-verbose -mconstructor-aliases -munwind-tables -fuse-init-array -target-cpu x86-64 -target-feature +mmx -target-feature +sse -target-feature +sse2 -target-linker-version 2.23.2 -momit-leaf-frame-pointer -gdwarf-3 -dwarf-column-info -D "PLATFORM_EXCEPTIONS_DISABLED=0" -D "_LINUX64" -D "UE_GAME=1" -D "IS_PROGRAM=0" -D "UNICODE" -D "_UNICODE" -D "__UNREAL__" -D "IS_MONOLITHIC=1" -D "WITH_ENGINE=1" -D "WITH_UNREAL_DEVELOPER_TOOLS=0" -D "WITH_COREUOBJECT=1" -D "USE_STATS_WITHOUT_ENGINE=0" -D "WITH_PLUGIN_SUPPORT=0" -D "USE_LOGGING_IN_SHIPPING=0" -D "UE_BUILD_MINIMAL=1" -D "WITH_EDITOR=0" -D "WITH_EDITORONLY_DATA=0" -D "WITH_SERVER_CODE=0" -D "UBT_COMPILED_PLATFORM=Linux" -D "PLATFORM_LINUX=1" -D "LINUX=1" -D "WITH_DATABASE_SUPPORT=0" -D "NDEBUG=1" -D "UE_BUILD_DEVELOPMENT=1" -D "ORIGINAL_FILE_NAME=UE4Client" -D "WITH_FREETYPE=1" -D "WITH_FREETYPE=1" -D "SLATE_API=" -D "UE_ENABLE_ICU=1" -D "WITH_STEAMWORKS=1" -D "WITH_DIRECTXMATH=0" -D "CORE_API=" -D "COREUOBJECT_API=" -D "INPUTCORE_API=" -D "JSON_API=" -D "WITH_FREETYPE=1" -D "SLATECORE_API=" -D "WITH_FREETYPE=1" -O2 -Wall -Werror -Wsequence-point -Wno-unused-private-field -Wno-tautological-compare -Wno-undefined-bool-conversion -Wno-unused-variable -Wno-unused-function -Wno-switch -Wno-unknown-pragmas -Wno-invalid-offsetof -Wshadow -std=c++11 -fdeprecated-macro -ferror-limit 19 -fmessage-length 0 -mstackrealign -fno-rtti -fobjc-runtime=gcc -fcxx-exceptions -fexceptions -fdiagnostics-show-option -vectorize-loops -vectorize-slp -x c++ Module-077b18.cpp -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs