Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237997 - [4.3/ICE] building app-office/openoffice-3.0.0 with -funswitch-loops fails at build_int_cst_wide, at tree.c:891
Summary: [4.3/ICE] building app-office/openoffice-3.0.0 with -funswitch-loops fails at...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/PR37489
Whiteboard:
Keywords:
: 244821 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-09-18 09:12 UTC by Jiri Baloun
Modified: 2009-01-12 04:56 UTC (History)
2 users (show)

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


Attachments
Brief log created during ebuilding (build.tar.bz2,265.88 KB, application/x-bzip)
2008-09-18 09:16 UTC, Jiri Baloun
Details
Env set during ebuilding (environment.tar.bz2,44.59 KB, application/x-bzip)
2008-09-18 09:17 UTC, Jiri Baloun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Baloun 2008-09-18 09:12:54 UTC
Diring building OOfice 3.0.0 rc1 I've received following error:
In file included from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/basegfx/polygon/b2dpolypolygon.hxx:35,                                   
                 from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/vcl/region.hxx:38,                                                       
                 from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/vcl/bitmap.hxx:38,                                                       
                 from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/vcl/bitmapex.hxx:35,                                                     
                 from ../../inc/b3dtex.hxx:35,                                                                                                                                                       
                 from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/goodies/source/base3d/b3dtex.cxx:33:                                                                 
/var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/o3tl/cow_wrapper.hxx:281: warning: type qualifiers ignored on function return type             
/var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/o3tl/cow_wrapper.hxx:285: warning: type qualifiers ignored on function return type             
In file included from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/goodies/source/base3d/b3dtex.cxx:33:                                                                 
../../inc/b3dtex.hxx:279: warning: type qualifiers ignored on function return type                                                                                                                   
/var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/goodies/source/base3d/b3dtex.cxx:393: warning: type qualifiers ignored on function return type                             
Making: ../../unxlngx6.pro/slo/b3dgeom.obj                                                                                                                                                           
In file included from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/basegfx/matrix/b3dhommatrix.hxx:37,                                      
                 from /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/goodies/source/base3d/b3dgeom.cxx:45:                                                                
/var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/o3tl/cow_wrapper.hxx:281: warning: type qualifiers ignored on function return type             
/var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/solver/300/unxlngx6.pro/inc/o3tl/cow_wrapper.hxx:285: warning: type qualifiers ignored on function return type             
/var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/goodies/source/base3d/b3dgeom.cxx: In member function 'void B3dGeometry::CreateDefaultTexture(sal_uInt16, sal_Bool)':      
/var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/goodies/source/base3d/b3dgeom.cxx:837: internal compiler error: in build_int_cst_wide, at tree.c:891                       
Please submit a full bug report,                                                                                                                                                                     
with preprocessed source if appropriate.                                                                                                                                                             
See <http://bugs.gentoo.org/> for instructions.                                                                                                                                                      
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/b3dgeom.obj'

ERROR: Error 65280 occurred while making /var/tmp/portage/app-office/openoffice-3.0.0_rc1/work/ooo/build/ooo300-m5/goodies/source/base3d
rmdir /tmp/29617
make: *** [stamp/build] Error 1
 *
 * ERROR: app-office/openoffice-3.0.0_rc1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 5422:  Called die
 * The specific snippet of code:
 *       make || die "Build failed"
 *  The die message:
 *   Build failed


Reproducible: Always

Steps to Reproduce:
1. unmask openoffice-3.0.0_rc1
2. run emerge -av openoffice-3.0.0_rc1
3. grab some popcorn ;-)





