Here is a modified ebuild for valgrind 1.0.4. It is patched to improve profiling support via cachegrind (this is particularly useful for kcachegrind which I will be submitting shortly).
Created attachment 6569 [details] valgrind-1.0.4-r0.ebuild
Created attachment 6570 [details] digest-valgrind-1.0.4-r0
*** This bug has been marked as a duplicate of 7546 ***