Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 560902 - [4.9/ICE] app-text/lcdf-typetools-2.105 w/ -fgraphite-identity - ICE: isl-0.15/isl_val.c:290: numerator too large
Summary: [4.9/ICE] app-text/lcdf-typetools-2.105 w/ -fgraphite-identity - ICE: isl-0.1...
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: 2015-09-20 11:43 UTC by Karl Lindén
Modified: 2019-02-13 23:06 UTC (History)
0 users

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


Attachments
build.log (build.log,23.42 KB, text/plain)
2015-09-20 11:46 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 11:43:45 UTC
When emergeing =app-text/lcdf-typetools-2.105 with =sys-devel/gcc-4.9.3 and -fgraphite-identity in CFLAGS the compile phase fails with the following error.

make[2]: Entering directory '/var/tmp/portage/app-text/lcdf-typetools-2.105/work/lcdf-typetools-2.105/otftotfm'
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 -fgraphite-identity -c -o automatic.o automatic.cc
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 -fgraphite-identity -c -o dvipsencoding.o dvipsencoding.cc
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 -fgraphite-identity -c -o glyphfilter.o glyphfilter.cc
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 -fgraphite-identity -c -o metrics.o metrics.cc
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 -fgraphite-identity -c -o otftotfm.o otftotfm.cc
/var/tmp/portage/dev-libs/isl-0.15/work/isl-0.15/isl_val.c:290: numerator too large
In file included from ./../include/lcdf/vector.hh:323:0,
                 from ./../include/efont/otfdata.hh:5,
                 from ./../include/efont/otf.hh:4,
                 from ./../include/efont/otfcmap.hh:4,
                 from dvipsencoding.hh:3,
                 from dvipsencoding.cc:17:
./../include/lcdf/vector.cc: In member function 'void Vector<T>::resize(Vector<T>::size_type, const T&) [with T = bool; Vector<T>::size_type = int]':
./../include/lcdf/vector.cc:166:1: internal compiler error: Aborted
 Vector<T>::resize(size_type n, const T &x)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
Makefile:450: recipe for target 'dvipsencoding.o' failed
make[2]: *** [dvipsencoding.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/tmp/portage/dev-libs/isl-0.15/work/isl-0.15/isl_val.c:290: numerator too large
In file included from ./../include/lcdf/vector.hh:323:0,
                 from ./../include/efont/psres.hh:4,
                 from otftotfm.cc:20:
./../include/lcdf/vector.cc: In member function 'void Vector<T>::resize(Vector<T>::size_type, const T&) [with T = bool; Vector<T>::size_type = int]':
./../include/lcdf/vector.cc:166:1: internal compiler error: Aborted
 Vector<T>::resize(size_type n, const T &x)
 ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <https://bugs.gentoo.org/> for instructions.
Makefile:450: recipe for target 'otftotfm.o' failed
make[2]: *** [otftotfm.o] Error 1
make[2]: Leaving directory '/var/tmp/portage/app-text/lcdf-typetools-2.105/work/lcdf-typetools-2.105/otftotfm'
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

It is also possible to cause ICEs with other graphite flags, but the bugs show up more randomly. I wrote a script that automated the test process and I managed to get the following table. I=-floop-interchange, S=-floop-strip-mine, B=-floop-block, G=-fgraphite-identity and R=result. An X means the flag is in CLFAGS, and S/F denote success/failure respectively. 

ISBG|R
----|-
    |S
X   |S
 X  |F
XX  |F
  X |S
X X |S
 XX |S
XXX |S
   X|F
X  X|F
 X X|F
XX X|F
  XX|F
X XX|F
 XXX|F
XXXX|F

Reproducible: Always
Comment 1 Karl Lindén 2015-09-20 11:44:45 UTC
emerge -pqv '=app-text/lcdf-typetools-2.105::gentoo'
[ebuild   R   ] app-text/lcdf-typetools-2.105  USE="kpathsea"
Comment 2 Karl Lindén 2015-09-20 11:45:18 UTC
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-4.9.3, 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,   2519124 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"
CXXFLAGS="-O2 -fomit-frame-pointer -pipe -fno-stack-protector -march=amdfam10 -floop-interchange -floop-strip-mine -floop-block"
Comment 3 Karl Lindén 2015-09-20 11:46:04 UTC
Created attachment 412326 [details]
build.log
Comment 4 Karl Lindén 2015-09-20 12:07:26 UTC
This bug is not reproducible with =gcc-5.1.0. However other bugs are uncovered, which I will report in another bug.

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
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2019-02-13 23:06:54 UTC
(In reply to Karl Lindén from comment #4)
> This bug is not reproducible with =gcc-5.1.0. However other bugs are
> uncovered, which I will report in another bug.

Thank you! Let's abandon it then.