Portage 2.2_rc8 (default/linux/amd64/2008.0, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-tuxonice-r5 x86_64)
=================================================================                                         
System uname: Linux-2.6.25-tuxonice-r5-x86_64-Intel-R-_Core-TM-2_CPU_T7200_@_2.00GHz-with-glibc2.2.5      
Timestamp of tree: Thu, 18 Sep 2008 06:00:01 +0000                                                        
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.4.4-r14, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo http://gentoo.netnitco.net"
LANG="czech"
LC_ALL="cs_CZ.UTF8"
LDFLAGS=""
LINGUAS="cs en en_GB"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
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="/usr/local/portage /usr/local/portage/layman/kdesvn-portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 3dnow 3dnowext 7zip X X509 Xaw3d a52 aac aalib accessibility acl acpi addbookmarks additions adplug ads aim aio akode alias alsa altcolors amarok amazon amd amd64 amr amrnb amrwb ao aotuv asf async audiofile automount autoreplace bash-completion bcmath bcp bdf berkdb binary-drivers bl bluetooth boost branding bzip2 bzlib cairo cap captury cardbus cdda cddb cdio cdparanoia cdr cdrom chm chroot cisco collision-protect compress connectionstatus contactnotes corba cpio cpudetection cracklib crypt cscope css csv ctype cups curl curlwrappers custom-cflags cvs dar64 dbus dc1394 depth32 dga dia digikam dio diskio divx divx4linux djbfft dmi dmx doc dpms dri dvb dvd dvdnav dvdr dvdread eap-tls ecc elf emerald emovix enca encode erandom ethereal exif exiv2 expat extensions extrafilters fam fame ffmpeg firefox flac flatfile fmod fontconfig fpx freetype ftp fuse gadu gammu gdbm gif gimp gimpprint glistif glitz glut gnokii gnutls gpg gpg2-experimental graphviz groupwise gsgtk2 hal hdaps hddtemp hdri hfs highlight history hpn htmlhandbook hyperestraier ical iconv icq id3 id3tag idea ieee1394 imagemagick imap imlib imlib2 immqt inkjar inline inotify insecure-drivers insecure-patches iproute2 ipw3945 irc irda irmc ithreads jabber java java5 javamail javascript jbig jingle jpeg jpeg2k kde kdehiddenvisibility kdepim kdexdeltas kdrive kerberos keyscrub kipi lame laptop largeterminal latex lcms ldap lesstif lha libcaca libedit libg++ libnotify libvisual libwww linuxthreads-tls lirc live lm_sensors logrotate loop-aes lzo lzw lzw-tiff mad matroska mhash midi mikmod mime mmx mmx2 mng motif mp2 mp3 mp4 mpeg mplayer mudflap multicall multilib musepack nas ncurses nepomuk network newspr nls no-old-linux nocardbus nojoustick nomac nomalloccheck nowebdav nptlnptlonly nsplugin ntlm_unsupported_patch oav ogg oggvorbis openal openct openexr opengl openmp optimisememory oss pam pcmcia pcmcia-cs pcntl pcre pdf pdflib perl pertty pic plasma png pnm posix postgres pppd pvr python q32 qca qca2 qt qt3 qt3support qt4 quicktime rar rdesktop readline recode reflection rtc rtsp samba sasl sdl session sha shared sharedmem silc skey skins slang slp smartcard smux sndfile snmp sockets socks5 sox spl spoof-source srt sse sse2 ssl ssse3 stream subtitles subversion svg swig sysfs syslog sysvipc szip tabs tcl tcp tcpd test tga theora threads tidy tiff tivo tk trace transcode truetype twinserial twolame type1 unicode upnp usb userlocales utils v4l v4l2 vcd vcdx vdr vim-pager vim-syntax vim-with-x visualization vlm vorbis vram wavpack webdav wifi winbind winpopup wireshark wma wmf wmp wxwindows x264 xanim xattr xcb xcomposite xface xforms xgetdefault xine xml xorg xosd xpm xsl xulrunner xv xvid xvmc yv12 zlib zoran" ALSA_CARDS="intel8x0m" 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" CAMERAS="*" ELIBC="glibc" INPUT_DEVICES="synaptics keyboard mouse vmmouse evdev kbd" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en en_GB" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="fglrx ati dummy vmware radeon vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jiri Baloun 2008-09-18 09:16:21 UTC
Created attachment 165705 [details]
Brief log created during ebuilding
Comment 2 Jiri Baloun 2008-09-18 09:17:06 UTC
Created attachment 165707 [details]
Env set during ebuilding
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2008-10-14 06:06:05 UTC
Do you still get this with the final release?
Comment 4 Hanno Zysik (geki) 2008-10-28 22:41:12 UTC
JFYI, that code will be gone in OOo 3.1. See:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Id=7368
 > Tasks > Show tasks in issuezilla > ID: 93663 => Old 3D geometry code removed
Comment 5 sachse 2008-10-29 06:51:58 UTC
*** Bug 244821 has been marked as a duplicate of this bug. ***
Comment 6 Hanno Zysik (geki) 2008-10-30 18:30:10 UTC
I can reproduce this by adding '-funswitch-loops' to CFLAGS.
Comment 7 Hanno Zysik (geki) 2008-10-31 00:22:33 UTC
Reported upstream.
http://gcc.gnu.org/PR37969
Comment 8 Hanno Zysik (geki) 2008-11-06 16:57:09 UTC
We got a fix!

@Andreas
Would you mind to ask toolchain to add this simple fix from gcc-4_3-branch to 4.3.2? :)
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37489#c11
Comment 9 Andreas Proschofsky (RETIRED) gentoo-dev 2009-01-11 20:03:35 UTC
Toolchain-herd: See Comment #8 , this is caused by a gcc bug