Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 605906

Summary: media-libs/flac-1.3.2 enable 64bit words on x86_64
Product: Gentoo Linux Reporter: Shark <shark>
Component: Current packagesAssignee: Gentoo Sound Team <sound>
Status: UNCONFIRMED ---    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Patch to switch "--enable-64-bit-words" on

Description Shark 2017-01-16 15:03:42 UTC
Created attachment 460348 [details, diff]
Patch to switch "--enable-64-bit-words" on

Flac-1.3.2 has a configure switch to enable 8 bytes words on 64bit systems, but it's disable by default. See this git commit:
https://git.xiph.org/?p=flac.git;a=commit;h=6cc1cbad2c40a4406fd911445b86b3df2291dd79

Working on 8 bytes at times give some performance (5%-10% IIRC) improvement, so it would be nice to have it enabled in the ebuild.
I've added a check for CHOST=x86_64 to the flac-1.3.2-r1 ebuild, and it works on my system, but i'm no expert on ebuild writing.