Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 605906 - media-libs/flac-1.3.2 enable 64bit words on x86_64
Summary: media-libs/flac-1.3.2 enable 64bit words on x86_64
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal enhancement with 1 vote (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-16 15:03 UTC by Shark
Modified: 2017-01-16 17:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch to switch "--enable-64-bit-words" on (flac-1.3.2-ebuild-enable-64-bit-words.patch,416 bytes, patch)
2017-01-16 15:03 UTC, Shark
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.