Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241018 - net-misc/sendfile: pre-stripped files found
Summary: net-misc/sendfile: pre-stripped files found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High QA
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
: 252020 (view as bug list)
Depends on:
Blocks: prestripped
  Show dependency tree
 
Reported: 2008-10-10 10:49 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-09-04 16:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Use user set CC, CFLAGS and LDFLAGS, and as a side effect don't prestrip files (sendfile_fix_nostrip.patch,2.84 KB, patch)
2009-05-22 16:20 UTC, Espen Hustad
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-10-10 10:49:18 UTC
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.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-23 19:53:23 UTC
*** Bug 252020 has been marked as a duplicate of this bug. ***
Comment 2 Espen Hustad 2009-05-22 16:20:11 UTC
Created attachment 192131 [details, diff]
Use user set CC, CFLAGS and LDFLAGS, and as a side effect don't prestrip files

Also added a few other minor fixes to the ebuild.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-04 16:07:02 UTC
Fixed in 2.1b-r1. Again, I missed your patch there, Espen. :)