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

Bug 654118

Summary: media-video/ffmpeg-4.0.0 - In file included from src/libpostproc/postprocess.c:546:0: src/libpostproc/postprocess_template.c: In function ‘dering_SSE2’: src/libpostproc/postprocess_template.c:1097:5: error: ‘asm’ operand has impossible constraints
Product: Gentoo Linux Reporter: cryptopsy
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: media-video:ffmpeg-4.0:20180426-105940.log
emerge --info
3.4.2 build log

Description cryptopsy 2018-04-26 08:10:26 UTC
Created attachment 528552 [details]
media-video:ffmpeg-4.0:20180426-105940.log

This bug has occured in previous version.
Comment 1 cryptopsy 2018-04-26 08:11:01 UTC
Created attachment 528554 [details]
emerge --info
Comment 2 cryptopsy 2018-04-29 19:23:21 UTC
Created attachment 528948 [details]
3.4.2 build log

Only CFLAGS="-march=native" . No -flto, no -O3, no -pipe etc.
Comment 3 cryptopsy 2018-04-29 23:37:32 UTC
might be related to gcc LTO , with this env file , it compiles:

CFLAGS="-O2 -march=native -fomit-frame-pointer -finline-functions -fsched-pressure -ftree-loop-distribution -pipe -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity" 
CXXFLAGS="${CFLAGS}" 
LDFLAGS="-Wl,-O2 -Wl,--as-needed -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--strip-debug ${CFLAGS}"