Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335274 - dev-lang/pcc pre-stripped files found
Summary: dev-lang/pcc 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 (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: prestripped
  Show dependency tree
 
Reported: 2010-08-30 14:07 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2010-08-30 19:40 UTC (History)
0 users

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


Attachments
Build log (pcc-1.0.0_pre100604:20100830-135958.log,19.96 KB, text/plain)
2010-08-30 14:07 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-30 14:07:37 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.

For what concerns pre-built packages, you should set the QA_PRESTRIPPED variable in the ebuild with the list of known pre-stripped objects in the package.

Thanks,
Diego
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-30 14:07:46 UTC
Created attachment 245367 [details]
Build log
Comment 2 Patrick Lauer gentoo-dev 2010-08-30 19:40:54 UTC
+  30 Aug 2010; Patrick Lauer <patrick@gentoo.org>
+  pcc-1.0.0_pre100604.ebuild, +pcc-1.0.0_pre100830.ebuild:
+  Bump, fixing stripping #335274