Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 541758 - media-libs/libpostproc-10.20140517-r1 CPU_FLAGS_X86* USE flags are broken
Summary: media-libs/libpostproc-10.20140517-r1 CPU_FLAGS_X86* USE flags are broken
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-01 05:23 UTC by Nikoli
Modified: 2017-05-09 16:03 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.42 KB, text/plain)
2016-12-31 15:19 UTC, Toralf Förster
Details
config.log (config.log,147.96 KB, text/plain)
2016-12-31 15:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,52.46 KB, text/plain)
2016-12-31 15:19 UTC, Toralf Förster
Details
environment (environment,103.44 KB, text/plain)
2016-12-31 15:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.11 KB, application/x-bzip)
2016-12-31 15:19 UTC, Toralf Förster
Details
media-libs:libpostproc-10.20140517-r1:20161231-150707.log (media-libs:libpostproc-10.20140517-r1:20161231-150707.log,4.38 KB, text/plain)
2016-12-31 15:19 UTC, Toralf Förster
Details
libpostproc-10.20140517-no-deprecated-cpu-flag.patch (libpostproc-10.20140517-no-deprecated-cpu-flag.patch,486 bytes, patch)
2017-02-14 19:12 UTC, Peter Levine
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2015-03-01 05:23:35 UTC
Seems all media-libs/libpostproc ebuilds have this bug:
[ebuild   R    ] media-libs/libpostproc-10.20140517-r1  USE="pic (-altivec) -static-libs" ABI_X86="(64) -32 (-x32)" CPU_FLAGS_X86="mmx mmxext -3dnow" 0 KiB
...
>>> Configuring source in /var/tmp/portage/media-libs/libpostproc-10.20140517-r1/work/libpostproc-10.20140517 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
install prefix            /usr
source path               /var/tmp/portage/media-libs/libpostproc-10.20140517-r1/work/libpostproc-10.20140517
C compiler                x86_64-pc-linux-gnu-gcc
ARCH                      x86 (corei7-avx)
big-endian                no
runtime cpu detection     no
MMX enabled               yes
MMXEXT enabled            yes
3DNow! enabled            yes
3DNow! extended enabled   yes
SSE enabled               yes
SSSE3 enabled             yes
AVX enabled               yes
CMOV enabled              yes
CMOV is fast              yes
EBX available             yes
EBP available             no
debug symbols             yes
optimize for size         no
optimizations             yes
static                    no
shared                    yes
postprocessing support    yes
threading support         pthreads

License: GPL version 2 or later
Creating config.mak and config.h...
>>> Source configured.

CPU_FLAGS_X86 var does not affect src_configure, because CPU_FEATURES= var is not used in src_configure function of all libpostproc ebuilds. Also list in CPU_FEATURES= is incomplete: it does not include '3dnowext sse ssse3 avx'.
Comment 1 Nikoli 2015-03-01 05:26:12 UTC
After looking at bug #455814 it seems that CPU_FEATURES= list is complete, instead build system needs cleanup.
Comment 2 Toralf Förster gentoo-dev 2016-12-31 15:19:21 UTC
Created attachment 458148 [details]
emerge-info.txt

same at a tinderbox image
Comment 3 Toralf Förster gentoo-dev 2016-12-31 15:19:27 UTC
Created attachment 458150 [details]
config.log
Comment 4 Toralf Förster gentoo-dev 2016-12-31 15:19:30 UTC
Created attachment 458152 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2016-12-31 15:19:34 UTC
Created attachment 458154 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2016-12-31 15:19:36 UTC
Created attachment 458156 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2016-12-31 15:19:39 UTC
Created attachment 458158 [details]
media-libs:libpostproc-10.20140517-r1:20161231-150707.log
Comment 8 Kenton Groombridge 2017-02-10 02:33:45 UTC
This has become an issue on my system a few days ago with the version bump of libav-12 which causes a rebuild of this package.

There will probably be a few other folks having this issue as this package hasn't been built on my system for some time now.
Comment 9 Peter Levine 2017-02-14 19:12:00 UTC
Created attachment 463746 [details, diff]
libpostproc-10.20140517-no-deprecated-cpu-flag.patch

libav no longer defines AV_CPU_FLAG_MMX2. See http://lists.libav.org/pipermail/libav-commits/2015-August/017354.html.  AFAIK, AV_CPU_FLAG_MMXEXT should provide equivalent behavior.