Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574760 - media-libs/x264 on arm - ?
Summary: media-libs/x264 on arm - ?
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-15 03:12 UTC by Reuben Martin
Modified: 2016-12-05 20:10 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 Reuben Martin 2016-02-15 03:12:18 UTC
Currently x264 fails to build on for Arm (and possibly others) due to trying to build with the assembly code option enabled. It may actually compile for some Arm architectures, but for the RPi armv6j it does not. I have no idea if there is any assembly for non-x86 architecture in the code base, but either way the logic behind disabling the assembly code option is rather poor:

if [[ ${ABI} == x86* ]] && use pic || [[ ${ABI} == "x32" ]]; then
         asm_conf=" --disable-asm"
fi

Manually disabling the asm config option, the package builds for the armv6j without any error. The assembly should be disabled by default, with a white list of matching architectures known to be supported, used to enable it.

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2016-02-15 05:02:24 UTC
Build log?
`emerge --info` output?