Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361953 (PR53571)

Summary: [4.6/4.7/Graphite/ICE] dev-lang/tcl-8.5.9 failed to build with ICE
Product: Gentoo Linux Reporter: Alexey Shvetsov <alexxy>
Component: New packagesAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED WONTFIX    
Severity: normal CC: ka.nick
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://gcc.gnu.org/PR53571
Whiteboard: pending upstream fix
Package list:
Runtime testing required: ---
Attachments: build.log
reduced testcase

Description Alexey Shvetsov archtester gentoo-dev 2011-04-04 19:07:39 UTC
dev-lang/tcl-8.5.9 failed to build with ICE possibly becuse of graphite


$ emerge --info 
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.6.0
sys-devel/gcc-config: 1.5-r1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
Repositories: gentoo science alexxy kde sunrise x11 aidecoe gamerlay-stable bicatali
Installed sets: 
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -mfpmath=sse -msse4 -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -mtune=native -mfpmath=sse -msse4 -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe -march=native -mtune=native -mfpmath=sse -msse4 -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,-O1,--hash-style=gnu,--sort-common,--as-needed"
LINGUAS="ru en"
MAKEOPTS="--jobs --load-average=8"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/alexxy /var/lib/layman/kde /var/lib/layman/sunrise /var/lib/layman/x11 /var/lib/layman/aidecoe /var/lib/layman/gamerlay /var/lib/layman/bicatali"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
Portage 2.2.0_alpha29 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.0, glibc-2.13-r2, 2.6.38-git18 x86_64)
=================================================================
System uname: Linux-2.6.38-git18-x86_64-Intel-R-_Core-TM-_i5_CPU_750_@_2.67GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 04 Apr 2011 14:00:01 +0000
USE="64bit X a52 aac acl acpi alsa amd64 apbs bash-completion bazaar berkdb blas branding btrfs bzip2 cairo caps cdr cli cmkopt compat consolekit context cracklib crypt cscope cups cvs cxx cyrillic dbus declarative desktopglobe detex disk-partition dri dts dvd dvdr emboss encode exif expat extensions extra extraengine extras fam fbcondecor fbsplash fftw firefox flac fontconfig fortran gdbm gdu gensplash gif git glitz gmp gnutls gpm graphics graphite gstreamer gtk humanities iconv idn ipv6 jadetex java jingle jpeg kde kpathsea lapack latex lcms ldap logrotate lvm lzma mad mercurial mikmod mmx mng modules mp3 mp4 mpeg mpi-threads mplayer mudflap multilib multimedia music mysql ncurses netlink nls nptl nptlonly nsplugin ods ogg omega opencl opengl openmp pam pango pcre pdf perl phonon plotutils plugins png policykit ppds pppd prolog ps pstricks publishers pulseaudio python python3 qemu qt3support qt4 qwt readline rss samba science sdl semantic-desktop session shaders smp spell sse sse2 ssl startup-notification subversion svg symlink sysfs tachyon tcpd tex4ht theora thin-splines threads thumbnail thumbnails tiff tk truetype udev unicode usb uswsusp v4l v4l2 vde vim vim-pager vim-syntax vorbis webkit x264 xcb xcomposite xen xetex xinerama xls xml xmlpatterns xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog apache bind cpu cpufreq disk entropy hddtemp iptables logfile mysql netlink network ntpd protocols sensors tail unixsock" DRACUT_MODULES="btrfs crypt gensplash lvm syslog plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="arm i386 mips64 x86_64" QEMU_USER_TARGETS="arm i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexey Shvetsov archtester gentoo-dev 2011-04-04 19:07:58 UTC
Created attachment 268501 [details]
build.log

build.log
Comment 2 Alexey Shvetsov archtester gentoo-dev 2011-04-04 19:12:57 UTC
Yep it defenetely graphite related ice
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-01 20:30:00 UTC
Created attachment 313865 [details]
reduced testcase

0x00007ffff7bcc1d5 in cloog_domain_stride () from /usr/lib64/libcloog.so.0
(gdb) bt
#0  0x00007ffff7bcc1d5 in cloog_domain_stride () from /usr/lib64/libcloog.so.0
#1  0x00007ffff7bc1ecf in ?? () from /usr/lib64/libcloog.so.0
#2  0x00007ffff7bc171b in cloog_loop_generate () from /usr/lib64/libcloog.so.0
#3  0x00007ffff7bd2f69 in cloog_program_generate () from /usr/lib64/libcloog.so.0
#4  0x0000000000d593ec in scop_to_clast ()
#5  0x0000000000d5961e in gloog ()
#6  0x0000000000d55763 in graphite_transform_loops ()
#7  0x000000000091a269 in graphite_transforms ()
#8  0x0000000000759059 in execute_one_pass ()
#9  0x0000000000759233 in execute_pass_list ()
#10 0x0000000000759254 in execute_pass_list ()
#11 0x0000000000759254 in execute_pass_list ()
#12 0x0000000000759254 in execute_pass_list ()
#13 0x000000000088eae1 in tree_rest_of_compilation ()
#14 0x0000000000a49d0b in cgraph_expand_function ()
#15 0x0000000000a49eca in cgraph_expand_all_functions ()
#16 0x0000000000a4a533 in cgraph_optimize ()
#17 0x0000000000a48b22 in cgraph_finalize_compilation_unit ()
#18 0x000000000049de30 in c_write_global_declarations ()
#19 0x000000000083006e in compile_file ()
#20 0x0000000000832000 in do_compile ()
#21 0x0000000000832146 in toplev_main ()
#22 0x0000000000521118 in main ()

Since it looks like a bug in cloog-ppl, it should be checked whether it works with cloog/isl before reporting upstream.
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2012-06-01 20:48:55 UTC
(In reply to comment #3)

> Since it looks like a bug in cloog-ppl, it should be checked whether it
> works with cloog/isl before reporting upstream.

Compiles fine with dev-libs/isl-0.07-r1, dev-libs/cloog-0.16.3 and --enable-cloog-backend=isl. I doubt that gcc maintainers will care :/
Comment 5 Ryan Hill (RETIRED) gentoo-dev 2012-06-04 07:00:45 UTC
Until cloog/isl becomes the supported backend for GCC, I think they have to care.
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2013-05-24 03:29:19 UTC
*** Bug 471064 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2015-10-22 14:06:34 UTC
gcc-4.9 is stable now, so throwing away older bugs we don't plan on doing backports for as this should be fixed w/4.9+.  please re-open if it's still an issue with 4.9.3+ though.