Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507806 - app-office/libreoffice-4.2.3.3 - In file included from .../work/libreoffice-4.2.3.3/svl/source/items/rectitem.cxx:21: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/include/g++-v4/type_traits:1306:2: internal compiler error: Segmentation fault
Summary: app-office/libreoffice-4.2.3.3 - In file included from .../work/libreoffice-4...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-16 08:48 UTC by Stefan Wimmer
Modified: 2014-12-29 20:32 UTC (History)
2 users (show)

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


Attachments
app-office:libreoffice-4.2.3.3:20140416-071711.log.gz (app-office:libreoffice-4.2.3.3:20140416-071711.log.gz,261.49 KB, application/gzip)
2014-04-16 08:49 UTC, Stefan Wimmer
Details
app-office:libreoffice-4.2.3.3:20140416-080158.log.gz (app-office:libreoffice-4.2.3.3:20140416-080158.log.gz,96.70 KB, application/gzip)
2014-04-16 08:50 UTC, Stefan Wimmer
Details
build log (build.log.tar.gz,390.19 KB, application/x-gzip)
2014-05-14 16:14 UTC, barrie backhurst
Details
environment (environment.txt,261.74 KB, text/plain)
2014-05-14 16:15 UTC, barrie backhurst
Details
emerge --info (emergeinfo.txt,4.92 KB, text/plain)
2014-05-14 16:16 UTC, barrie backhurst
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Wimmer 2014-04-16 08:48:01 UTC
When compiling libreoffice 4.2.3.3 with gcc-4.8.2 it always stops with a segmentation fault.

I've attached two different build.logs. The first one is with my default MAKEOPTS="--jobs=9 --load-average=8" and the second with MAKEOPTS="--jobs=1 --load-average=8".

PS: The same happened already when re-compiling 4.2.1.1.

Reproducible: Always

Steps to Reproduce:
1. emerge libreoffice-4.2.3.3
Actual Results:  
build process stops with segmentation fault

Expected Results:  
Successful compilation of libreoffice

 emerge --info                                                                                                                                     10:43:27
Portage 2.2.10 (default/linux/amd64/13.0, gcc-4.8.2, glibc-2.19, 3.12.8-gentoo-nvidia x86_64)
=================================================================
System uname: Linux-3.12.8-gentoo-nvidia-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-gentoo-2.2
KiB Mem:     8127540 total,   2019996 free
KiB Swap:    2104508 total,   1881572 free
Timestamp of tree: Wed, 16 Apr 2014 06:15:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.6, 3.3.5, 3.4.0
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.14 (virtual/os-headers)
sys-libs/glibc:           2.19
Repositories: gentoo mpd x-portage
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ex
t-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/upd
map.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--color y --with-bdeps y --keep-going --quiet-build y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news 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://gentoo.tiscali.nl/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=9 --load-average=8"
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 --e
xclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mpd /usr/local/portage"
USE="X aac acl alsa amd64 berkdb bzip2 cairo cli cracklib crypt cups cxx dbus dirac dri encode exif ffmpeg flac fortran gdbm gif gphoto2 gtk gtk3 iconv id3 ipv6 jpeg lcm
s libnotify maildir mmx modules mp3 mp4 multilib ncurses nls nptl ogg opengl openmp pam pcre png qt4 readline scanner session sse sse2 ssl startup-notification svg tcpd 
tiff truetype udev unicode vdpau vim-syntax vorbis x264 xulrunner xvid zlib zsh-completion" ABI_X86="64" ALSA_CARDS="hda-intel emu10k1" 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_own
er authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cach
e 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="directory ptp2 usb" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm ear
thmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt u
blox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-cons
ole presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="rub
y19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sy
srq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Stefan Wimmer 2014-04-16 08:49:38 UTC
Created attachment 375072 [details]
app-office:libreoffice-4.2.3.3:20140416-071711.log.gz
Comment 2 Stefan Wimmer 2014-04-16 08:50:04 UTC
Created attachment 375074 [details]
app-office:libreoffice-4.2.3.3:20140416-080158.log.gz
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2014-05-08 11:08:09 UTC
Can't reproduce on opensuse. Assigning to toolchain team.
Comment 4 barrie backhurst 2014-05-14 16:12:22 UTC
I am seeing similar on 1 of my Gentoo installs, the others do not have the problem. I will attach build log, environment and emerge --info
Comment 5 barrie backhurst 2014-05-14 16:14:47 UTC
Created attachment 376908 [details]
build log
Comment 6 barrie backhurst 2014-05-14 16:15:50 UTC
Created attachment 376910 [details]
environment
Comment 7 barrie backhurst 2014-05-14 16:16:28 UTC
Created attachment 376912 [details]
emerge --info
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2014-05-15 04:17:16 UTC
I need the preprocessed source but I can't downgrade to 4.8 at the moment.  Build libreoffice, and when it fails go into the directory of the failing file (look at the make[1] line below the error) and find the command line that was used to compile that file.  Run that manually to make sure it fails, then run it again with -save-temps.  This should give you an .ii file.  Attach that here along with the new build log.
Comment 9 barrie backhurst 2014-05-19 22:18:28 UTC
After syncing libreoffice built OK for me. The update included multilib revisions to libtool and util-linux, so I suspect that one of those may be responsible, but it is purely a guess on my part? :)
Comment 10 Andreas K. Hüttel archtester gentoo-dev 2014-12-29 20:32:49 UTC
(In reply to barrie backhurst from comment #9)
> After syncing libreoffice built OK for me. The update included multilib
> revisions to libtool and util-linux, so I suspect that one of those may be
> responsible, but it is purely a guess on my part? :)

We don't know either, sorry. Tell us if it happens again.