Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560904 - [5.1/5.2/ICE] app-text/lcdf-typetools-2.105 w/graphite optmizations - ICE: isl-0.15/isl_constraint.c:627: expecting integer value
Summary: [5.1/5.2/ICE] app-text/lcdf-typetools-2.105 w/graphite optmizations - ICE: is...
Status: RESOLVED DUPLICATE of bug 546752
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:
: 562200 567172 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-20 12:15 UTC by Karl Lindén
Modified: 2015-12-05 19:34 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,8.24 KB, text/plain)
2015-09-20 12:18 UTC, Karl Lindén
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Lindén 2015-09-20 12:15:35 UTC
When emergeing =app-text/lcdf-typetools-2.105 with =sys-devel/gcc-5.1.0 and "-floop-interchange -fstrip-mine" in CFLAGS the compile phase fails with the following error.

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I./../include -I/usr/lib64   -O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -floop-interchange -floop-strip-mine -c -o bezier.o bezier.cc
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I./../include -I/usr/lib64   -O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -floop-interchange -floop-strip-mine -c -o clp.o clp.c
/var/tmp/portage/dev-libs/isl-0.15/work/isl-0.15/isl_constraint.c:627: expecting integer value
clp.c: In function 'finish_string_list':
clp.c:1197:1: internal compiler error: Aborted
 finish_string_list(Clp_Parser *clp, int val_type, int flags,
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
Makefile:372: recipe for target 'clp.o' failed
make[2]: *** [clp.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/lcdf-typetools-2.105/work/lcdf-typetools-2.105/liblcdf'
Makefile:500: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-text/lcdf-typetools-2.105/work/lcdf-typetools-2.105'
Makefile:399: recipe for target 'all' failed
make: *** [all] Error 2

I made a table that shows when this bug occurs. The result is strange, I think.

I=-floop-interchange
S=-floop-strip-mine
B=-floop-block
G=-fgraphite-identity
ISBG|R
----|-
    |S
X   |S
 X  |S
XX  |F
  X |S
X X |S
 XX |S
XXX |S
   X|S
X  X|S
 X X|S
XX X|F
  XX|S
X XX|S
 XXX|S
XXXX|S

Reproducible: Always
Comment 1 Karl Lindén 2015-09-20 12:17:27 UTC
emerge -pqv '=app-text/lcdf-typetools-2.105::gentoo'
[ebuild   R   ] app-text/lcdf-typetools-2.105  USE="kpathsea"

emerge --info '=app-text/lcdf-typetools-2.105::gentoo'
Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.1.0, glibc-2.21-r1, 4.1.5-rt-rt5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.1.5-rt-rt5-x86_64-AMD_Athlon-tm-_II_X4_640_Processor-with-gentoo-2.2
KiB Mem:     8177084 total,   2107396 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Sun, 20 Sep 2015 09:07:24 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.2::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.8::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo, 5.1.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

crossdev
    location: /usr/crossdev
    masters: gentoo
    priority: 0

lilrc
    location: /home/kalle/lilrc-overlay
    masters: gentoo
    priority: 1

proaudio
    location: /home/kalle/proaudio
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @MISC-FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
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="-O2 -pipe -O2 -fomit-frame-pointer -pipe -fno-stack-protector -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -march=amdfam10"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="                      --binpkg-changed-deps=y --binpkg-respect-use=y                      --buildpkg-exclude app-admin/lilrc-update                      --buildpkg-exclude app-emulation/virtualbox-modules                      --buildpkg-exclude sys-fs/vhba                      --buildpkg-exclude sys-kernel/*                      --buildpkg-exclude virtual/*                      --buildpkg-exclude www-client/firefox"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo"
INSTALL_MASK="/etc/systemd /usr/lib/systemd"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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 a52 aac alloca alsa amd64 aspell cairo cd cdda cddb cdr consolekit cracklib crypt cups curl dri drm dssi dvd dvdr exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb imap inotify jack javascript jit jpeg keymap ladspa lame libkms libnotify libsamplerate lv2 mad mp3 mpeg netifrc nptl ogg opengl openmp openrc orc pam pdf png qt4 qt5 readline spell ssl startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode usb v4l vaapi vdpau vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext sse sse2 sse3 sse4_1" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_GB" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby22" SANE_BACKENDS="xerox_mfp" USERLAND="GNU" VIDEO_CARDS="nouveau" XFCE_PLUGINS="trash"
Unset:  CC, CPPFLAGS, CTARGET, CXX, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-text/lcdf-typetools-2.105::gentoo was built with the following:
USE="kpathsea" ABI_X86="64"
CFLAGS="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity"
CXXFLAGS="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity"
Comment 2 Karl Lindén 2015-09-20 12:18:04 UTC
Created attachment 412328 [details]
build.log
Comment 3 Karl Lindén 2015-09-20 12:19:39 UTC
> I=-floop-interchange
> S=-floop-strip-mine
> B=-floop-block
> G=-fgraphite-identity
> ISBG|R
> ----|-
>     |S
> X   |S
>  X  |S
> XX  |F
>   X |S
> X X |S
>  XX |S
> XXX |S
>    X|S
> X  X|S
>  X X|S
> XX X|F
>   XX|S
> X XX|S
>  XXX|S
> XXXX|S
R=result
X=flag is set
S=compile succeeded
F=compile failure
Comment 4 Karl Lindén 2015-09-20 13:36:42 UTC
Reproducible with =sys-devel/gcc-5.2.0.
Comment 5 octoploid 2015-09-22 10:03:48 UTC
You should open a upstream bugreport for this issue https://gcc.gnu.org/bugzilla/

Please include the preprocessed clp.i file.

run:
cd /var/tmp/portage/app-text/lcdf-typetools-2.105/work/lcdf-typetools-2.105/liblcdf
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -I./../include -I/usr/lib64   -O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -floop-interchange -floop-strip-mine -c -o clp.o clp.c --save-temps

to produce it.
Comment 6 octoploid 2015-09-22 10:11:26 UTC
Might be a dup of https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61929
The fix hasn't been backported to gcc-5 yet.
Comment 7 Alexander Arques 2015-09-22 12:48:50 UTC
On my system the following packages are now residing in my package.env because of the same bug. They all fail with the
"...isl-0.15/isl_constraint.c:627: expecting integer value" error.

# graphite causes internal compiler error with GCC 5.1/5.2 & ISL 0.15
x11-libs/wxGTK no-graphite.conf
net-analyzer/nmap no-graphite.conf
media-gfx/gimp no-graphite.conf
dev-python/matplotlib no-graphite.conf
media-gfx/fontforge no-graphite.conf
app-office/libreoffice no-lto.conf no-graphite.conf
Comment 8 SpanKY gentoo-dev 2015-10-09 15:15:36 UTC
*** Bug 562200 has been marked as a duplicate of this bug. ***
Comment 9 Brian Evans (RETIRED) gentoo-dev 2015-11-30 19:48:23 UTC
*** Bug 567172 has been marked as a duplicate of this bug. ***
Comment 10 SpanKY gentoo-dev 2015-12-05 19:34:45 UTC

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