Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587200 - sys-devel/gcc-6.1.0 ICE while compiling media-video/ffmpeg-3.0.2 with graphite flags.
Summary: sys-devel/gcc-6.1.0 ICE while compiling media-video/ffmpeg-3.0.2 with graphit...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-26 23:58 UTC by Aric Belsito
Modified: 2017-03-03 21:09 UTC (History)
0 users

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


Attachments
emerge info (info,5.34 KB, text/plain)
2016-06-26 23:58 UTC, Aric Belsito
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aric Belsito 2016-06-26 23:58:36 UTC
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".
Comment 1 Aric Belsito 2016-12-09 21:01:24 UTC
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?