| Summary: | media-libs/x264-0.0.20160712: not possible to build without altivec on PPC | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marcus Comstedt <marcus> |
| Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | PPC64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Proposed patch
Output from emerge --info Complete build log |
||
|
Description
Marcus Comstedt
2017-04-19 11:42:10 UTC
Created attachment 470380 [details, diff]
Proposed patch
Created attachment 470382 [details]
Output from emerge --info
do you have a build log ? iirc x264 was using runtime cpu detection for altivec and building only altivec files with mabi=altivec which should work on any ppc Created attachment 470712 [details]
Complete build log
Sure, although it's not that fascinating.
The reason for "No working C compiler found." is that gcc gives the error
"error: AltiVec not supported in this target" due to the combination of
the flags "-mcpu=e5500" (from make.conf) and "-maltivec" (added by the
configure script unless "--disable-asm" is specified).
Indeed, your patch seems correct, thanks! commit 957db0b234d928bb48a8890f78b2bd6332ebc8f8 Author: Alexis Ballier <aballier@gentoo.org> Date: Sun Apr 23 16:23:09 2017 +0200 media-libs/x264: Add altivec useflag and disable ppc asm if not enabled, since ppc asm is what that means. Bug #616004. Patch by Marcus Comstedt |