Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 474598 - [ICE/4.7] app-office/libreoffice-4.1.0.1 w/ gcc-4.7.3 - g++: Internal compiler error: Error reporting routines re-entered.
Summary: [ICE/4.7] app-office/libreoffice-4.1.0.1 w/ gcc-4.7.3 - g++: Internal compile...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-24 12:21 UTC by Douglas J Hunley
Modified: 2015-10-22 14:08 UTC (History)
0 users

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


Attachments
build log (build.log,27.35 KB, text/x-log)
2013-06-24 12:21 UTC, Douglas J Hunley
Details
updated build.log (build.log,27.49 KB, text/x-log)
2013-06-25 11:15 UTC, Douglas J Hunley
Details
new emerge --info (emerge.info,5.41 KB, text/plain)
2013-06-25 11:16 UTC, Douglas J Hunley
Details
new build.log (build.log,27.49 KB, text/x-log)
2013-06-25 11:18 UTC, Douglas J Hunley
Details
preprocessed source (debugbase.ii.bz2,230.44 KB, application/octet-stream)
2013-06-25 19:51 UTC, Ryan Hill (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Douglas J Hunley 2013-06-24 12:21:28 UTC
Created attachment 351810 [details]
build log

I'm having an issue compiling libreoffice 4.0.4.2 and now 4.1.0.1 on two differrent ~amd64 systems. Both result in the build aborting with:
 Internal compiler error: Error reporting routines re-entered.

I added my comments to an existing libreoffice bug but was told it was a toolchain issue and I should open a new bug, so here it is.

Info:
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =libreoffice-4.1.0.1
Portage 2.2.0_alpha184 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.9.7-gento
o x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.9.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3720QM_CPU_@_2.60GHz-with-gentoo-2.
2
KiB Mem:     8182280 total,   1340668 free
KiB Swap:    4194300 total,   4194228 free
Timestamp of tree: Mon, 24 Jun 2013 10:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.2.5, 3.3.2
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mpopcnt -msahf -fforce-addr"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-g
tk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/
gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native -mpopcnt -msahf -fforce-addr -Wabi -mpopcnt -msahf -fforce-add
r"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg clean-logs config-protect-if-modified distlocks eb
uild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned
 sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv us
ersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu,-O1 -Wl,--as-needed -Wl,--sort-common -Wl,
--enable-new-dtags"
MAKEOPTS="--quiet"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-
file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exc
lude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cdr cli cons
olekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox 
flac fortran gdbm gif gpm gtk iconv icu ipv6 jpeg kde kipi lcms libnotify mad mmap mmx mmxext mn
g modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl ogg opengl openmp pam pa
ngo pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl semantic-desktop sessi
on sharedmem smp spell sse sse2 sse3 ssl ssse3 startup-notification svg symlink tcpd tiff truety
pe udev udisks unicode upower usb vim-syntax vorbis wxwidgets x264 xcb xcomposite xinerama xml x
screensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_
core socache_shmcb unixd 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 cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filt
er headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif 
speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan 
sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface
 irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate ever
more fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore 
rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_
DEVICES="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 
lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LING
UAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_
7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS=
"nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fu
zzy 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, P
ORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2013-06-25 02:56:05 UTC
CFLAGS="-O2 -pipe -march=native -mpopcnt -msahf -fforce-addr"

Can you try without the last three flags?
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2013-06-25 03:03:31 UTC
-fforce-addr is known to be broken.  In fact I thought it was removed a few years ago but it seems to still be accepted.  If you can reproduce your error without -fforce-addr reopen this bug.
Comment 3 Douglas J Hunley 2013-06-25 11:14:52 UTC
i removed the offending 3 options, still got a build failure
Comment 4 Douglas J Hunley 2013-06-25 11:15:36 UTC
Created attachment 351904 [details]
updated build.log

updated build.log
Comment 5 Douglas J Hunley 2013-06-25 11:16:00 UTC
Created attachment 351906 [details]
new emerge --info

new emerge --info
Comment 6 Douglas J Hunley 2013-06-25 11:18:00 UTC
Created attachment 351908 [details]
new build.log
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2013-06-25 19:44:22 UTC
Okay, now you've added a bunch of graphite flags...

Anyways this is reproducible with CXXFLAGS="-Wabi".
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2013-06-25 19:51:17 UTC
Created attachment 351946 [details]
preprocessed source

$ g++-4.7.3 -O2 -std=gnu++0x -Wabi -c debugbase.ii 
'
Internal compiler error: Error reporting routines re-entered.
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugs.gentoo.org/> for instructions.

Possibly related to http://gcc.gnu.org/PR56869
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2014-12-29 18:14:58 UTC
These LO versions are all gone from the tree. Add us back if this is still occuring with current LibreOffice.
Comment 10 SpanKY gentoo-dev 2015-10-22 14:08:05 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.