Paste: Cygwin build.sh build logs

Author: nomennescio
Mode: factor
Date: Fri, 31 May 2024 17:37:39
Plain Text |
Building factor with 12 cores
invoke_make CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ CC_OPT=-flto=auto windows-x86-64 -j12
make factor factor-ffi-test factor-lib CONFIG=vm/Config.windows.x86.64
make[1]: Entering directory '/factor'
windres.exe --preprocessor=cat vm/factor.rs build/resources.o
x86_64-w64-mingw32-g++ -x c++-header -Wall -Wextra -pedantic -Wno-unused-command-line-argument -Wno-unused-function -DFACTOR_VERSION="0.100" -DFACTOR_GIT_LABEL="heads/zstd-7244f3bf71d3dbc2f33d5777de68c833f958ee70" -mwindows -m64 -flto=auto -O3 -Wl,-s -std=c++11 -O3 -mwindows -m64 -o build/master.hpp.gch vm/master.hpp
x86_64-w64-mingw32-gcc -c -Wall -Wextra -pedantic -Wno-unused-command-line-argument -Wno-unused-function -DFACTOR_VERSION="0.100" -DFACTOR_GIT_LABEL="heads/zstd-7244f3bf71d3dbc2f33d5777de68c833f958ee70" -mwindows -m64 -flto=auto -O3 -Wl,-s  -std=c99 -o build/ffi_test.o vm/ffi_test.c
x86_64-w64-mingw32-gcc -Wall -Wextra -pedantic -Wno-unused-command-line-argument -Wno-unused-function -DFACTOR_VERSION="0.100" -DFACTOR_GIT_LABEL="heads/zstd-7244f3bf71d3dbc2f33d5777de68c833f958ee70" -mwindows -m64 -flto=auto -O3 -Wl,-s  -shared -o libfactor-ffi-test.dll build/ffi_test.o
/usr/lib/gcc/x86_64-w64-mingw32/11/../../../../x86_64-w64-mingw32/bin/ld: /usr/x86_64-w64-mingw32/sys-root/mingw/lib/../lib/libmingw32.a(lib64_libmingw32_a-crtexewin.o): in function `main':
/usr/src/debug/mingw64-x86_64-runtime-11.0.1-1/crt/crtexewin.c:70:(.text.startup+0xbd): undefined reference to `WinMain'
collect2: error: ld returned 1 exit status
make[1]: *** [GNUmakefile:287: build/master.hpp.gch] Error 1
make[1]: Leaving directory '/factor'
make: *** [GNUmakefile:246: windows-x86-64] Error 2
make failed

New Annotation

Summary:
Author:
Mode:
Body: