Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gigi@gigi-VirtualBox:~$ ~/local/Source/apple/swift/utils/build-script \
- --release \
- --debug-swift
- + mkdir -p /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert
- + env HOST_VARIABLE_linux_i686__SWIFT_BENCHMARK_TARGETS= HOST_VARIABLE_linux_i686__SWIFT_RUN_BENCHMARK_TARGETS= HOST_VARIABLE_linux_i686__SWIFT_SDKS=LINUX HOST_VARIABLE_linux_i686__SWIFT_STDLIB_TARGETS=swift-test-stdlib-linux-i686 HOST_VARIABLE_linux_i686__SWIFT_TEST_TARGETS= /home/gigi/local/Source/apple/swift/utils/build-script-impl --workspace /home/gigi/local/Source/apple --build-dir /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert --install-prefix /usr --host-target linux-i686 --stdlib-deployment-targets linux-i686 --host-cc /usr/bin/clang --host-cxx /usr/bin/clang++ --darwin-xcrun-toolchain default --darwin-deployment-version-osx=10.9 --darwin-deployment-version-ios=7.0 --darwin-deployment-version-tvos=9.0 --darwin-deployment-version-watchos=2.0 --cmake /usr/bin/cmake --cmark-build-type Debug --llvm-build-type Release --swift-build-type Debug --swift-stdlib-build-type Release --lldb-build-type Release --foundation-build-type Release --libdispatch-build-type Release --libicu-build-type Release --xctest-build-type Release --swiftpm-build-type Release --swift-enable-assertions true --swift-stdlib-enable-assertions true --swift-analyze-code-coverage false --cmake-generator Ninja --build-jobs 1 '--common-cmake-options=-G Ninja -DCMAKE_C_COMPILER:PATH=/usr/bin/clang -DCMAKE_CXX_COMPILER:PATH=/usr/bin/clang++ -DLLVM_VERSION_MAJOR:STRING=5 -DLLVM_VERSION_MINOR:STRING=0 -DLLVM_VERSION_PATCH:STRING=0 -DCLANG_VERSION_MAJOR:STRING=5 -DCLANG_VERSION_MINOR:STRING=0 -DCLANG_VERSION_PATCH:STRING=0 -DCMAKE_MAKE_PROGRAM=/home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/ninja-build/ninja' --build-args=-j1 --cmark-cmake-options= '--llvm-cmake-options=-DLLVM_ENABLE_ASSERTIONS=TRUE -DLLVM_TARGETS_TO_BUILD=X86;ARM;AArch64;PowerPC;SystemZ;Mips' '--swift-cmake-options=-DSWIFT_STDLIB_ENABLE_SIL_OWNERSHIP=FALSE -DCMAKE_EXPORT_COMPILE_COMMANDS=TRUE -DSWIFT_FORCE_OPTIMIZED_TYPECHECKER=FALSE' --build-stdlib-deployment-targets all --ninja-bin=/home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/ninja-build/ninja --skip-build-foundation --skip-build-xctest --skip-build-lldb --skip-build-llbuild --skip-build-libdispatch --skip-build-libicu --skip-build-swiftpm --skip-build-playgroundlogger --skip-build-playgroundsupport --build-swift-dynamic-stdlib --build-swift-dynamic-sdk-overlay --skip-build-ios-device --skip-build-ios-simulator --skip-build-tvos-device --skip-build-tvos-simulator --skip-build-watchos-device --skip-build-watchos-simulator --skip-build-android --skip-test-swift --skip-test-cmark --skip-test-lldb --skip-test-llbuild --skip-test-swiftpm --skip-test-xctest --skip-test-foundation --skip-test-libdispatch --skip-test-libicu --skip-test-playgroundlogger --skip-test-playgroundsupport --skip-test-linux --skip-test-freebsd --skip-test-cygwin --skip-test-osx --skip-test-ios-host --skip-test-ios-simulator --skip-test-tvos-host --skip-test-tvos-simulator --skip-test-watchos-host --skip-test-watchos-simulator --skip-test-android-host --skip-test-benchmarks --skip-test-optimized --skip-test-optimize-for-size --android-deploy-device-path /data/local/tmp --llvm-lit-args=-sv
- Building the standard library for: swift-test-stdlib-linux-i686
- cmark: using gold linker
- + /usr/bin/cmake --build /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/cmark-linux-i686 -- -j1 all
- ninja: no work to do.
- llvm: using gold linker
- symlinking the system headers (/usr/include/c++) into the local clang build directory (/home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/llvm-linux-i686/include).
- + ln -s -f /usr/include/c++ /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/llvm-linux-i686/include
- + /usr/bin/cmake --build /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/llvm-linux-i686 -- -j1 all
- ninja: no work to do.
- swift: using gold linker
- + /usr/bin/cmake --build /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/swift-linux-i686 -- -j1 all swift-test-stdlib-linux-i686
- [1/580] Building CXX object lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o
- FAILED: lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o
- /usr/bin/clang++ -DCMARK_STATIC_DEFINE -DGTEST_HAS_RTTI=0 -D_DEBUG -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Ilib/ClangImporter -I/home/gigi/local/Source/apple/swift/lib/ClangImporter -Iinclude -I/home/gigi/local/Source/apple/swift/include -I/home/gigi/local/Source/apple/llvm/include -I/home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/llvm-linux-i686/include -I/home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/llvm-linux-i686/tools/clang/include -I/home/gigi/local/Source/apple/llvm/tools/clang/include -I/home/gigi/local/Source/apple/cmark/src -I/home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/cmark-linux-i686/src -Wno-unknown-warning-option -Werror=unguarded-availability-new -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -std=c++11 -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -fcolor-diagnostics -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -DOBJC_OLD_DISPATCH_PROTOTYPES=0 -g -fno-exceptions -fno-rtti -target i686-unknown-linux-gnu -O0 -g -UNDEBUG -MMD -MT lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o -MF lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o.d -o lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o -c /home/gigi/local/Source/apple/swift/lib/ClangImporter/ClangImporter.cpp
- terminate called after throwing an instance of 'std::bad_alloc'
- what(): std::bad_alloc
- 0 libLLVM-3.8.so.1 0xb4fc0bb9 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 57
- 1 libLLVM-3.8.so.1 0xb4fc0f7d
- 2 libLLVM-3.8.so.1 0xb4fbedf0 llvm::sys::RunSignalHandlers() + 64
- 3 libLLVM-3.8.so.1 0xb4fbef58
- 4 0xb7742cf0 __kernel_sigreturn + 0
- 5 0xb7742ce5 __kernel_vsyscall + 9
- 6 libc.so.6 0xb48b2ea9 gsignal + 57
- 7 libc.so.6 0xb48b4407 abort + 343
- 8 libstdc++.so.6 0xb4accd35 __gnu_cxx::__verbose_terminate_handler() + 341
- 9 libstdc++.so.6 0xb4aca833
- 10 libstdc++.so.6 0xb4aca8ad
- 11 libstdc++.so.6 0xb4acab70 __cxa_rethrow + 0
- 12 libstdc++.so.6 0xb4acb1cf
- 13 clang 0x0831224c
- 14 clang 0x0831916e clang::CodeGen::CGDebugInfo::CreateCXXMemberFunction(clang::CXXMethodDecl const*, llvm::DIFile*, llvm::DIType*) + 1374
- 15 clang 0x0831932b clang::CodeGen::CGDebugInfo::CollectCXXMemberFunctions(clang::CXXRecordDecl const*, llvm::DIFile*, llvm::SmallVectorImpl<llvm::Metadata*>&, llvm::DIType*) + 395
- 16 clang 0x083148b7 clang::CodeGen::CGDebugInfo::CreateTypeDefinition(clang::RecordType const*) + 439
- 17 clang 0x08314f2e clang::CodeGen::CGDebugInfo::CreateType(clang::RecordType const*) + 542
- 18 clang 0x08315072 clang::CodeGen::CGDebugInfo::CreateTypeNode(clang::QualType, llvm::DIFile*) + 210
- 19 clang 0x08315241 clang::CodeGen::CGDebugInfo::getOrCreateType(clang::QualType, llvm::DIFile*) + 129
- 20 clang 0x08318364 clang::CodeGen::CGDebugInfo::CollectTemplateParams(clang::TemplateParameterList const*, llvm::ArrayRef<clang::TemplateArgument>, llvm::DIFile*) + 1364
- 21 clang 0x08318c06 clang::CodeGen::CGDebugInfo::CollectFunctionTemplateParams(clang::FunctionDecl const*, llvm::DIFile*) + 150
- 22 clang 0x0831974a clang::CodeGen::CGDebugInfo::collectFunctionDeclProps(clang::GlobalDecl, llvm::DIFile*, llvm::StringRef&, llvm::StringRef&, llvm::DIScope*&, llvm::MDTupleTypedArrayWrapper<llvm::DINode>&, unsigned int&) + 250
- 23 clang 0x0831bc90 clang::CodeGen::CGDebugInfo::EmitFunctionStart(clang::GlobalDecl, clang::SourceLocation, clang::SourceLocation, clang::QualType, llvm::Function*, clang::CodeGen::CGBuilderTy&) + 752
- 24 clang 0x08366ea4 clang::CodeGen::CodeGenFunction::StartFunction(clang::GlobalDecl, clang::QualType, llvm::Function*, clang::CodeGen::CGFunctionInfo const&, clang::CodeGen::FunctionArgList const&, clang::SourceLocation, clang::SourceLocation) + 1428
- 25 clang 0x08368535 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl, llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 837
- 26 clang 0x0837f392 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl, llvm::GlobalValue*) + 322
- 27 clang 0x0838e430 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl, llvm::GlobalValue*) + 320
- 28 clang 0x0838e5cb clang::CodeGen::CodeGenModule::EmitDeferred() + 171
- 29 clang 0x0838e5e9 clang::CodeGen::CodeGenModule::EmitDeferred() + 201
- 30 clang 0x0838e756 clang::CodeGen::CodeGenModule::Release() + 38
- 31 clang 0x08666f6d
- 32 clang 0x086636a2
- 33 clang 0x087909fd clang::ParseAST(clang::Sema&, bool, bool) + 989
- 34 clang 0x085e4b6e clang::ASTFrontendAction::ExecuteAction() + 94
- 35 clang 0x086644b2 clang::CodeGenAction::ExecuteAction() + 34
- 36 clang 0x085e5c69 clang::FrontendAction::Execute() + 297
- 37 clang 0x085b7f2a clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 282
- 38 clang 0x086621bf clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 1935
- 39 clang 0x082ce5c1 cc1_main(llvm::ArrayRef<char const*>, char const*, void*) + 2257
- 40 clang 0x082cb1d0 main + 7056
- 41 libc.so.6 0xb489f637 __libc_start_main + 247
- 42 clang 0x082cc9d6
- Stack dump:
- 0. Program arguments: /usr/lib/llvm-3.8/bin/clang -cc1 -triple i686-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -disable-llvm-verifier -main-file-name ClangImporter.cpp -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -fuse-init-array -target-cpu pentium4 -dwarf-column-info -debug-info-kind=limited -dwarf-version=4 -debugger-tuning=gdb -coverage-file /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/swift-linux-i686/lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o -resource-dir /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0 -dependency-file lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o.d -MT lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o -D CMARK_STATIC_DEFINE -D GTEST_HAS_RTTI=0 -D _DEBUG -D _FILE_OFFSET_BITS=64 -D _LARGEFILE_SOURCE -D __STDC_CONSTANT_MACROS -D __STDC_FORMAT_MACROS -D __STDC_LIMIT_MACROS -I lib/ClangImporter -I /home/gigi/local/Source/apple/swift/lib/ClangImporter -I include -I /home/gigi/local/Source/apple/swift/include -I /home/gigi/local/Source/apple/llvm/include -I /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/llvm-linux-i686/include -I /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/llvm-linux-i686/tools/clang/include -I /home/gigi/local/Source/apple/llvm/tools/clang/include -I /home/gigi/local/Source/apple/cmark/src -I /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/cmark-linux-i686/src -D OBJC_OLD_DISPATCH_PROTOTYPES=0 -U NDEBUG -internal-isystem /usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/c++/5.4.0 -internal-isystem /usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/i386-linux-gnu/c++/5.4.0 -internal-isystem /usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/i386-linux-gnu/c++/5.4.0 -internal-isystem /usr/bin/../lib/gcc/i686-linux-gnu/5.4.0/../../../../include/c++/5.4.0/backward -internal-isystem /usr/local/include -internal-isystem /usr/lib/llvm-3.8/bin/../lib/clang/3.8.0/include -internal-externc-isystem /usr/include/i386-linux-gnu -internal-externc-isystem /include -internal-externc-isystem /usr/include -O0 -Wno-unknown-warning-option -Werror=unguarded-availability-new -Werror=date-time -Werror=unguarded-availability-new -Wall -W -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wcovered-switch-default -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wstring-conversion -Werror=switch -Wdocumentation -Wimplicit-fallthrough -Wunreachable-code -Woverloaded-virtual -std=c++11 -fdeprecated-macro -fdebug-compilation-dir /home/gigi/local/Source/apple/build/Ninja-ReleaseAssert+swift-DebugAssert/swift-linux-i686 -ferror-limit 19 -fmessage-length 0 -fvisibility-inlines-hidden -fno-rtti -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -o lib/ClangImporter/CMakeFiles/swiftClangImporter.dir/ClangImporter.cpp.o -x c++ /home/gigi/local/Source/apple/swift/lib/ClangImporter/ClangImporter.cpp
- 1. <eof> parser at end of file
- 2. Per-file LLVM IR generation
- 3. /home/gigi/local/Source/apple/swift/include/swift/AST/Attr.h:1305:8: Generating code for declaration 'swift::DeclAttributes::hasAttribute'
- clang: error: unable to execute command: Aborted (core dumped)
- clang: error: clang frontend command failed due to signal (use -v to see invocation)
- clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
- Target: i686-unknown-linux-gnu
- Thread model: posix
- InstalledDir: /usr/bin
- 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/ClangImporter-931b9d.cpp
- clang: note: diagnostic msg: /tmp/ClangImporter-931b9d.sh
- clang: note: diagnostic msg:
- ********************
- ninja: build stopped: subcommand failed.
- /home/gigi/local/Source/apple/swift/utils/build-script: fatal error: command terminated with a non-zero exit status 1, aborting
- gigi@gigi-VirtualBox:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement