gl-yziquel
gl-yziquel
Proposed a PR for this: https://github.com/annoviko/pyclustering/pull/699 "This works on my computer".
Stating that ./autogen.sh && make install does the trick would be welcome. it's otherwise not as much confusing as it is not quite straightforward.
Hmmhh... no. This is precisely the point: the INSTALL file says to to something like autogen.sh, configure, make, make install. which is broken. binscripts/gvm-installer works. So the INSTALL file and...
@ankitcharolia I'll attempt to give it a shot when go stuff gets back on top of my todo pile.
Confirmation. I did an `strace -f cargo build`. And, after some hunting... ```console [pid 43835] mmap(NULL, 48973144, PROT_READ, MAP_SHARED, 9, 0 [pid 43835] ) = -1 ENODEV (No such device)...
> Thank you for the report. Really appreciate the effort! > > The error came from rustc the compiler. I'm tracing it here in strace -f: ```console [pid 43793] execve("/home/mini-me/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc",...
> We need someone familiar with this part to determine if it is safe and better to use `MAP_PRIVATE`. From what I understood, MAP_PRIVATE has some corner cases that make...
> > From what I understood, MAP_PRIVATE has some corner cases that make it unsafe > > I implemented Miri's `mmap` support so I'd like to think I know a...
> Ah. Whatever that IRC discussion was is not about the Rust concept of unsafety. In Rust, the way we use `memmap2` is UB if the mapping is updated. So...
So, roughly, we can safely assume that MAP_SHARED will misbehave, and unsafely assume MAP_PRIVATE will behave. Great.