FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo Development

 
 
LinkBack Thread Tools
 
Old 04-26-2012, 05:04 AM
Ryan Hill
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Tue, 24 Apr 2012 20:12:46 +0000 (UTC)
"Jim Ramsay (lack)" <lack@gentoo.org> wrote:

24 Apr 2012; Jim Ramsay <jim_ramsay@gentoo.org>
adobe-flash-11.2.202.228.ebuild, metadata.xml:
On darkside's suggestion, providing a USE flag (IUSE=+sse2check) that can be
turned off to allow binpkg users to override this check (or at least reduce
its fatality)

24 Apr 2012; Jim Ramsay <jim_ramsay@gentoo.org>
adobe-flash-11.2.202.228.ebuild:
Bug #410547: Fail pkg_pretend if any CPU on the local machine does not
support SSE2, and recommend falling back to 10.3 instead


Arg, no. Please just print the warning if the host doesn't do SSE2. There's
no reason to have a USE flag here (and _really_ no reason to make it fatal),
especially for an instruction set that every system has supported for over a
decade.


--
fonts, gcc-porting
toolchain, wxwidgets
@ gentoo.org
 
Old 04-26-2012, 04:00 PM
Jeroen Roovers
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Wed, 25 Apr 2012 23:04:08 -0600
Ryan Hill <dirtyepic@gentoo.org> wrote:

> Arg, no. Please just print the warning if the host doesn't do SSE2.
> There's no reason to have a USE flag here (and _really_ no reason to
> make it fatal)

I entirely agree there.

> , especially for an instruction set that every system has supported
> for over a decade.

Er, some of my teenage systems run desktops just fine here, thanks. And
one of them is just nine years old right now but still doesn't support
SSE2 (merely SSE[1]).


Regards,
jer


[1] http://en.wikipedia.org/wiki/AMD_Athlon_XP#Barton_and_Thorton - see
[2] right above that for the actual specs.
[2] http://en.wikipedia.org/wiki/AMD_Athlon_XP#Thoroughbred_.28T-Bred.29
 
Old 04-26-2012, 05:01 PM
Christian Ruppert
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On 04/26/12 at 06:00PM +0200, Jeroen Roovers wrote:
> On Wed, 25 Apr 2012 23:04:08 -0600
> Ryan Hill <dirtyepic@gentoo.org> wrote:
>
> > Arg, no. Please just print the warning if the host doesn't do SSE2.
> > There's no reason to have a USE flag here (and _really_ no reason to
> > make it fatal)
>
> I entirely agree there.
>

I haven't followed the prev. conversation but what's wrong with a USE flag for
SSE2? We already have SSE2 flags, even global..

> > , especially for an instruction set that every system has supported
> > for over a decade.
>
> Er, some of my teenage systems run desktops just fine here, thanks. And
> one of them is just nine years old right now but still doesn't support
> SSE2 (merely SSE[1]).
>
>
> Regards,
> jer
>
>
> [1] http://en.wikipedia.org/wiki/AMD_Athlon_XP#Barton_and_Thorton - see
> [2] right above that for the actual specs.
> [2] http://en.wikipedia.org/wiki/AMD_Athlon_XP#Thoroughbred_.28T-Bred.29
>

--
Regards,
Christian Ruppert
Gentoo Linux developer, Bugzilla administrator and Infrastructure member
Fingerprint: EEB1 C341 7C84 B274 6C59 F243 5EAB 0C62 B427 ABC8
 
Old 04-26-2012, 07:15 PM
Matt Turner
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Thu, Apr 26, 2012 at 1:01 PM, Christian Ruppert <idl0r@gentoo.org> wrote:
> I haven't followed the prev. conversation but what's wrong with a USE flag for
> SSE2? We already have SSE2 flags, even global..

That's not it. The flash binary uses SSE2 instructions without
checking for their presence, which causes bad things on systems
without SSE2. The purpose of the 'sse2check' flag was to die if the
system doesn't have SSE2 and print a message telling the user to use
an older version of flash.

The relevant bug is https://bugs.gentoo.org/show_bug.cgi?id=410547
 
Old 04-26-2012, 08:06 PM
Alexis Ballier
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Thu, 26 Apr 2012 15:15:34 -0400
Matt Turner <mattst88@gentoo.org> wrote:

> On Thu, Apr 26, 2012 at 1:01 PM, Christian Ruppert <idl0r@gentoo.org>
> wrote:
> > I haven't followed the prev. conversation but what's wrong with a
> > USE flag for SSE2? We already have SSE2 flags, even global..
>
> That's not it. The flash binary uses SSE2 instructions without
> checking for their presence, which causes bad things on systems
> without SSE2. The purpose of the 'sse2check' flag was to die if the
> system doesn't have SSE2 and print a message telling the user to use
> an older version of flash.
>
> The relevant bug is https://bugs.gentoo.org/show_bug.cgi?id=410547
>

wouldnt adding a sse2 useflag and putting it in REQUIRED_USE solve the
problem ?

afaik portage wont even try to upgrade if people have -sse2

A.
 
