Created attachment 438926 [details] emerge info I have opened up a GCC bug here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71575 Relevant portion of build log: x86_64-gentoo-linux-musl-gcc -I. -Isrc/ -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_POSIX_C_SOURCE=200112 -D_XOPEN_SOURCE=600 -DPIC -DZLIB_CONST -DHAVE_AV_CONFIG_H -march=native -O2 -floop-nest-optimize -march=haswell -std=c99 -fomit-frame-pointer -fPIC -pthread -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/opus -Wdeclaration-after-statement -Wall -Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wwrite-strings -Wtype-limits -Wundef -Wmissing-prototypes -Wno-pointer-to-int-cast -Wstrict-prototypes -Wempty-body -Wno-parentheses -Wno-switch -Wno-format-zero-length -Wno-pointer-sign -Wno-unused-const-variable -march=native -O2 -floop-nest-optimize -fno-math-errno -fno-signed-zeros -Werror=format-security -Werror=implicit-function-declaration -Werror=missing-prototypes -Werror=return-type -Werror=vla -Wformat -fdiagnostics-color=auto -Wno-maybe-uninitialized -MMD -MF libavcodec/lpc.d -MT libavcodec/lpc.o -c -o libavcodec/lpc.o src/libavcodec/lpc.c src/libavcodec/lpc.c: In function ‘ff_lpc_calc_ref_coefs’: src/libavcodec/lpc.c:158:5: internal compiler error: in copy_cond_phi_nodes, at graphite-isl-ast-to-gimple.c:2500 int ff_lpc_calc_ref_coefs(LPCContext *s, ^~~~~~~~~~~~~~~~~~~~~ Please submit a full bug report, with preprocessed source if appropriate. See <https://bugs.gentoo.org/> for instructions. make: *** [/var/tmp/portage/media-video/ffmpeg-3.0.2/work/ffmpeg-3.0.2/common.mak:60: libavcodec/lpc.o] Error 1 As with bug 585558, this is triggered by the GCC optimization flag "-floop-nest-optimize" on any optimization level >= "-O2".
This bug was fixed! https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=243475 Are we going to wait until gcc-6.3.0, or apply the patch?