New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
media-video/ffmpeg: can be built w/ LTO #47
Conversation
Hi @pchome , I'm actually getting some ODR violations when I try to build it with LTO. What are your CFLAGS/CXXFLAGS for this one? |
CFLAGS/CXXFLAGS same as yours (from Version: 3.4(0/55.57.57)
USE flags set: X alsa bzip2 encode gpl hardcoded-tables iconv jack ladspa mp3 network openal opengl openssl postproc pulseaudio sdl svg threads truetype vdpau vorbis x264 xcb xvid zlib
ABI_X86="64 -32 -x32"
CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 -aes -avx -avx2 -fma3 -fma4 -sse4_1 -sse4_2 -ssse3 -xop"
FFTOOLS="aviocat cws2fws ffescape ffeval ffhash fourcc2pixfmt graph2dot ismindex pktdumper qt-faststart sidxindex trasher" |
@InBetweenNames I can confirm. I actually tried to build ffmpeg with -flto yesterday or two days ago and it failed spectacularly. |
Maybe it builds for me because I have every dependency LTOed or have no problematic USE flag set? @CrisBRM no, nothing to compare with and I don't want to play with it for now. |
I actually just did an
My |
@pchome if you have mpv you can easily benchmark it. Add this to mpv.conf
... and then, |
I'm actually wondering if it is from the |
Upon further investigation it looks like this is actually related to SSE. I'll make a small note in the workarounds file to reflect this, as we can't toggle LTO based on USE flags yet. Although, I think such a thing would be possible with the right patches. |
Package-Manager: Portage-2.3.16, Repoman-2.3.6
No description provided.