Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 698058 - media-libs/libsdl2 USE=cpu_flags_ppc_altivec on ppc64le results in color corruption
Summary: media-libs/libsdl2 USE=cpu_flags_ppc_altivec on ppc64le results in color corr...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-19 22:00 UTC by Robert Bridge
Modified: 2022-07-15 08:01 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 Robert Bridge 2019-10-19 22:00:13 UTC
When media-libs/libsdl-1.2.15-r9 is compiled with the altivec use-flag set on ppc64le, color corruption is observed in wesnoth (and presumably other libsdl2 consumers). When it is compiled with -altivec, the color corruption goes away.

Reproducible: Always

Steps to Reproduce:
1. Compile media-libs/libsdl2 with altivec set on ppc64le
2. Run Wesnoth
3. Observe the corrupted colors
Actual Results:  
Corrupted colors observed in wesnoth

Expected Results:  
No corrupted colors

No corrupted colors observed on same platform with only media-libs/libsdl2 recompiled without altivec.
Comment 1 Robert Bridge 2019-10-20 00:07:21 UTC
Ok, I was pulling wrong information when I posted the report... It should have been media-libs/libsdl2-2.0.10 listed, not the libsdl1 version. My apologies.
Comment 2 James Le Cuirot gentoo-dev 2019-10-20 11:36:03 UTC
Being somewhat obscure hardware, I can't easily test this myself and it is almost certainly an upstream bug anyway. Could you please report it there and link it here?
Comment 3 Robert Bridge 2019-10-20 12:12:32 UTC
Would it be practical to package.use.mask altivec for ppc64le as a temporary workaround?
Comment 4 Robert Bridge 2019-10-20 12:37:00 UTC
Reported upstream https://bugzilla.libsdl.org/show_bug.cgi?id=4834