Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 212191 - QA: x11-misc/xscreensaver ugly flag-o-matic eclass usage for altivec problems
Summary: QA: x11-misc/xscreensaver ugly flag-o-matic eclass usage for altivec problems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Samuli Suominen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-03 13:27 UTC by Samuli Suominen (RETIRED)
Modified: 2008-03-26 18:00 UTC (History)
2 users (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 Samuli Suominen (RETIRED) gentoo-dev 2008-03-03 13:27:34 UTC
x11-misc/xscreensaver ebuild has these lines,

filter-flags -mabi=altivec
filter-flags -maltivec
append-flags -U__VEC__

to workaround altivec related building problems with "flurry" screensaver, but as you can see those flags are being forced to everyone and not just for the offending file. If we could rid of it, that'd be cool! Can one of you powerpc members provide the failure log so we can look at the problem? Problem from 
myside is lack of powerpc hardware. :-/
Comment 1 Markus Rothe (RETIRED) gentoo-dev 2008-03-26 18:00:26 UTC
this is the error I'm getting without the setted flags:

flurry.h:72: error: expected specifier-qualifier-list before 'vector'
flurry.h:79: error: expected specifier-qualifier-list before 'vector'
flurry.h:176: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'float'

I've wrapped the filter-/append-flags in a "use ppc/ppc64" in 5.05 (while fixing bug #214870)