I am not sure I followed your instructions correctly, but I think that did it.
> cat foo
#!/bin/sh
ulimit -n 10
> ulimit -n
1024
> valgrind --log-file=/tmp/log ./foo
./foo: line 2: ulimit: open files: cannot modify limit: Operation not permitted
> ulimit -n 100010
> ulimit -n
100010
> val
Hello,
Valgrind 3.10.0 doesn't want to compile with my 'arm-926ejs-linux-gnueabi-gcc'
compiler.
[...]
checking host system type... arm-926ejs-linux-gnueabi
checking for a supported CPU... no (arm)
configure: error: Unsupported host architecture. Sorry
make: *** [package-configure] Error 1
[...]
On Tue, 2014-10-07 at 15:23 +, Vincent Gilson wrote:
> Hello,
>
> Valgrind 3.10.0 doesn’t want to compile with my
> ‘arm-926ejs-linux-gnueabi-gcc’ compiler.
>
>
>
> […]
>
> checking host system type... arm-926ejs-linux-gnueabi
>
> checking for a supported CPU... no (arm)
>
> configure: