Etienne
Etienne
One issue with current code (tested with commit 2ae14a393a ) is that it does not work when cross-compiling. It injects libstdbuf.so with the wrong architecture into the coreutils binary: ```...
@sylvestre yes it is on my to-do list, I don't know yet when I'll have time to work on it unfortunately
I started working on the cross-compilation issue. I will try to implement a solution using https://github.com/rnza0u/blaze/blob/master/core/build.rs#L98 as example. Long-term, the cargo feature "[bindeps](https://doc.rust-lang.org/beta/cargo/reference/unstable.html#artifact-dependencies)" should be used instead (but at the...
I removed this code in 1f2bd34ef0e2423ec6840abd8f6d65c3f4e44c80 , so I think this can be closed.
I can send a fix, unless you're already working on it. I need such a configuration mechanism for a PR anyway.
> [@Ecordonnier](https://github.com/Ecordonnier) don't hesitate for the fix :) I'll give it a try. A simple way to reproduce (because of https://github.com/rust-lang/cargo/issues/2930 ): ``` git clone https://github.com/uutils/coreutils.git mkdir test && cd...
This is due to this code AFAIU: https://github.com/apple-oss-distributions/dyld/blob/fba6732ffad1c798f31b2129eee4e073e6ae07dc/mach_o/Policy.cpp#L354
If you are searching for inspiration, you can check how this is handled for gnu coreutils and busybox in ubuntu. It probably makes sense to handle it the same way...
In the case of uutils-coreutils, I guess swallowing arg[0] is not an issue. I know in the case of busybox this breaks a corner-case with "sh" where you can change...
I would say this is expected behavior. I added those warnings in the libc create to warn that those functions are only stubs (see also . https://github.com/uutils/coreutils/pull/7740#issue-2990584165 ). However calling...