View previous topic :: View next topic |
Author |
Message |
NTICompass Apprentice
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Tue Sep 16, 2014 5:05 am Post subject: Cannot complie app-office/libreoffice-4.2.5.2 with gcc-4.7.3 |
|
|
I am having trouble getting LibreOffice compiled with GCC 4.7.
Here are the errors I am seeing:
Code: |
In file included from /var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/string.cxx:75:0:
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'sal_Char* rtl_string_ImplNewCopy(rtl_String**, rtl_String*, sal_Int32)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1068:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1068:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_release(rtl_String*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1109:9: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1109:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newFromString(rtl_String**, const rtl_String*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1175:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1175:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newFromStr(rtl_String**, const sal_Char*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1220:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1220:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newFromStr_WithLength(rtl_String**, const sal_Char*, sal_Int32)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1247:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1247:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newFromLiteral(rtl_String**, const sal_Char*, sal_Int32, sal_Int32)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1317:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1317:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newConcat(rtl_String**, rtl_String*, rtl_String*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1379:9: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1379:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_ensureCapacity(rtl_String**, sal_Int32)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1403:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1403:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newReplaceStrAt(rtl_String**, rtl_String*, sal_Int32, sal_Int32, rtl_String*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1482:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1482:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newReplace(rtl_String**, rtl_String*, sal_Char, sal_Char)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1543:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1543:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newToAsciiLowerCase(rtl_String**, rtl_String*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1599:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1599:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newToAsciiUpperCase(rtl_String**, rtl_String*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1655:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1655:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx: In function 'void rtl_string_newTrim(rtl_String**, rtl_String*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1697:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/strtmpl.cxx:1697:1: error: unable to find string literal operator 'operator"" _SDT_S'
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/workdir/CxxObject/sal/rtl/string.o] Error 1
make[1]: *** Waiting for unfinished jobs....
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx: In function 'void rtl_uStringbuffer_newFromStr_WithLength(rtl_uString**, const sal_Unicode*, sal_Int32)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:44:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:44:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx: In function 'rtl_uString* rtl_uStringBuffer_refReturn(rtl_uString*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:50:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:50:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx: In function 'rtl_uString* rtl_uStringBuffer_makeStringAndClear(rtl_uString**, sal_Int32*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:65:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:65:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx: In function 'sal_Int32 rtl_uStringbuffer_newFromStringBuffer(rtl_uString**, sal_Int32, rtl_uString*)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:85:5: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:85:1: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx: In function 'void rtl_uStringbuffer_ensureCapacity(rtl_uString**, sal_Int32*, sal_Int32)':
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:107:9: error: unable to find string literal operator 'operator"" _SDT_S'
/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/sal/rtl/ustrbuf.cxx:107:1: error: unable to find string literal operator 'operator"" _SDT_S'
make[1]: *** [/var/tmp/portage/app-office/libreoffice-4.2.5.2/work/libreoffice-4.2.5.2/workdir/CxxObject/sal/rtl/ustrbuf.o] Error 1
|
I was messing around with graphite/lto, so maybe that's the problem here? I've already tried disabling lto on LibreOffice and that made no difference. What could be the issue here?
P.S. My emerge --info
Code: |
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/gnome, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9300_@_2.50GHz-with-gentoo-2.2
KiB Mem: 8194484 total, 4020932 free
KiB Swap: 0 total, 0 free
Timestamp of tree: Tue, 16 Sep 2014 03:30:01 +0000
ld GNU gold (Gentoo 2.23.2 p1.0 2.23.2) 1.11
app-shells/bash: 4.2_p45
dev-java/java-config: 2.2.0
dev-lang/python: 2.7.7, 3.3.5-r1
dev-util/cmake: 2.8.12.2-r1
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.6.3-r1, 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4
sys-devel/binutils: 2.23.2
sys-devel/gcc: 4.4.7, 4.5.4, 4.6.4, 4.7.3-r1
sys-devel/gcc-config: 1.7.3
sys-devel/libtool: 2.4.2-r1
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc: 2.19-r1
Repositories: gentoo x-portage mozilla multimedia nbigaouette ardunio sunrise vmware daks aidstu java
Installed sets: @system
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -msse4.1 -O2 -pipe -fno-strict-aliasing -flto=5 -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-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/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -msse4.1 -O2 -pipe -fno-strict-aliasing -flto=5 -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs 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://mirrors.rit.edu/gentoo/ http://gentoo.llarian.net/ http://gentoo.mirrors.tds.net/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-linker-plugin"
MAKEOPTS="-j5"
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"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/mozilla /var/lib/layman/multimedia /var/lib/layman/nbigaouette /var/lib/layman/arduino /var/lib/layman/sunrise /var/lib/layman/vmware /var/lib/layman/daks /var/lib/layman/aidstu /var/lib/layman/java"
USE="X a52 aac acl acpi aiglx alsa amd64 aoss asf bash-completion berkdb bittorrent branding bzip2 cairo cdda cdparanoia cdr cjk cleartype cli colord consolekit cracklib crypt cups curl cxx dbus dri dts dvb dvd dvdr eds emboss encode evo exif faac faad fam ffmpeg finger flac fontconfig fortran ftp g3dvl gcj gconf gd gdbm gif gmp gnome gnome-keyring gnome-online-accounts gnutls gopher gpm graphite gstreamer gtk iconv icu imagemagick introspection ipv6 java java6 javascript jpeg jpeg2k kerberos lame latex lcms ldap libffi libnotify libsecret libv4l libv4l2 lirc lm_sensors lto lzma lzo mad matroska midi mikmod mmx mmx2 mmxext mng modules mp3 mp4 mpeg multilib nautilus ncurses networkmanager new-login nls nptl nsplugin odbc ogg openal opencl opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio python qt3support readline real samba schroedinger sdl session skins socialweb spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg symlink system-sqlite tcl tcpd theora threads tiff tk truetype udev udisks unicode upower usb v4l v4l2 vaapi vim-syntax vorbis webkit wmf wxwidgets wxwindows x264 xcb xcomposite xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib zsh-completion" ABI_X86="64 32" 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" 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 filter 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 evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx" 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"
USE_PYTHON="2.7 3.3"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
|
|
|
Back to top |
|
|
NTICompass Apprentice
Joined: 11 Jun 2008 Posts: 171 Location: /home/nticompass/
|
Posted: Wed Sep 17, 2014 2:41 am Post subject: |
|
|
My Google-fu found this: https://sourceware.org/bugzilla/show_bug.cgi?id=13626
Using "equery belongs /usr/include/sys/sdt.h", I learned that I needed to update dev-util/systemtap.
That fixed it, now libreoffice is compiling. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|