compiling media-gfx/gimp-2.8.14 with =sys-devel/gcc-5.2.0 and CFLAGS="-O2 -ftree-loop-linear" fails due to internal compiler error. bug report [1] seems to be related. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64394 portage 2.2.20 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-5.2.0, glibc-2.20-r2, 4.0.6-gentoo x86_64) ================================================================= System uname: Linux-4.0.6-gentoo-x86_64-AMD_A6-4400M_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.2 KiB Mem: 3379816 total, 391248 free KiB Swap: 8190972 total, 8190972 free Timestamp of repository gentoo: Thu, 23 Jul 2015 06:45:01 +0000 sh dash 0.5.8.2 ld GNU gold (Gentoo 2.25 p1.2 2.25) 1.11 ccache version 3.1.9 [disabled] app-shells/bash: 4.3_p33-r2::gentoo dev-java/java-config: 2.2.0::gentoo dev-lang/perl: 5.22.0::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.4.1::gentoo dev-util/ccache: 3.1.9-r4::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.15::gentoo sys-devel/binutils: 2.25-r1::gentoo sys-devel/gcc: 4.8.4::gentoo, 4.9.3::gentoo, 5.2.0::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 4.1::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 local-crossdev location: /usr/local/portage-crossdev masters: gentoo priority: 0 x-portage location: /usr/local/portage masters: gentoo priority: 1 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -g0 -ftree-loop-linear" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -mtune=native -O2 -g0 -ftree-loop-linear" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.utf8" LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -march=native -mtune=native -O2 -g0 -ftree-loop-linear" MAKEOPTS="-j2 V=0 --quiet" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="X acl alsa amd64 branding gpl hdaps ipv6 nls nptl openmp pic seccomp ssl threads truetype unicode vdpau vim-syntax" ABI_X86="64" CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console pdfimport presenter-minimizer" LINGUAS="de" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="r600 radeon" XFCE_PLUGINS="trash clock battery power" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Reproducible: Always
Created attachment 407444 [details] build log of media-gfx/gimp
Created attachment 407464 [details] build log of =media-video/ffmpeg-2.7.1 the same error with =media-video/ffmpeg-2.7.1
I seriously hate these control codes.
I want to point out that this is gcc-5 specific error and not an gimp specific one. I've added two other ebuilds which fail due to the same error (kind of). If necessary I could add many more. ;) I appreciate it if the title would be changed in that direction and a blocker to porting gcc-5 should/could be added too. Thanks in advance.
The porting tracker is for bugs in packages that cause them to fail to build with gcc 5. This is a bug in gcc and will affect several packages.
Created attachment 407560 [details] preprocessed source from babl-0.1.12 $ gcc-5.2.0 -O2 -ftree-loop-linear -c babl-sampling.i ../isl-0.15/isl_constraint.c:627: expecting integer value babl-sampling.c: In function 'babl_sampling_class_init': babl-sampling.c:62:1: internal compiler error: Aborted
That bug doesn't seem related. I'm pretty sure it's PR61929 but haven't tested that patch.
my mistake, wrong bug report. I meant [1], which your report is a duplicate of. ... [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64394
*** This bug has been marked as a duplicate of bug 546752 ***