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

--- Comment #4 from Julian Seward <jsew...@acm.org> ---
I'm thinking of the following, but I don't know the *exact* details of
what to suggest to build a PIE.  Can you fill those in?

mmap(0x405000, 2147483648) failed in UME with error 22 (Invalid argument).

This can be caused by executables with very large text, data or bss segments.
The underlying problem is that some part of your executable wants to be loaded
at an address which conflicts with where Valgrind's tool executable wants to
be loaded.  There are two possible ways you could try to work around this:

* by changing the default load address on your executable.  You can do that by
  adding the following flag to your gcc/g++ link command:
     -Wl,-Ttext-segment=0x68000000

* by making your executable be position-independent, so it can be loaded
  anywhere.  You can do that by [FILL THIS BIT IN]

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

Reply via email to