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

Bug 574760

Summary: media-libs/x264 on arm - ?
Product: Gentoo Linux Reporter: Reuben Martin <reuben.m>
Component: [OLD] LibraryAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED NEEDINFO    
Severity: normal CC: arm
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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?