Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619476 - media-libs/tiff-4.0.8 with gcc-6.3.0: internal compiler error: in add_loop_constraints, at graphite-sese-to-poly.c:931
Summary: media-libs/tiff-4.0.8 with gcc-6.3.0: internal compiler error: in add_loop_co...
Status: RESOLVED DUPLICATE of bug 615876
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Graphics Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-23 19:16 UTC by Nikolaj Šujskij
Modified: 2017-06-07 19:32 UTC (History)
1 user (show)

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


Attachments
tiff-4.0.8 & gcc 6.3.0/graphite build log (tiff-4.0.8:build.log,55.51 KB, text/x-log)
2017-05-23 19:16 UTC, Nikolaj Šujskij
Details
emerge --info '=media-libs/tiff-4.0.8::gentoo' (file_619476.txt,17.47 KB, text/plain)
2017-05-23 19:19 UTC, Nikolaj Šujskij
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaj Šujskij 2017-05-23 19:16:58 UTC
Created attachment 473980 [details]
tiff-4.0.8 & gcc 6.3.0/graphite build log

When trying to update to media-libs/tiff-4.0.8 I hit this:

/var/tmp/portage/media-libs/tiff-4.0.8/work/tiff-4.0.8/tools/tiff2pdf.c: In function ‘t2p_compose_pdf_page’:
/var/tmp/portage/media-libs/tiff-4.0.8/work/tiff-4.0.8/tools/tiff2pdf.c:4402:6: internal compiler error: in add_loop_constraints, at graphite-sese-to-poly.c:931
 void t2p_compose_pdf_page(T2P* t2p){
      ^~~~~~~~~~~~~~~~~~~~

When I disable graphite optimizations in CFLAGS, media-libs/tiff-4.0.8 is compiled successfully.

Assorted info I think is relevant:

[ebuild   R   ] sys-devel/gcc-6.3.0  USE="cxx fortran go graphite (multilib) nls nptl openmp pch sanitize ssp vtv (-altivec) (-awt) -cilk -debug -doc (-fixed-point) (-gcj) (-hardened) (-jit) (-libssp) -mpx -objc -objc++ -objc-gc (-pie) -regression-test -vanilla" 

[ebuild   R   ] media-libs/tiff-4.0.8  USE="cxx jpeg lzma zlib -jbig -static-libs {-test}" ABI_X86="(64) -32 (-x32)"

 % gcc -v
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/6.3.0/gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/6.3.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-6.3.0/work/gcc-6.3.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/6.3.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.3.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.3.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.3.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.0/include/g++-v6 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/6.3.0/python --enable-languages=c,c++,go,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --enable-nls --without-included-gettext --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 6.3.0 p1.0' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --enable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --with-isl --disable-isl-version-check --enable-libsanitizer --disable-default-pie --enable-default-ssp
Thread model: posix
gcc version 6.3.0 (Gentoo 6.3.0 p1.0) 

CFLAGS="-march=core-avx2 -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
Comment 1 Nikolaj Šujskij 2017-05-23 19:19:02 UTC
Created attachment 473982 [details]
emerge --info '=media-libs/tiff-4.0.8::gentoo'
Comment 2 Nikolaj Šujskij 2017-06-07 19:32:55 UTC

*** This bug has been marked as a duplicate of bug 615876 ***