+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/mono-6.12.0.122nb7/work.log + su pbulk -c '"$@"' make /opt/local/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent PYTHON_VERSION_REQD=310 WRKLOG=/tmp/bulklog/mono-6.12.0.122nb7/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 ===> Building for mono-6.12.0.122nb7 /opt/local/bin/gmake all-recursive gmake[1]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122' Making all in po gmake[2]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/po' Making all in mcs gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/po/mcs' gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/po/mcs' gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/po' gmake[3]: Nothing to be done for 'all-am'. gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/po' gmake[2]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/po' Making all in external/bdwgc gmake[2]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/external/bdwgc' gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/external/bdwgc' depbase=`echo extra/gc.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /usr/bin/bash ./libtool --tag=CC --mode=compile gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I./include -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fno-strict-aliasing -MT extra/gc.lo -MD -MP -MF $depbase.Tpo -c -o extra/gc.lo extra/gc.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT extra/gc.lo -MD -MP -MF extra/.deps/gc.Tpo -c extra/gc.c -fPIC -DPIC -o extra/.libs/gc.o In file included from extra/gc.c:52: extra/../finalize.c: In function 'GC_grow_table': extra/../finalize.c:113:60: warning: unused parameter 'entries_ptr' [-Wunused-parameter] 113 | signed_word *log_size_ptr, word *entries_ptr) | ~~~~~~^~~~~~~~~~~ In file included from ./include/private/gc_priv.h:122, from ./include/private/dbg_mlc.h:28, from extra/../backgraph.c:15, from extra/gc.c:39: extra/../os_dep.c: In function 'GC_setpagesize': ./include/private/gcconfig.h:2952:34: warning: implicit declaration of function 'getpagesize'; did you mean 'GC_setpagesize'? [-Wimplicit-function-declaration] 2952 | # define GETPAGESIZE() (unsigned)getpagesize() | ^~~~~~~~~~~ extra/../os_dep.c:827:30: note: in expansion of macro 'GETPAGESIZE' 827 | GC_page_size = (size_t)GETPAGESIZE(); | ^~~~~~~~~~~ In file included from extra/gc.c:66: extra/../heapsections.c: In function 'HeapSectionCountIncrementer': extra/../heapsections.c:87:56: warning: unused parameter 'start' [-Wunused-parameter] 87 | void HeapSectionCountIncrementer(void* context, GC_PTR start, GC_PTR end) | ~~~~~~~^~~~~ extra/../heapsections.c:87:70: warning: unused parameter 'end' [-Wunused-parameter] 87 | void HeapSectionCountIncrementer(void* context, GC_PTR start, GC_PTR end) | ~~~~~~~^~~ libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT extra/gc.lo -MD -MP -MF extra/.deps/gc.Tpo -c extra/gc.c -o extra/gc.o >/dev/null 2>&1 /usr/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu11 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fno-strict-aliasing -version-info 5:0:4 -no-undefined -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o libgc.la extra/gc.lo -lpthread -lrt -ldl libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: ar cru .libs/libgc.a extra/.libs/gc.o libtool: link: ranlib .libs/libgc.a libtool: link: ( cd ".libs" && rm -f "libgc.la" && ln -s "../libgc.la" "libgc.la" ) /usr/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu11 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fno-strict-aliasing -static -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o libgc-static.la extra/gc.lo -lpthread -lrt -ldl libtool: link: ar cru .libs/libgc-static.a extra/gc.o libtool: link: ranlib .libs/libgc-static.a libtool: link: ( cd ".libs" && rm -f "libgc-static.la" && ln -s "../libgc-static.la" "libgc-static.la" ) /usr/bin/bash ./libtool --tag=CC --mode=compile gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I./include -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fno-strict-aliasing -MT cord/libcord_la-cordbscs.lo -MD -MP -MF cord/.deps/libcord_la-cordbscs.Tpo -c -o cord/libcord_la-cordbscs.lo `test -f 'cord/cordbscs.c' || echo './'`cord/cordbscs.c libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT cord/libcord_la-cordbscs.lo -MD -MP -MF cord/.deps/libcord_la-cordbscs.Tpo -c cord/cordbscs.c -fPIC -DPIC -o cord/.libs/libcord_la-cordbscs.o libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT cord/libcord_la-cordbscs.lo -MD -MP -MF cord/.deps/libcord_la-cordbscs.Tpo -c cord/cordbscs.c -o cord/libcord_la-cordbscs.o >/dev/null 2>&1 mv -f cord/.deps/libcord_la-cordbscs.Tpo cord/.deps/libcord_la-cordbscs.Plo /usr/bin/bash ./libtool --tag=CC --mode=compile gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I./include -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fno-strict-aliasing -MT cord/libcord_la-cordprnt.lo -MD -MP -MF cord/.deps/libcord_la-cordprnt.Tpo -c -o cord/libcord_la-cordprnt.lo `test -f 'cord/cordprnt.c' || echo './'`cord/cordprnt.c libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT cord/libcord_la-cordprnt.lo -MD -MP -MF cord/.deps/libcord_la-cordprnt.Tpo -c cord/cordprnt.c -fPIC -DPIC -o cord/.libs/libcord_la-cordprnt.o libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT cord/libcord_la-cordprnt.lo -MD -MP -MF cord/.deps/libcord_la-cordprnt.Tpo -c cord/cordprnt.c -o cord/libcord_la-cordprnt.o >/dev/null 2>&1 mv -f cord/.deps/libcord_la-cordprnt.Tpo cord/.deps/libcord_la-cordprnt.Plo /usr/bin/bash ./libtool --tag=CC --mode=compile gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I./include -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fno-strict-aliasing -MT cord/libcord_la-cordxtra.lo -MD -MP -MF cord/.deps/libcord_la-cordxtra.Tpo -c -o cord/libcord_la-cordxtra.lo `test -f 'cord/cordxtra.c' || echo './'`cord/cordxtra.c libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT cord/libcord_la-cordxtra.lo -MD -MP -MF cord/.deps/libcord_la-cordxtra.Tpo -c cord/cordxtra.c -fPIC -DPIC -o cord/.libs/libcord_la-cordxtra.o cord/cordxtra.c: In function 'CORD_lf_func': cord/cordxtra.c:570:39: warning: cast between incompatible function types from 'char (*)(refill_data *)' to 'void * (*)(void *)' [-Wcast-function-type] 570 | GC_call_with_alloc_lock((GC_fn_type) refill_cache, &rd)); | ^ libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I./include -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -fno-strict-aliasing -MT cord/libcord_la-cordxtra.lo -MD -MP -MF cord/.deps/libcord_la-cordxtra.Tpo -c cord/cordxtra.c -o cord/libcord_la-cordxtra.o >/dev/null 2>&1 mv -f cord/.deps/libcord_la-cordxtra.Tpo cord/.deps/libcord_la-cordxtra.Plo /usr/bin/bash ./libtool --tag=CC --mode=link gcc -std=gnu11 -fexceptions -Wall -Wextra -Wpedantic -Wno-long-long -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -I/opt/local/include -I/usr/include -I/opt/local/include/python3.10 -fno-strict-aliasing -version-info 4:0:3 -no-undefined -L/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -Wl,-R/opt/local/gcc10/lib/gcc/x86_64-sun-solaris2.11/10.3.0 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -o libcord.la cord/libcord_la-cordbscs.lo cord/libcord_la-cordprnt.lo cord/libcord_la-cordxtra.lo ./libgc.la libtool: warning: '-version-info/-version-number' is ignored for convenience libraries libtool: link: (cd .libs/libcord.lax/libgc.a && ar x "/home/pbulk/build/lang/mono/work/mono-6.12.0.122/external/bdwgc/./.libs/libgc.a") libtool: link: ar cru .libs/libcord.a cord/.libs/libcord_la-cordbscs.o cord/.libs/libcord_la-cordprnt.o cord/.libs/libcord_la-cordxtra.o .libs/libcord.lax/libgc.a/gc.o libtool: link: ranlib .libs/libcord.a libtool: link: rm -fr .libs/libcord.lax libtool: link: ( cd ".libs" && rm -f "libcord.la" && ln -s "../libcord.la" "libcord.la" ) gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/external/bdwgc' gmake[2]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/external/bdwgc' Making all in llvm gmake[2]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/llvm' /usr/bin/bash: git: command not found getconf: Invalid argument (_NPROCESSORS_ONLN) gmake[2]: Nothing to be done for 'all'. gmake[2]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/llvm' Making all in mono gmake[2]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono' Making all in eglib gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/eglib' Making all in . gmake[4]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/eglib' CC libeglib_la-garray.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gbytearray.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gerror.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-ghashtable.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-giconv.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition giconv.c: In function 'monoeg_g_iconv': giconv.c:211:25: warning: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 211 | return iconv (cd->cd, inbytes, inleftptr, outbytes, outleftptr); | ^~~~~~~ | | | gchar ** {aka char **} In file included from giconv.c:29: /home/pbulk/build/lang/mono/work/.buildlink/include/iconv.h:83:48: note: expected 'const char **' but argument is of type 'gchar **' {aka 'char **'} 83 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ CC libeglib_la-gmem.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-goutput.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gqsort.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gstr.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gslist.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gstring.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gptrarray.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-glist.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gqueue.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gpath.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gshell.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gspawn.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gfile.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gfile-posix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gpattern.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gmarkup.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In function 'parse_name', inlined from 'parse_attributes' at gmarkup.c:228:8, inlined from 'monoeg_g_markup_parse_context_parse' at gmarkup.c:351:8: gmarkup.c:198:2: warning: 'strncpy' destination unchanged after copying no bytes [-Wstringop-truncation] 198 | strncpy (*value, start, l); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gmarkup.c:198:2: warning: 'strncpy' destination unchanged after copying no bytes [-Wstringop-truncation] CC libeglib_la-gutf8.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gunicode.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gdate-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gdir-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gfile-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gmisc-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gmodule-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gtimer-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libeglib_la-gmodule-aix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CCLD libeglib.la gmake[4]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/eglib' Making all in test gmake[4]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/eglib/test' CXX enum.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC test.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC driver.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC hashtable.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC string-util.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC string.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC slist.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC sizes.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC ptrarray.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC list.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC array.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC fake.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC path.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC queue.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC shell.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC spawn.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC timer.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC file.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC pattern.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC dir.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC markup.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC unicode.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC utf8.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC endian.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC module.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC memory.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CXXLD test-eglib CC assertf.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CCLD assertf gmake[4]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/eglib/test' gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/eglib' Making all in arch gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/arch' gmake[4]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/arch' gmake[4]: Nothing to be done for 'all-am'. gmake[4]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/arch' gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/arch' Making all in utils gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/utils' /opt/local/bin/gmake all-recursive gmake[4]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/utils' gmake[5]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/utils' CC libmonomath_la-mono-math-c.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CCLD libmonomath.la CC libmonoutils_la-dlmalloc.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-os-event-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-md5.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-sha1.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-logger.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-codeman.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-counters.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-dl.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-dl-windows.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-dl-darwin.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-dl-posix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-dl-wasm.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-experiments.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-log-windows.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-log-common.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-log-posix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-log-android.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-log-darwin.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-log-flight-recorder.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-merp.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-state.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from ../../mono/mini/mini-arch.h:11, from ../../mono/mini/mini.h:50, from ../../mono/mini/mini-runtime.h:15, from mono-state.c:32: ../../mono/mini/mini-amd64.h:394: warning: "MONO_ARCH_NOMAP32BIT" redefined 394 | #define MONO_ARCH_NOMAP32BIT 1 | In file included from ../../mono/mini/mini-arch.h:11, from ../../mono/mini/mini.h:50, from ../../mono/mini/mini-runtime.h:15, from mono-state.c:32: ../../mono/mini/mini-amd64.h:96: note: this is the location of the previous definition 96 | # define MONO_ARCH_NOMAP32BIT | CC libmonoutils_la-mono-internal-hash.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-io-portability.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-monobitset.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-filemap.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-mmap.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-mmap-windows.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-mmap-wasm.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-os-mutex.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-flight-recorder.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-networkinterfaces.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-proclib.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-proclib-windows.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-publib.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-jemalloc.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-time.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-strenc.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-uri.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-poll.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-path.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-stdlib.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-property-hash.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-value-hash.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-error.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-context.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-hazard-pointer.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-lock-free-queue.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-lock-free-alloc.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-lock-free-array-queue.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-linked-list-set.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition mono-threads.c: In function 'dump_threads': mono-threads.c:299:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 299 | g_async_safe_printf ("--thread %p id %p [%p] state %x %s\n", info, (void *) mono_thread_info_get_tid (info), (void*)(size_t)info->native_handle, info->thread_state, info == cur ? "GC INITIATOR" : "" ); | ^ CC libmonoutils_la-mono-threads-state-machine.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-posix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-posix-signals.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-mach.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-mach-helper.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-windows.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-linux.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-freebsd.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-netbsd.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-openbsd.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-android.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-haiku.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-aix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-wasm.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-threads-coop.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-utility-thread.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-tls.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-utils-debug.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-atomic.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-hwcap.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-bsearch.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-signal-handler.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-conc-hashtable.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-json.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-networking.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-networking-posix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-networking-fallback.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-networking-missing.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-networking-windows.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-rand.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-rand-windows.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-memfuncs.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-parse.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-checked-build.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mach-support-amd64.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoutils_la-mono-hwcap-x86.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC mono-math-c.lo libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I../.. -I../../mono -I../../external/bdwgc/include -I../../external/bdwgc/libatomic_ops/src -I../../mono/eglib -fvisibility=hidden -Wall -Wunused -Wmissing-declarations -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -DHOST_SOLARIS -g -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -DUSE_COMPILER_TLS -Wall -Wunused -Wmissing-declarations -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wno-format-zero-length -std=gnu99 -fno-strict-aliasing -fwrapv -DMONO_DLL_EXPORT -Wno-unused-but-set-variable -g -mno-tls-direct-seg-refs -Wno-char-subscripts -D_POSIX_PTHREAD_SEMANTICS -Werror=return-type -Werror-implicit-function-declaration -MT mono-math-c.lo -MD -MP -MF .deps/mono-math-c.Tpo -c mono-math-c.c -fPIC -DPIC -o .libs/mono-math-c.o : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition libtool: compile: gcc -std=gnu11 -DHAVE_CONFIG_H -I. -I../.. -I../../mono -I../../external/bdwgc/include -I../../external/bdwgc/libatomic_ops/src -I../../mono/eglib -fvisibility=hidden -Wall -Wunused -Wmissing-declarations -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes -I/home/pbulk/build/lang/mono/work/.buildlink/include -I/home/pbulk/build/lang/mono/work/.buildlink/include/python3.10 -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_MMAP -DUSE_MUNMAP -DHOST_SOLARIS -g -D_XOPEN_SOURCE=500 -D__EXTENSIONS__ -D_XOPEN_SOURCE_EXTENDED=1 -DUSE_COMPILER_TLS -Wall -Wunused -Wmissing-declarations -Wpointer-arith -Wno-cast-qual -Wwrite-strings -Wno-switch -Wno-switch-enum -Wno-unused-value -Wno-attributes -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_XOPEN_SOURCE=600 -D_FORTIFY_SOURCE=2 -Wmissing-prototypes -Wstrict-prototypes -Wnested-externs -Wno-format-zero-length -std=gnu99 -fno-strict-aliasing -fwrapv -DMONO_DLL_EXPORT -Wno-unused-but-set-variable -g -mno-tls-direct-seg-refs -Wno-char-subscripts -D_POSIX_PTHREAD_SEMANTICS -Werror=return-type -Werror-implicit-function-declaration -MT mono-math-c.lo -MD -MP -MF .deps/mono-math-c.Tpo -c mono-math-c.c -o mono-math-c.o >/dev/null 2>&1 CCLD libmonoutils.la gmake[5]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/utils' gmake[4]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/utils' gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/utils' Making all in cil gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/cil' perl ./make-opcodes-def.pl ./cil-opcodes.xml opcode.def.tmp mv opcode.def.tmp opcode.def gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/cil' Making all in zlib gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/zlib' gmake[3]: Nothing to be done for 'all'. gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/zlib' Making all in sgen gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/sgen' CC libmonosgen_la-sgen-alloc.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-cardtable.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-debug.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from ../../mono/metadata/sgen-client-mono.h:64, from ../../mono/sgen/sgen-gc.h:831, from sgen-debug.c:22: sgen-debug.c: In function 'find_pinning_ref_from_thread': sgen-debug.c:511:94: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 511 | SGEN_LOG (0, "Object %p referenced in thread %p (id %p) at %p, stack: %p-%p", obj, info, (gpointer)mono_thread_info_get_tid (info), start, info->client_info.stack_start, info->client_info.info.stack_end); | ^ ../../mono/utils/mono-logger-internals.h:108:34: note: in definition of macro 'mono_gc_printf' 108 | fprintf (gc_log_file, format, ##__VA_ARGS__); \ | ^~~~~~~~~~~ sgen-debug.c:511:5: note: in expansion of macro 'SGEN_LOG' 511 | SGEN_LOG (0, "Object %p referenced in thread %p (id %p) at %p, stack: %p-%p", obj, info, (gpointer)mono_thread_info_get_tid (info), start, info->client_info.stack_start, info->client_info.info.stack_end); | ^~~~~~~~ sgen-debug.c:519:121: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 519 | SGEN_LOG (0, "Object %p referenced in saved reg %d of thread %p (id %p)", obj, (int) (ctxcurrent - ctxstart), info, (gpointer)mono_thread_info_get_tid (info)); | ^ ../../mono/utils/mono-logger-internals.h:108:34: note: in definition of macro 'mono_gc_printf' 108 | fprintf (gc_log_file, format, ##__VA_ARGS__); \ | ^~~~~~~~~~~ sgen-debug.c:519:5: note: in expansion of macro 'SGEN_LOG' 519 | SGEN_LOG (0, "Object %p referenced in saved reg %d of thread %p (id %p)", obj, (int) (ctxcurrent - ctxstart), info, (gpointer)mono_thread_info_get_tid (info)); | ^~~~~~~~ CC libmonosgen_la-sgen-descriptor.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-fin-weak-hash.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-gc.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-gchandles.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-gray.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-hash-table.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-internal.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-layout-stats.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-los.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-marksweep.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-memory-governor.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-nursery-allocator.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-pinning-stats.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-pinning.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-pointer-queue.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-array-list.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-protocol.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-qsort.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-simple-nursery.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-split-nursery.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonosgen_la-sgen-thread-pool.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition sgen-thread-pool.c: In function 'sgen_thread_pool_shutdown': sgen-thread-pool.c:310:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 310 | mono_threads_add_joinable_thread ((gpointer)threads [i]); | ^ CC libmonosgen_la-sgen-workers.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CCLD libmonosgen.la gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/sgen' Making all in metadata gmake[3]: Entering directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/metadata' CC libmonoruntime_config_la-mono-config-dirs.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CCLD libmonoruntime-config.la CC libmonoruntime_support_la-support.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CCLD libmonoruntime-support.la CC libmonoruntime_la-console-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32mutex-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition w32mutex-unix.c: In function 'mutex_handle_signal': w32mutex-unix.c:80:75: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 80 | __func__, mono_w32handle_get_typename (handle_data->type), handle_data, (gpointer) mutex_handle->tid, mutex_handle->recursion); | ^ w32mutex-unix.c:99:77: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 99 | __func__, mono_w32handle_get_typename (handle_data->type), handle_data, (gpointer) mutex_handle->tid, mutex_handle->recursion); | ^ w32mutex-unix.c: In function 'mutex_handle_own': w32mutex-unix.c:118:75: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | __func__, mono_w32handle_get_typename (handle_data->type), handle_data, (gpointer) mutex_handle->tid, mutex_handle->recursion, (gpointer) pthread_self (), mutex_handle->recursion + 1, mutex_handle->abandoned ? "true" : "false"); | ^ w32mutex-unix.c:118:130: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 118 | __func__, mono_w32handle_get_typename (handle_data->type), handle_data, (gpointer) mutex_handle->tid, mutex_handle->recursion, (gpointer) pthread_self (), mutex_handle->recursion + 1, mutex_handle->abandoned ? "true" : "false"); | ^ w32mutex-unix.c: In function 'mutex_handle_is_owned': w32mutex-unix.c:151:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 151 | __func__, mono_w32handle_get_typename (handle_data->type), handle_data, (gpointer) pthread_self ()); | ^ w32mutex-unix.c:155:76: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 155 | __func__, mono_w32handle_get_typename (handle_data->type), handle_data, (gpointer) pthread_self (), (gpointer) mutex_handle->tid, mutex_handle->recursion); | ^ w32mutex-unix.c:155:104: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 155 | __func__, mono_w32handle_get_typename (handle_data->type), handle_data, (gpointer) pthread_self (), (gpointer) mutex_handle->tid, mutex_handle->recursion); | ^ w32mutex-unix.c: In function 'ves_icall_System_Threading_Mutex_ReleaseMutex_internal': w32mutex-unix.c:398:70: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 398 | __func__, mono_w32handle_get_typename (handle_data->type), handle, (gpointer) mutex_handle->tid, mutex_handle->recursion); | ^ w32mutex-unix.c:422:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 422 | __func__, mono_w32handle_get_typename (handle_data->type), handle, (gpointer) mutex_handle->tid, mutex_handle->recursion); | ^ In file included from w32mutex.h:9, from w32mutex-unix.c:11: w32mutex-unix.c: In function 'mono_w32mutex_abandon': w32mutex-unix.c:510:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 510 | __func__, handle, (gpointer) mutex_handle->tid, (gpointer) tid); | ^ ../../mono/eglib/glib.h:796:70: note: in definition of macro 'g_error' 796 | #define g_error(...) do { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, __VA_ARGS__); for (;;); } while (0) | ^~~~~~~~~~~ w32mutex-unix.c:510:53: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 510 | __func__, handle, (gpointer) mutex_handle->tid, (gpointer) tid); | ^ ../../mono/eglib/glib.h:796:70: note: in definition of macro 'g_error' 796 | #define g_error(...) do { g_log (G_LOG_DOMAIN, G_LOG_LEVEL_ERROR, __VA_ARGS__); for (;;); } while (0) | ^~~~~~~~~~~ CC libmonoruntime_la-w32semaphore-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32event-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32process-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32process-unix-osx.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32process-unix-bsd.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32process-unix-haiku.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32process-unix-default.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition w32process-unix-default.c: In function 'mono_w32process_get_name': w32process-unix-default.c:51:8: warning: unused variable 'buf' [-Wunused-variable] 51 | gchar buf[256]; | ^~~ CC libmonoruntime_la-w32socket-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32file-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32file-unix-glob.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32error-unix.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-threadpool-worker-default.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-appdomain.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-assembly-load-context.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-domain.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-assembly.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-attach.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-class.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-class-init.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-class-accessors.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-cominterop.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-coree.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-debug-helpers.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-debug-mono-symfile.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-debug-mono-ppdb.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-environment.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-exception.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32file.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-filewatcher.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-icall.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-image.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-jit-info.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-loader.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-loaded-images.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-loaded-images-global.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-loaded-images-netcore.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-locales.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-lock-tracer.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-marshal.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mempool.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-metadata.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition metadata.c: In function 'mono_metadata_parse_type_internal': cc1: warning: function may return address of local variable [-Wreturn-local-addr] metadata.c:1816:11: note: declared here 1816 | MonoType stype; | ^~~~~ CC libmonoruntime_la-metadata-verify.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-method-builder.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-basic-block.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-config.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-debug.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-endian.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-hash.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-conc-hash.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-mlist.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-perfcounters.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-route.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-object.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition object.c: In function 'mono_thread_set_main': object.c:261:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 261 | void *key = thread->internal_thread ? (void *) MONO_UINT_TO_NATIVE_THREAD_ID (thread->internal_thread->tid) : NULL; | ^ CC libmonoruntime_la-opcodes.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-property-bag.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-w32socket.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from ../../mono/metadata/w32socket.h:16, from w32socket.c:19: w32socket.c: In function 'create_object_handle_from_sockaddr': ../../mono/metadata/object-internals.h:252:8: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 252 | *__p = (value); \ | ~~~~~^~~~~~~~~ ../../mono/metadata/handle.h:447:4: note: in expansion of macro 'mono_array_set_internal' 447 | mono_array_set_internal (MONO_HANDLE_RAW (MONO_HANDLE_UNSUPPRESS (HANDLE)), TYPE, __idx, __val); \ | ^~~~~~~~~~~~~~~~~~~~~~~ w32socket.c:978:5: note: in expansion of macro 'MONO_HANDLE_ARRAY_SETVAL' 978 | MONO_HANDLE_ARRAY_SETVAL (data, guint8, 8 + i, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../../mono/metadata/w32socket.h:16, from w32socket.c:19: ../../mono/metadata/object-internals.h:175:22: note: at offset 0 to object 'vector' with size 0 declared here 175 | mono_64bitaligned_t vector [MONO_ZERO_LEN_ARRAY]; | ^~~~~~ CC libmonoruntime_la-w32process.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-profiler.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-rand.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-remoting.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-runtime.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-mono-security.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-security-core-clr.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-security-manager.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-string-icalls.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-sysmath.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-threads.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition threads.c: In function 'mono_thread_attach_internal': threads.c:913:59: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 913 | mono_alloc_static_data (&internal->static_data, offset, (void *) MONO_UINT_TO_NATIVE_THREAD_ID (internal->tid), TRUE); | ^ In file included from threads.c:23: threads.c: In function 'fire_attach_profiler_events': threads.c:1128:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1128 | (void *) tid, | ^ ../../mono/metadata/profiler-private.h:193:33: note: in definition of macro 'MONO_PROFILER_RAISE' 193 | mono_profiler_raise_ ## name args; \ | ^~~~ threads.c:1136:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1136 | (void *) tid, | ^ ../../mono/metadata/profiler-private.h:193:33: note: in definition of macro 'MONO_PROFILER_RAISE' 193 | mono_profiler_raise_ ## name args; \ | ^~~~ threads.c: In function 'alloc_thread_static_data_helper': threads.c:4728:58: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 4728 | mono_alloc_static_data (&(thread->static_data), offset, (void *) MONO_UINT_TO_NATIVE_THREAD_ID (thread->tid), TRUE); | ^ threads.c: In function 'threads_add_pending_joinable_runtime_thread': threads.c:5780:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5780 | threads_add_pending_joinable_thread ((gpointer)(MONO_UINT_TO_NATIVE_THREAD_ID (mono_thread_info_get_tid (mono_thread_info)))); | ^ threads.c: In function 'mono_threads_add_joinable_runtime_thread': threads.c:5841:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 5841 | gpointer tid = (gpointer)(MONO_UINT_TO_NATIVE_THREAD_ID (mono_thread_info_get_tid (mono_thread_info))); | ^ threads.c: In function 'mono_threads_summarize_execute_internal': threads.c:6415:6: warning: 'current_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] 6415 | if (i == current_idx) | ^ threads.c:6563:6: note: 'current_idx' was declared here 6563 | int current_idx; | ^~~~~~~~~~~ CC libmonoruntime_la-threadpool.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition CC libmonoruntime_la-threadpool-io.lo : warning: "_XOPEN_SOURCE" redefined : note: this is the location of the previous definition In file included from threadpool-io-epoll.c:7, from threadpool-io.c:55: /usr/include/sys/epoll.h:1:2: error: #error "This header has been disabled to stop its functionality from being used." 1 | #error "This header has been disabled to stop its functionality from being used." | ^~~~~ In file included from threadpool-io.c:55: threadpool-io-epoll.c: In function 'epoll_init': threadpool-io-epoll.c:22:21: error: storage size of 'event' isn't known 22 | struct epoll_event event; | ^~~~~ threadpool-io-epoll.c:27:13: error: implicit declaration of function 'epoll_create' [-Werror=implicit-function-declaration] 27 | epoll_fd = epoll_create (256); | ^~~~~~~~~~~~ threadpool-io-epoll.c:27:13: warning: nested extern declaration of 'epoll_create' [-Wnested-externs] threadpool-io-epoll.c:40:17: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLL_IN'? 40 | event.events = EPOLLIN; | ^~~~~~~ | POLL_IN threadpool-io-epoll.c:40:17: note: each undeclared identifier is reported only once for each function it appears in threadpool-io-epoll.c:42:6: error: implicit declaration of function 'epoll_ctl' [-Werror=implicit-function-declaration] 42 | if (epoll_ctl (epoll_fd, EPOLL_CTL_ADD, event.data.fd, &event) == -1) { | ^~~~~~~~~ threadpool-io-epoll.c:42:6: warning: nested extern declaration of 'epoll_ctl' [-Wnested-externs] threadpool-io-epoll.c:42:27: error: 'EPOLL_CTL_ADD' undeclared (first use in this function) 42 | if (epoll_ctl (epoll_fd, EPOLL_CTL_ADD, event.data.fd, &event) == -1) { | ^~~~~~~~~~~~~ In file included from threadpool-io.c:17: threadpool-io-epoll.c:48:25: error: invalid application of 'sizeof' to incomplete type 'struct epoll_event' 48 | epoll_events = g_new0 (struct epoll_event, EPOLL_NEVENTS); | ^~~~~~ ../../mono/eglib/glib.h:107:19: note: in definition of macro 'g_cast' 107 | #define g_cast(x) x | ^ ../../mono/eglib/glib.h:292:43: note: in expansion of macro 'g_malloc0' 292 | #define g_new0(type,size) ((type *) g_malloc0 (sizeof (type)* (size))) | ^~~~~~~~~ threadpool-io-epoll.c:48:17: note: in expansion of macro 'g_new0' 48 | epoll_events = g_new0 (struct epoll_event, EPOLL_NEVENTS); | ^~~~~~ In file included from threadpool-io.c:55: threadpool-io-epoll.c:22:21: warning: unused variable 'event' [-Wunused-variable] 22 | struct epoll_event event; | ^~~~~ threadpool-io-epoll.c: In function 'epoll_register_fd': threadpool-io-epoll.c:62:21: error: storage size of 'event' isn't known 62 | struct epoll_event event; | ^~~~~ threadpool-io-epoll.c:72:19: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLL_IN'? 72 | event.events |= EPOLLIN; | ^~~~~~~ | POLL_IN threadpool-io-epoll.c:74:19: error: 'EPOLLOUT' undeclared (first use in this function); did you mean 'POLL_OUT'? 74 | event.events |= EPOLLOUT; | ^~~~~~~~ | POLL_OUT threadpool-io-epoll.c:76:36: error: 'EPOLL_CTL_ADD' undeclared (first use in this function) 76 | if (epoll_ctl (epoll_fd, is_new ? EPOLL_CTL_ADD : EPOLL_CTL_MOD, event.data.fd, &event) == -1) | ^~~~~~~~~~~~~ threadpool-io-epoll.c:76:52: error: 'EPOLL_CTL_MOD' undeclared (first use in this function) 76 | if (epoll_ctl (epoll_fd, is_new ? EPOLL_CTL_ADD : EPOLL_CTL_MOD, event.data.fd, &event) == -1) | ^~~~~~~~~~~~~ threadpool-io-epoll.c:62:21: warning: unused variable 'event' [-Wunused-variable] 62 | struct epoll_event event; | ^~~~~ In file included from threadpool-io.c:55: threadpool-io-epoll.c: In function 'epoll_remove_fd': threadpool-io-epoll.c:83:27: error: 'EPOLL_CTL_DEL' undeclared (first use in this function) 83 | if (epoll_ctl (epoll_fd, EPOLL_CTL_DEL, fd, NULL) == -1) | ^~~~~~~~~~~~~ threadpool-io-epoll.c: In function 'epoll_event_wait': threadpool-io-epoll.c:92:35: error: invalid application of 'sizeof' to incomplete type 'struct epoll_event' 92 | memset (epoll_events, 0, sizeof (struct epoll_event) * EPOLL_NEVENTS); | ^~~~~~ threadpool-io-epoll.c:97:10: error: implicit declaration of function 'epoll_wait'; did you mean 'epoll_init'? [-Werror=implicit-function-declaration] 97 | ready = epoll_wait (epoll_fd, epoll_events, EPOLL_NEVENTS, -1); | ^~~~~~~~~~ | epoll_init threadpool-io-epoll.c:97:10: warning: nested extern declaration of 'epoll_wait' [-Wnested-externs] threadpool-io-epoll.c:119:21: error: invalid use of undefined type 'struct epoll_event' 119 | fd = epoll_events [i].data.fd; | ^ threadpool-io-epoll.c:119:24: error: invalid use of undefined type 'struct epoll_event' 119 | fd = epoll_events [i].data.fd; | ^ threadpool-io-epoll.c:120:20: error: invalid use of undefined type 'struct epoll_event' 120 | if (epoll_events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP)) | ^ threadpool-io-epoll.c:120:23: error: invalid use of undefined type 'struct epoll_event' 120 | if (epoll_events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP)) | ^ threadpool-io-epoll.c:120:34: error: 'EPOLLIN' undeclared (first use in this function); did you mean 'POLL_IN'? 120 | if (epoll_events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP)) | ^~~~~~~ | POLL_IN threadpool-io-epoll.c:120:44: error: 'EPOLLERR' undeclared (first use in this function); did you mean 'POLL_ERR'? 120 | if (epoll_events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP)) | ^~~~~~~~ | POLL_ERR threadpool-io-epoll.c:120:55: error: 'EPOLLHUP' undeclared (first use in this function); did you mean 'POLL_HUP'? 120 | if (epoll_events [i].events & (EPOLLIN | EPOLLERR | EPOLLHUP)) | ^~~~~~~~ | POLL_HUP threadpool-io-epoll.c:122:20: error: invalid use of undefined type 'struct epoll_event' 122 | if (epoll_events [i].events & (EPOLLOUT | EPOLLERR | EPOLLHUP)) | ^ threadpool-io-epoll.c:122:23: error: invalid use of undefined type 'struct epoll_event' 122 | if (epoll_events [i].events & (EPOLLOUT | EPOLLERR | EPOLLHUP)) | ^ threadpool-io-epoll.c:122:34: error: 'EPOLLOUT' undeclared (first use in this function); did you mean 'POLL_OUT'? 122 | if (epoll_events [i].events & (EPOLLOUT | EPOLLERR | EPOLLHUP)) | ^~~~~~~~ | POLL_OUT cc1: some warnings being treated as errors gmake[3]: *** [Makefile:2589: libmonoruntime_la-threadpool-io.lo] Error 1 gmake[3]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono/metadata' gmake[2]: *** [Makefile:531: all-recursive] Error 1 gmake[2]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122/mono' gmake[1]: *** [Makefile:601: all-recursive] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/lang/mono/work/mono-6.12.0.122' gmake: *** [Makefile:529: all] Error 2 *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/mono *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-trunk-x86_64/lang/mono