https://bugs.kde.org/show_bug.cgi?id=444488

--- Comment #3 from Philippe Waroquiers <philippe.waroqui...@skynet.be> ---
(In reply to Mark Wielaard from comment #2)
> (In reply to Philippe Waroquiers from comment #1)
> > In the discussion on valgrind-users mailing list,
> > Paul reported tthat:
> >   'It looks like "stack_cache_actsize" in libc moved to be
> > _dl_stack_cache_actsize in ld-linux-x86-64.so.2'
> > 
> > Is there a way to modify the glibc glibc.pthread.stack_cache_size tunable
> > from valgrind ?
> 
> tunables are set by the GLIBC_TUNABLES environment variable
> https://www.gnu.org/software/libc/manual/html_node/Tunables.html
> 
> We can set/add to that GLIBC_TUNABLES environment variable in
> coregrind/m_initimg/initimg-linux.c setup_client_env () where we also set
> the LD_PRELOAD environment variable.

When running with a newer glibc, we should also avoid producing an error
message 
that the old way to disable the stack cache is not working.
Likely this implies to detect the version of glibc.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to