Gentoo Archives: gentoo-dev

From: Alexis Ballier <aballier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog
Date: Fri, 27 Apr 2012 13:39:17
Message-Id: 20120427103801.6bdedb92@gentoo.org
In Reply to: [gentoo-dev] Re: [gentoo-commits] gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog by Ryan Hill
1 On Thu, 26 Apr 2012 23:19:04 -0600
2 Ryan Hill <dirtyepic@g.o> wrote:
3
4 > On Thu, 26 Apr 2012 17:06:45 -0300
5 > Alexis Ballier <aballier@g.o> wrote:
6 >
7 > > On Thu, 26 Apr 2012 15:15:34 -0400
8 > > Matt Turner <mattst88@g.o> wrote:
9 > >
10 > > > On Thu, Apr 26, 2012 at 1:01 PM, Christian Ruppert
11 > > > <idl0r@g.o> wrote:
12 > > > > I haven't followed the prev. conversation but what's wrong with
13 > > > > a USE flag for SSE2? We already have SSE2 flags, even global..
14 > > >
15 > > > That's not it. The flash binary uses SSE2 instructions without
16 > > > checking for their presence, which causes bad things on systems
17 > > > without SSE2. The purpose of the 'sse2check' flag was to die if
18 > > > the system doesn't have SSE2 and print a message telling the user
19 > > > to use an older version of flash.
20 > > >
21 > > > The relevant bug is https://bugs.gentoo.org/show_bug.cgi?id=410547
22 > > >
23 > >
24 > > wouldnt adding a sse2 useflag and putting it in REQUIRED_USE solve
25 > > the problem ?
26 > >
27 > > afaik portage wont even try to upgrade if people have -sse2
28 >
29 > I like that, but it doesn't address building on a host not supporting
30 > SSE2 for a target that does.
31
32 Why? Enable sse2 when cross-"building" and be done.
33
34 Note: There's no more check via /proc/cpuinfo that way.
35
36 A.