Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317149 - dev-libs/udis86-1.7 keywording request
Summary: dev-libs/udis86-1.7 keywording request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords: KEYWORDREQ
Depends on:
Blocks: 317151 320221
  Show dependency tree
 
Reported: 2010-04-25 18:21 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2010-11-15 22:49 UTC (History)
1 user (show)

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 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-04-25 18:21:57 UTC
Arches, please keyword dev-libs/udis86-1.7.
It is used by the llvmpipe driver in the next mesa release.

Target keywords: ~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd
Comment 1 Alexis Ballier gentoo-dev 2010-04-25 19:21:35 UTC
bsd done
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-07 17:27:05 UTC
Marked ~hppa.
Comment 3 Matt Turner gentoo-dev 2010-05-08 01:22:10 UTC
Can you explain how archs like alpha, mips, or sparc can use a "Disassembler Library for x86 and x86-64"?

Surely this is irrelevant on non x86[-64] platforms.
Comment 4 Brent Baude (RETIRED) gentoo-dev 2010-05-11 21:02:48 UTC
keyworded ~arch for ppc64
Comment 5 Andreas Schürch gentoo-dev 2010-05-19 06:00:43 UTC
This looks good on x86 also.
Comment 6 Markus Meier gentoo-dev 2010-05-28 11:43:49 UTC
~x86 keyword is alreday in the ebuild.
Comment 7 Joe Jezak (RETIRED) gentoo-dev 2010-06-01 15:12:20 UTC
I'd tend to agree. This looks useless for PowerPC. Can you please tell us why we need to keyword this on non-x86 architectures?

Thanks!
Comment 8 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-06-01 15:16:00 UTC
udis86 works (as in disassembles x86 code) on all arches. media-libs/mesa will link to it in the upcoming 7.9 release, regardless of arch.

But I am not fully sure whether the udis86 code in mesa is actually executed on non-x86/amd64.
Comment 9 Matt Turner gentoo-dev 2010-06-01 16:54:30 UTC
(In reply to comment #8)
> But I am not fully sure whether the udis86 code in mesa is actually executed on
> non-x86/amd64.

This is exactly what we're asking. Maybe email the mesa-dev mailing list?
Comment 10 Matt Turner gentoo-dev 2010-09-12 15:57:05 UTC
I asked on IRC, but got no response.

<mattst88> chithead, did you ever confirm that udis86 is actually needed by mesa/llvmpipe, wrt bug 317149 ?
<mattst88> just asking because I see that sys-devel/llvm-2.7 has a udis86 USE flag.
<mattst88> so if it is actually needed by mesa, then mesa's dependency should be on sys-devel/llvm[udis]
<mattst88> and if it's not needed, well, udis86 needs to be removed as a dependency

I tend to think that it's not needed.
Comment 11 Brent Baude (RETIRED) gentoo-dev 2010-10-15 19:13:53 UTC
ppc stable
Comment 12 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-11-15 22:36:28 UTC
After investigating a little more, it seems that mesa will indeed use udis86 on all platforms. But it will attempt to disassemble native code with it, so the result appears not useful on any arch but x86{,-fbsd} and amd64.

I will close this bug as fixed.
Comment 13 Matt Turner gentoo-dev 2010-11-15 22:42:25 UTC
Should archs which have already keyworded/stabilized this remove their keywords? (~hppa ppc ~ppc64)
Comment 14 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-11-15 22:49:12 UTC
The keywords can stay unless arch teams want to get rid of them. udis86 works fine on all arches. And there is no automagic link-level dependency or (working) added functionality in mesa, so nothing will break from user perspective if mesa's udis86 dependency is restricted to x86, x86-fbsd and amd64.