Skip to content

Instantly share code, notes, and snippets.

View mati865's full-sized avatar

Mateusz Mikuła mati865

  • małopolskie, Poland
  • 02:51 (UTC +01:00)
View GitHub Profile
+ cd qtbase
+ D:\projekty\msys2\build\mingw-w64-qt5-git\src\qt5\qtbase\configure.bat -top-level -prefix D:/projekty/msys2/build/mingw-w64-qt5-git/pkg/mingw-w64-x86_64-qt5-git/mingw64 -datadir D:/projekty/msys2/build/mingw-w64-qt5-git/pkg/mingw-w64-x86_64-qt5-git/mingw64/share/qt5 -archdatadir D:/projekty/msys2/build/mingw-w64-qt5-git/pkg/mingw-w64-x86_64-qt5-git/mingw64/share/qt5 -examplesdir D:/projekty/msys2/build/mingw-w64-qt5-git/pkg/mingw-w64-x86_64-qt5-git/mingw64/share/qt5/examples -testsdir D:/projekty/msys2/build/mingw-w64-qt5-git/pkg/mingw-w64-x86_64-qt5-git/mingw64/share/qt5/tests -opengl desktop -opensource -confirm-license -platform win32-g++ -release -I D:/msys64/mingw64/include/dbus-1.0 -I D:/msys64/mingw64/lib/dbus-1.0/include -I D:/msys64/mingw64/include/libxml2 -I D:/msys64/mingw64/include/freetype2 -I D:/msys64/mingw64/include -I D:/msys64/mingw64/include/libpng16 -I D:/msys64/mingw64/include/harfbuzz -I D:/msys64/mingw64/include/glib-2.0 -I D:/msys64/mingw64/lib/glib-2.0/include -I D:/msys
#building hello-world on windows
mati865@DESKTOP-0J8VPHJ MINGW64 /d/projekty/msys2/build/node/hello-world
$ node-gyp build
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Wejście do katalogu '/d/projekty/msys2/build/node/hello-world/build'
SOLINK_MODULE(target) Release/obj.target/binding.node
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
[ 69%] Linking CXX shared library ../../bin/LTO.dll
Cannot export LLVMCreateDisasm: symbol not defined
Cannot export LLVMCreateDisasmCPU: symbol not defined
Cannot export LLVMDisasmDispose: symbol not defined
Cannot export LLVMDisasmInstruction: symbol not defined
Cannot export LLVMSetDisasmOptions: symbol not defined
CMakeFiles/LTO.dir/objects.a(LTODisassembler.cpp.obj):LTODisassembler.cpp:(.text+0x4): undefined reference to `LLVMInitializeARMTargetInfo'
CMakeFiles/LTO.dir/objects.a(LTODisassembler.cpp.obj):LTODisassembler.cpp:(.text+0x9): undefined reference to `LLVMInitializeX86TargetInfo'
CMakeFiles/LTO.dir/objects.a(LTODisassembler.cpp.obj):LTODisassembler.cpp:(.text+0xe): undefined reference to `LLVMInitializeARMTargetMC'
CMakeFiles/LTO.dir/objects.a(LTODisassembler.cpp.obj):LTODisassembler.cpp:(.text+0x13): undefined reference to `LLVMInitializeX86TargetMC'
#GCC
nm /d/projekty/msys2/clang/testing/yumetodo-tls_test-69e560d1c0b3/TLS_test/build/CMakeFiles/TLS_test.dir/a.cpp.obj
0000000000000000 b .bss
0000000000000000 d .data
0000000000000000 p .pdata
0000000000000000 r .rdata$zzz
0000000000000000 t .text
0000000000000000 r .xdata
U __emutls_get_address
0000000000000020 d __emutls_v.__tls_guard
-- Testing: 9610 tests, 2 threads --
Testing: 0 .. 10.. 20.. 30..
FAIL: Clang :: Driver/mingw.cpp (3715 of 9610)
******************** TEST 'Clang :: Driver/mingw.cpp' FAILED ********************
Script:
--
D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-x86_64/./bin/clang.EXE -target i686-windows-gnu -c -### --sysroot=D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.1.src/tools/clang/test/Driver/Inputs/mingw_clang_tree/mingw32 D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.1.src/tools/clang/test/Driver/mingw.cpp 2>&1 | D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-x86_64/./bin/FileCheck.EXE -check-prefix=CHECK_MINGW_CLANG_TREE D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.1.src/tools/clang/test/Driver/mingw.cpp
D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/build-x86_64/./bin/clang.EXE -target i686-pc-windows-gnu -stdlib=libstdc++ -c -### --sysroot=D:/projekty/msys2/MINGW-packages/mingw-w64-clang/src/llvm-3.9.1.src/tools/clang/test/Dr
MINGW64 ~
$ ls /mingw64/bin | grep '\-[0-9]'
2to3-3.5
apr-1-config
apu-1-config
avcodec-57.dll
avdevice-57.dll
avfilter-6.dll
avformat-57.dll
avresample-3.dll
@mati865
mati865 / clang-svn
Last active February 14, 2017 19:10
-- Testing: 10413 tests, 2 threads --
Testing: 0 .. 10.. 20.. 30..
FAIL: Clang :: Driver/mingw.cpp (3959 of 10413)
******************** TEST 'Clang :: Driver/mingw.cpp' FAILED ********************
Script:
--
D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/./bin/clang.EXE -target i686-windows-gnu -rtlib=platform -c -### --sysroot=D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/llvm/tools/clang/test/Driver/Inputs/mingw_clang_tree/mingw32 D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/llvm/tools/clang/test/Driver/mingw.cpp 2>&1 | D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/./bin/FileCheck.EXE -check-prefix=CHECK_MINGW_CLANG_TREE D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/llvm/tools/clang/test/Driver/mingw.cpp
D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/./bin/clang.EXE -target i686-pc-windows-gnu -rtlib=platform -stdlib=libstdc++ -c -### --sysroot=D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/ll
@mati865
mati865 / llvm tests
Last active February 14, 2017 19:08
LLVM :: Transforms/SampleProfile/fnptr.ll killed from task manager due because it took more than 1 hour
-- Testing: 19711 tests, 2 threads --
Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60
FAIL: LLVM :: ExecutionEngine/OrcMCJIT/load-object-a.ll (12385 of 19711)
******************** TEST 'LLVM :: ExecutionEngine/OrcMCJIT/load-object-a.ll' FAILED ********************
Script:
--
rm -rf D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir2 D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir3
mkdir -p D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir D:/projekty/msys2/MINGW-packages/mingw-w64-clang-svn/src/build-x86_64/test/ExecutionEngine/OrcMCJIT/Output/load-object-a.ll.tmp.cachedir2 D:/projekty/msys2/MINGW-packages/mingw-w64-clang-s
@mati865
mati865 / npm
Created February 26, 2017 15:18
==> Zaczynam build()...
[email protected] D:\projekty\msys2\MINGW-packages\mingw-w64-npm\src\npm-4.3.0
`-- [email protected]
[email protected] D:\projekty\msys2\MINGW-packages\mingw-w64-npm\src\npm-4.3.0
`-- [email protected]
scripts/doc-build.sh doc/cli/npm-access.md man/man1/npm-access.1
scripts/doc-build.sh doc/cli/npm-adduser.md man/man1/npm-adduser.1
scripts/doc-build.sh doc/cli/npm-bin.md man/man1/npm-bin.1