Portage warns about pre-stripped files being installed into the image directory; this is a bad thing since it makes Portage's splitdebug feature useless, and it stops the users and the developers from looking into backtraces with full debug information available.
For the developers going to look into it, what you have to look out for, to
find what is stripping the files, is one of these conditions:
- explicit "strip" command run on the produced files;
- "install -s" command to install the binary files;
- "-Wl,-s" flag passed during linking
Remove the "strip" commands, remove the "-s" option at install, and remove
"-Wl,-s" and the problem should be gone.
*** Bug 252106 has been marked as a duplicate of this bug. ***
Created attachment 194067 [details, diff]
Patch to address QA issues in Makefile
This patch resolves several QA issues with the upstream Makefile:
- CC forced to gcc.
- CPPFLAGS overwritten with an empty value.
- CFLAGS overwritten with -O2.
- LDFLAGS overwritten with -s, causing premature stripping.
For my convenience during testing, this was written as a second patch to be applied after the existing Gentoo patch to the upstream Makefile. Maintainers, you are welcome to merge this patch with the other or leave it separate, as you prefer. I will attach an ebuild patch that assumes it is left separate.
Created attachment 194068 [details, diff]
Patch to ebuild to apply attachment #194067 [details, diff] and to make with CC=$(tc-getCC)
Fixed in 0.6 without revision bump.