Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462718 - FEATURES="splitdebug" broken for 32bit libs/bins on amd64?
Summary: FEATURES="splitdebug" broken for 32bit libs/bins on amd64?
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-22 19:51 UTC by Julian Ospald
Modified: 2013-03-27 08:59 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julian Ospald 2013-03-22 19:51:17 UTC
Installing binary blob games on amd64 which are 32bit only, I will get something like this:
>>> /usr/lib/debug/opt/dynamitejack/bin/main.debug
>>> /usr/lib/debug/.build-id/73/bd4ebb4ef3e51e0faae2edb87d1ef90c40642e.debug -> ../../opt/dynamitejack/bin/main.debug
>>> /usr/lib/debug/.build-id/73/bd4ebb4ef3e51e0faae2edb87d1ef90c40642e -> /opt/dynamitejack/bin/main

affected packages which I force to error out on FEATURES="splitdebug" in pkg_pretend for now:
games-action/beathazardultra
games-action/solar2
games-action/swordandsworcery
games-action/trine2
games-arcade/dynamitejack
games-rpg/bastion
games-rpg/grimrock

Those are all games that install bundled 32bit libraries and binaries on amd64. Not all files are prestripped, so I see no reason to set RESTRICT="strip".
Regular strip works fine.
Comment 1 Zac Medico gentoo-dev 2013-03-22 21:09:30 UTC
Can you clarify what is "broken" about the current behavior?

FEATURES=splitdebug is supposed to trigger creation *.debug files in /usr/lib/debug, and build-id symlinks in /usr/lib/debug/.build-id, and at first glance it seems to be working as designed. So, what's "broken" about it?
Comment 2 Zac Medico gentoo-dev 2013-03-22 21:25:31 UTC
I guess you're confused since you don't have LDFLAGS="-Wl,--build-id" locally, so you're not accustomed to those build-id symlinks.