rust-bin kills the build, but you can build rust, so, not all bad
now, i die 15 or so minutes into build due to a redefinition of 'struct prctl_mm_map'
i have patched it so it works just fine by removing include of <linux/prctl.h>
here is the patch:
Code: Select all
diff --git a/third_party/libwebrtc/rtc_base/platform_thread_types.cc b/third_party/libwebrtc/rtc_base/platform_thread_types.cc
index 697beda..3f65b82 100644
--- a/third_party/libwebrtc/rtc_base/platform_thread_types.cc
+++ b/third_party/libwebrtc/rtc_base/platform_thread_types.cc
@@ -13,7 +13,7 @@
// IWYU pragma: begin_keep
#if defined(WEBRTC_LINUX)
-#include <linux/prctl.h>
+//#include <linux/prctl.h>
#include <sys/prctl.h>
#include <sys/syscall.h>
#if !defined(WEBRTC_ARCH_ARM) && !defined(WEBRTC_ARCH_ARM64)
