-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Closed
Labels
Milestone
Description
Steps to Reproduce
Following the directions from here: https://www.mono-project.com/docs/compiling-mono/windows/, but specifically:
- Install cygwin as recommended with
- Log in, and go to the mono directory I've previously cloned
- Run ./autogen.sh --prefix=$PREFIX --host=x86_64-w64-mingw32 --enable-msvc --disable-boehm
- Run make -j33
Current Behavior
The make command terminates with this:
CCLD libmono-dbg.la
CCLD libmono-ee-interp.la
CXXLD libmini.la
CCLD libmonosgen-2.0.la
CC libmain_a-main-sgen.o
AR libmain.a
../../mono/eglib/.libs/libeglib.a(libeglib_la-gunicode-win32.o): In function `sprintf':
/usr/x86_64-w64-mingw32/sys-root/mingw/include/stdio.h:909: undefined reference to `__chk_fail'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:1718: libmonosgen-2.0.la] Error 1
make[4]: Leaving directory '/cygdrive/g/Dev/personal/tinkerengine/3rdparty/mono/mono/mini'
make[3]: *** [Makefile:1544: all] Error 2
make[3]: Leaving directory '/cygdrive/g/Dev/personal/tinkerengine/3rdparty/mono/mono/mini'
make[2]: *** [Makefile:529: all-recursive] Error 1
make[2]: Leaving directory '/cygdrive/g/Dev/personal/tinkerengine/3rdparty/mono/mono'
make[1]: *** [Makefile:597: all-recursive] Error 1
make[1]: Leaving directory '/cygdrive/g/Dev/personal/tinkerengine/3rdparty/mono'
make: *** [Makefile:525: all] Error 2
Expected Behavior
I'd expect the libraries to be built successfully.
On which platforms did you notice this
Windows, with cygwin.
Version Used:
$ mono --version
Mono JIT compiler version 6.11.0 (master/ffdffa54f24)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS:
SIGSEGV: normal
Notification: Thread + polling
Architecture: amd64
Disabled: none
Misc: softdebug
Interpreter: yes
Suspend: hybrid
GC: sgen (concurrent by default)
Some more information: output of configure:
checking compiler server... yes
configure: WARNING: compiler server temporarily disabled on darwin and win32
mcs source: mcs
C# Compiler: roslyn
CompilerServer:
Engine:
Host: x86_64-w64-mingw32
Target: x86_64-w64-mingw32
GC: sgen (concurrent by default)
Suspend: Hybrid
TLS: pthread
SIGALTSTACK: no
Engine: Building and using the JIT
BigArrays: no
DTrace: no
LLVM Back End: no (dynamically loaded: no, built in-tree: no, assertions: no, msvc only: no)
Spectre: no mitigation
Mono.Native: no
Libraries:
.NET 4.x: yes
Xamarin.Android: no
Xamarin.iOS: no
Xamarin.WatchOS: no
Xamarin.TVOS: no
Xamarin.Mac: no
Windows AOT: no
Orbis: no
Unreal: no
WebAssembly: no
Test profiles: AOT Full (no), AOT Hybrid (no), AOT Full Interp (no), Windows Full AOT Interp (no)
JNI support: no
libgdiplus: assumed to be installed
zlib: bundled zlib
BTLS: no
jemalloc: no (always use: no)
crash reporting: no (private crashes: yes)
.NET Core: no
Now type `make' to compile