On 03/05/2016 11:10, Michael Tautschnig wrote:
Many thanks for reaching out. I've re-run the build, and the major problems
appear to be gone. There is still a minor issue because of julia building with
-D_GNU_SOURCE while libuv isn't using this, but the resulting warning
old definition in module `sys' file
/usr/include/x86_64-linux-gnu/sys/resource.h line 87
signed int (enum __rusage_who, struct rusage *)
new definition in module `core' file
/usr/include/x86_64-linux-gnu/sys/resource.h line 87
signed int (signed int, struct rusage *)
is likely safe to be ignored in almost all cases.
Does the patch below clear the warning? I've checked that -D_GNU_SOURCE
now appears in the build log.
--- a/deps/Makefile
+++ b/deps/Makefile
@@ -728,7 +728,7 @@
UV_SRC_TARGET = $(LIBUV_SRC_DIR)/.libs/libuv.la
UV_OBJ_TARGET = $(build_libdir)/libuv.la
-UV_CFLAGS =
+UV_CFLAGS = -D_GNU_SOURCE
ifeq ($(USEMSVC), 1)
UV_CFLAGS += -DBUILDING_UV_SHARED
endif