Old 04-26-2012, 08:24 PM
Matt Turner
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Thu, Apr 26, 2012 at 4:06 PM, Alexis Ballier <aballier@gentoo.org> wrote:
> wouldnt adding a sse2 useflag and putting it in REQUIRED_USE solve the
> problem ?
>
> afaik portage wont even try to upgrade if people have -sse2

If that works, which I think it will, that does sound like the best thing to do.
 
Old 04-27-2012, 05:19 AM
Ryan Hill
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Thu, 26 Apr 2012 17:06:45 -0300
Alexis Ballier <aballier@gentoo.org> wrote:

> On Thu, 26 Apr 2012 15:15:34 -0400
> Matt Turner <mattst88@gentoo.org> wrote:
>
> > On Thu, Apr 26, 2012 at 1:01 PM, Christian Ruppert <idl0r@gentoo.org>
> > wrote:
> > > I haven't followed the prev. conversation but what's wrong with a
> > > USE flag for SSE2? We already have SSE2 flags, even global..
> >
> > That's not it. The flash binary uses SSE2 instructions without
> > checking for their presence, which causes bad things on systems
> > without SSE2. The purpose of the 'sse2check' flag was to die if the
> > system doesn't have SSE2 and print a message telling the user to use
> > an older version of flash.
> >
> > The relevant bug is https://bugs.gentoo.org/show_bug.cgi?id=410547
> >
>
> wouldnt adding a sse2 useflag and putting it in REQUIRED_USE solve the
> problem ?
>
> afaik portage wont even try to upgrade if people have -sse2

I like that, but it doesn't address building on a host not supporting SSE2 for
a target that does. That's the reason the USE flag was added - to provide a
workaround for the die. I'm saying just don't die at all. It doesn't
provide anything but another way for the ebuild to fail. An ewarn for the
very few people that will actually encounter this should be enough.


--
fonts, gcc-porting
toolchain, wxwidgets
@ gentoo.org
 
Old 04-27-2012, 05:23 AM
Ryan Hill
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Thu, 26 Apr 2012 18:00:04 +0200
Jeroen Roovers <jer@gentoo.org> wrote:

> On Wed, 25 Apr 2012 23:04:08 -0600
> Ryan Hill <dirtyepic@gentoo.org> wrote:
>
> > especially for an instruction set that every system has supported
> > for over a decade.
>
> Er, some of my teenage systems run desktops just fine here, thanks. And
> one of them is just nine years old right now but still doesn't support
> SSE2 (merely SSE[1]).

I knew I'd get called on that. s/every/almost every


--
fonts, gcc-porting
toolchain, wxwidgets
@ gentoo.org
 
Old 04-27-2012, 09:40 AM
Maxim Kammerer
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Fri, Apr 27, 2012 at 08:23, Ryan Hill <dirtyepic@gentoo.org> wrote:
> On Thu, 26 Apr 2012 18:00:04 +0200, Jeroen Roovers <jer@gentoo.org> wrote:
>> Er, some of my teenage systems run desktops just fine here, thanks. And
>> one of them is just nine years old right now but still doesn't support
>> SSE2 (merely SSE[1]).
>
> I knew I'd get called on that. *s/every/almost every

I suspect that you are missing the point; see
https://en.wikipedia.org/wiki/List_of_AMD_Athlon_XP_microprocessors.

--
Maxim Kammerer
Liberté Linux (discussion / support: http://dee.su/liberte-contribute)
 
Old 04-27-2012, 01:38 PM
Alexis Ballier
 
Default gentoo-x86 commit in www-plugins/adobe-flash: metadata.xml adobe-flash-11.2.202.228.ebuild ChangeLog

On Thu, 26 Apr 2012 23:19:04 -0600
Ryan Hill <dirtyepic@gentoo.org> wrote:

> On Thu, 26 Apr 2012 17:06:45 -0300
> Alexis Ballier <aballier@gentoo.org> wrote:
>
> > On Thu, 26 Apr 2012 15:15:34 -0400
> > Matt Turner <mattst88@gentoo.org> wrote:
> >
> > > On Thu, Apr 26, 2012 at 1:01 PM, Christian Ruppert
> > > <idl0r@gentoo.org> wrote:
> > > > I haven't followed the prev. conversation but what's wrong with
> > > > a USE flag for SSE2? We already have SSE2 flags, even global..
> > >
> > > That's not it. The flash binary uses SSE2 instructions without
> > > checking for their presence, which causes bad things on systems
> > > without SSE2. The purpose of the 'sse2check' flag was to die if
> > > the system doesn't have SSE2 and print a message telling the user
> > > to use an older version of flash.
> > >
> > > The relevant bug is https://bugs.gentoo.org/show_bug.cgi?id=410547
> > >
> >
> > wouldnt adding a sse2 useflag and putting it in REQUIRED_USE solve
> > the problem ?
> >
> > afaik portage wont even try to upgrade if people have -sse2
>
> I like that, but it doesn't address building on a host not supporting
> SSE2 for a target that does.

Why? Enable sse2 when cross-"building" and be done.

Note: There's no more check via /proc/cpuinfo that way.

A.
 

Thread Tools




All times are GMT. The time now is 05:51 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org