This flag should be filtered out. It crashes in function "vpx_convolve_copy_sse2". Note that libvpx is also generally unstable with this compiler flag. I've used this in the past and it has experienced random segfaults. Reproducible: Always
Personally can't reproduce with -march=skylake -O2 -ftree-vectorize for neither vp8 nor vp9 encodes (gcc-10.2.0-r5, libvpx-1.9.0 and ffmpeg-4.3.2), so it may also be something -march-specific or something I haven't tried. More information may be needed, what ffmpeg command? emerge --info? libvpx/ffmpeg versions? Is this reported upstream?
Using -march=znver2, same packages. Command was "ffmpeg -i file.mkv out.webm" This is not reported upstream.
Created attachment 690114 [details] emerge --info gcc ffmpeg libvpx
I should also note this happened on znver1, so maybe it is -march specific.
This seems to be (somehow) fixed by gcc-11.