Skip to content

Instantly share code, notes, and snippets.

@mati865
Created October 24, 2016 17:30
Show Gist options
  • Save mati865/d845e3e91be191e1ff7e19aca81f7523 to your computer and use it in GitHub Desktop.
Save mati865/d845e3e91be191e1ff7e19aca81f7523 to your computer and use it in GitHub Desktop.
32 GCC:
D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/FileSystem.cpp: In static member function 'static int lldb_private::FileSystem::Stat(const char*, _stati64*)':
D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/FileSystem.cpp:288:9: error: static assertion failed: stat and _stat32/_stat64i32 must have the same layout
static_assert(sizeof(struct stat) == sizeof(file_stats),
^~~~~~~~~~~~~
At global scope:
cc1plus.exe: warning: unrecognized command line option '-Wno-vla-extension'
cc1plus.exe: warning: unrecognized command line option '-Wno-deprecated-register'
make[2]: *** [tools/lldb/source/Host/CMakeFiles/lldbHost.dir/build.make:1047: tools/lldb/source/Host/CMakeFiles/lldbHost.dir/windows/FileSystem.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:49038: tools/lldb/source/Host/CMakeFiles/lldbHost.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
32 Clang:
D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/FileSystem.cpp:74:35: warning: missing field 'wFunc' initializer [-Wmissing-field-initializers]
SHFILEOPSTRUCTW shfos = {0};
^
D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.0.src/tools/lldb/source/Host/windows/FileSystem.cpp:288:9: error: static_assert failed "stat and _stat32/_stat64i32 must have the same layout"
static_assert(sizeof(struct stat) == sizeof(file_stats),
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
make[2]: *** [tools/lldb/source/Host/CMakeFiles/lldbHost.dir/build.make:1047: tools/lldb/source/Host/CMakeFiles/lldbHost.dir/windows/FileSystem.cpp.obj] Error 1
make[1]: *** [CMakeFiles/Makefile2:49038: tools/lldb/source/Host/CMakeFiles/lldbHost.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
64 GCC:
../../../../lib/liblldbUtility.a(JSON.cpp.obj):JSON.cpp:(.text+0x530): multiple definition of `lldb_private::JSONString::JSONString(char const*)'
../../../../lib/liblldb.dll.a(d001988.o):(.text+0x0): first defined here
../../../../lib/liblldbUtility.a(JSON.cpp.obj):JSON.cpp:(.text+0x6f0): multiple definition of `lldb_private::JSONObject::JSONObject()'
../../../../lib/liblldb.dll.a(d001973.o):(.text+0x0): first defined here
../../../../lib/liblldbUtility.a(JSON.cpp.obj):JSON.cpp:(.text+0x850): multiple definition of `lldb_private::JSONArray::JSONArray()'
../../../../lib/liblldb.dll.a(d010702.o):(.text+0x0): first defined here
../../../../lib/liblldbUtility.a(JSON.cpp.obj):JSON.cpp:(.text+0xb00): multiple definition of `lldb_private::JSONArray::AppendObject(std::shared_ptr<lldb_private::JSONValue>)'
../../../../lib/liblldb.dll.a(d010697.o):(.text+0x0): first defined here
../../../../lib/liblldbUtility.a(JSON.cpp.obj):JSON.cpp:(.text+0xb60): multiple definition of `lldb_private::JSONObject::SetObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<lldb_private::JSONValue>)'
../../../../lib/liblldb.dll.a(d001972.o):(.text+0x0): first defined here
../../../../lib/liblldbCore.a(StreamString.cpp.obj):StreamString.cpp:(.text+0x10): multiple definition of `lldb_private::StreamString::~StreamString()'
../../../../lib/liblldb.dll.a(d003300.o):(.text+0x0): first defined here
../../../../lib/liblldbCore.a(StreamString.cpp.obj):StreamString.cpp:(.text+0xb0): multiple definition of `lldb_private::StreamString::StreamString()'
../../../../lib/liblldb.dll.a(d003296.o):(.text+0x0): first defined here
../../../../lib/liblldbCore.a(StreamString.cpp.obj):StreamString.cpp:(.text+0x150): multiple definition of `lldb_private::StreamString::GetData() const'
../../../../lib/liblldb.dll.a(d037564.o):(.text+0x0): first defined here
collect2.exe: error: ld returned 1 exit status
make[2]: *** [tools/lldb/tools/argdumper/CMakeFiles/lldb-argdumper.dir/build.make:214: bin/lldb-argdumper.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:54244: tools/lldb/tools/argdumper/CMakeFiles/lldb-argdumper.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
D:/projekty/msys2/clang/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/6.2.0/../../../../x86_64-w64-mingw32/lib/../lib/libmingw32.a(lib64_libmingw32_a-crt0_c.o): In function `main':
C:/repo/mingw-w64-crt-git/src/mingw-w64/mingw-w64-crt/crt/crt0_c.c:18: undefined reference to `WinMain'
collect2.exe: error: ld returned 1 exit status
make[2]: *** [tools/lldb/tools/driver/CMakeFiles/lldb.dir/build.make:240: bin/lldb.exe] Error 1
make[1]: *** [CMakeFiles/Makefile2:54416: tools/lldb/tools/driver/CMakeFiles/lldb.dir/all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment