/var/tmp/portage/kde-base/kdebase-3.5.7/image/usr/kde/3.5/bin/kdm [ 3] .hash HASH 08048188 000188 000510 04 A 5 0 4
Maybe you could elaborate on how did you come to the conclusion that your LDFLAGS are ignored, which ones are ignored and where's the problem. The above cryptic stuff unfortunately doesn't explain anything.
(In reply to comment #1) > Maybe you could elaborate on how did you come to the conclusion that your > LDFLAGS are ignored Some LDFLAGS can change existence of some sections in ELF files. I have such (at least) 2 flags in my LDFLAGS and one of them always change existence of some sections when isn't ignored. I changed /usr/lib/portage/bin/prepstrip, so that it now additionally runs readelf and grep and copy the output to the log file. I perform some tests (reading emerge logs) and >99,5% of results are correct. > which ones are ignored All. > and where's the problem. Ignoring LDLFAGS increases files sizes and decreases performance.
OK, that was about enough. 1/ Use common sense when filing bugs (like, what about mailing gentoo-dev mailing list first and asking about the best course of action here? 2/ If you have a patch, submit it *upstream* unless this is a *Gentoo-specific* issue.
Created attachment 143375 [details, diff] kdm-3.5.8-respect-LDFLAGS.patch
I have attached the patch.
Fixed in 3.5.9, thanks for the patch.