Several compile errors. Reproducible: Always Steps to Reproduce: 1. Compile gcc 4.6 2. Select gcc 4.6 3. Compile libreoffice Actual Results: Fails to build. Missing default constructors, missing headers, etc. emerge --info: Portage 2.2.0_alpha29 (default/linux/amd64/10.0, gcc-4.6.0-pre9999, glibc-2.13-r2, 2.6.38-gentoo-r1-civil x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r1-civil-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.0.2 Timestamp of tree: Sun, 03 Apr 2011 20:15:01 +0000 ccache version 3.1.4 [enabled] app-shells/bash: 4.2_p8 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r2, 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 3.1.4 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.4.5, 4.5.2, 4.6.0_pre9999::toolchain sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) Repositories: gentoo my_overlay x11 yousei qting-edge kde mozilla vmware toolchain gcc-porting Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=corei7-avx -mtune=corei7-avx -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -fgraphite-identity -ftree-loop-distribution -ftree-loop-distribute-patterns" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=corei7-avx -mtune=corei7-avx -floop-interchange -floop-strip-mine -floop-block -floop-parallelize-all -fgraphite-identity -ftree-loop-distribution -ftree-loop-distribute-patterns" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org ftp://xeon.gentoo.ru" LANG="ru_RU.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common,--as-needed" LINGUAS="en ru" MAKEOPTS="-j8" PKGDIR="/usr/portage/packages" 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="/usr/local/portage/my /var/lib/layman/x11 /usr/local/portage/yousei /var/lib/layman/qting-edge /usr/local/portage/kde /var/lib/layman/mozilla /var/lib/layman/vmware /var/lib/layman/toolchain /var/lib/layman/gcc-porting" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="16bit X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cddb chm cleartype cli consolekit cracklib crypt cups curl curlwrappers cxx cyrillic dbus device-mapper djvu dri dvdnav encode exif ffmpeg flac fontconfig freetype gdbm glibc-omitfp glitz gpm gstreamer iconv icq id3 ipv6 ithreads java6 jpeg kde kdehiddenvisibility lcms lirc lm_sensors lzma mmx mmxext mng modules mouse mp2 mp3 mp4 mpeg2 mudflap multilib musepack mysql ncurses nepomuk nls nptl nptlonly ogg openexr opengl openmp pam pch pcre pdf perl plasma png policykit pppd python qt-copy qt3-support qt3support qt4 raw readline sasl scanner sdl-image sdl-sound semantic-desktop session slang smp spell sqlite sqlite3 srt ssa sse sse2 sse3 ssl ssse3 svg sysfs tcpd theora threads tiff truetype unicode usb vaapi vdpau vorbis wavpack webkit wma wmf wmp wxwindows x264 xcb xforms xine xkb xorg xvid zlib" ALSA_CARDS="emu10k1 intel-hda" 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 auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file cgid cgi authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" LIRC_DEVICES="livedrive_midi" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="epson epson2" USERLAND="GNU" VIDEO_CARDS="nvidia 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 268457 [details, diff] libreoffice-gcc46.diff Patch from fc15.
Created attachment 268459 [details, diff] libreoffice-3.3.2.ebuild.patch Patch for ebuild.
Hm... sorry. I've thought that patch from fc15 will be enough, but build still fails becouse of missing headers. I'll update patch a bit later.
I need to patch at least libpwd for libreoffice to compile. It's in separate tar.gz and, if I'm right, unpacked in src_configure stage. Should I make patch and add epatch to src_configure or just publish it here?
Your patches got me up to here Entering /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sc/util Compiling: sc/unxlngx6.pro/misc/sc_dflt_version.c Compiling: sc/unxlngx6.pro/misc/scd_dflt_version.c Compiling: sc/unxlngx6.pro/misc/scfilt_dflt_version.c Compiling: sc/unxlngx6.pro/misc/scui_dflt_version.c Compiling: sc/unxlngx6.pro/misc/vbaobj_dflt.uno_version.c Making: scalc3.lib Making: scalc3c.lib Making: scui.lib Making: libsclx.so Making: libscdlx.so Making: libscfiltlx.so Making: libscuilx.so Making: libvbaobjlx.uno.so Making: scen-US.res Compiling: rsc_sc Entering /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sc/qa/unit Compiling: sc/unxlngx6.pro/misc/qa_unit_version.c Compiling: sc/qa/unit/ucalc.cxx /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sc/qa/unit/ucalc.cxx:109:1: warning: unused parameter 'argc' [-Wunused-parameter] /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sc/qa/unit/ucalc.cxx:109:1: warning: unused parameter 'argv' [-Wunused-parameter] Making: libqa_unit.so ---------------------------------------------------------- - WARNING!!, test disabled due to regcomp failure on SUSE - boxes on configmgr.uno.so ---------------------------------------------------------- sc deliver Module 'sc' delivered successfully. 168 files copied, 6 files unchanged ----------------------------------------------------------------------- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development internal build errors: ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/libwpd ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/testtools/source/bridgetest it seems you are using a threaded build, which means that the actual compile error is probably hidden far above, and could be inside any of these other modules: testtools please re-run build inside each one to isolate the problem. ----------------------------------------------------------------------- /bin/bash cd /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2 source ./LinuxX86-64Env.Set.sh cd libwpd build when the problem is isolated and fixed exit and re-run 'make' from the top-level sometimes (sadly) it is necessary to rm -Rf unxlngx6.pro in a module. make: *** [stamp/build] Error 1 * ERROR: app-office/libreoffice-3.3.2 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8696: Called die * The specific snippet of code: * make || die "Build failed" * * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2', * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2'. * This ebuild is from a repository named 'miscellaneous' !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.24" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/environment'. * S: '/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2' >>> Failed to emerge app-office/libreoffice-3.3.2, Log file: >>> '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log' * * The following package has failed to build or install: * * (app-office/libreoffice-3.3.2::miscellaneous, ebuild scheduled for merge), Log file: * '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log' * Linux1 ~ #
(In reply to comment #4) > I need to patch at least libpwd for libreoffice to compile. I recommend to depend on portage packages for libwpd/g/s. @Andreas Why are libwpd/g hard-masked? How long does it take to unmask? And bug 284159 (libwps) could need some love. ;)
(In reply to comment #6) > (In reply to comment #4) > > I need to patch at least libpwd for libreoffice to compile. > > I recommend to depend on portage packages for libwpd/g/s. > > @Andreas > Why are libwpd/g hard-masked? How long does it take to unmask? > And bug 284159 (libwps) could need some love. ;) I'm not the maintainer of those packages, so you are barking up the wrong tree.
> I'm not the maintainer of those packages, so you are barking up the wrong tree. If you find the maintainers, could be cool to CC them. ;)
(In reply to comment #8) > > I'm not the maintainer of those packages, so you are barking up the wrong tree. > > If you find the maintainers, could be cool to CC them. ;) That's what metadata.xml is for so that you can look it up for yourself ;) Anyway: Adding gnome herd, please see the notes about libwpd/g/s bumps
libreoffice is using internal wpd instead of system one, then, the compiling problem is on that side. About when will latest versions be unmasked, it's explained in package.mask message (go to the pointed trackers to see what apps need to be fixed -> most of them have a suggested patch and others needs bumps or mask old versions for removal)
(In reply to comment #10) > libreoffice is using internal wpd instead of system one, then, the compiling > problem is on that side. About when will latest versions be unmasked, it's > explained in package.mask message (go to the pointed trackers to see what apps > need to be fixed -> most of them have a suggested patch and others needs bumps > or mask old versions for removal) You are missing the point: We have to use internal wpd as libwpd in portage is outdated.
Thanks for clarifying, then, feel free to add a revbump using latest libwpd and add it to the mask entry, since gcc4.6 will be stabilized after libwpd-0.9 for sure
I've had no problems unmasking libwpd and libwpg. I believe the blocker may be abiword. Can't abiword depend on the older libwpd?
Can you post a modified ebuild for those who have unmasked libwpd and libwpg so that we can test this?
Or even better, since libwpd is masked, why not do the same with libreoffice-3.3.2-r1 and keep it masked in the tree until libwpd is unmasked and at least those who wish to try it can unmask it themselves.
Using the above patch and setting the ebuild to use the system libwpd, it goes to here Compiling: sw/source/ui/vba/vbaformfields.cxx Compiling: sw/source/ui/shells/txtnum.cxx Compiling: sw/source/ui/vba/vbaeventshelper.cxx Making: shells.lib Making: shells.srs Making: all_shells.dpslo Compiling: sw/source/ui/vba/vbacheckbox.cxx Making: vbaswobj.lib Making: all_vbaswobj.dpslo Entering /var/tmp/portage/app-office/libreoffice-3.3.2-r1/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sw/source/ui Making: ui1.lib Making: ui2.lib Entering /var/tmp/portage/app-office/libreoffice-3.3.2-r1/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/sw/util Compiling: sw/unxlngx6.pro/misc/sw_dflt_version.c Compiling: sw/unxlngx6.pro/misc/swd_dflt_version.c Compiling: sw/unxlngx6.pro/misc/swui_dflt_version.c Compiling: sw/unxlngx6.pro/misc/msword_dflt_version.c Compiling: sw/unxlngx6.pro/misc/vbaswobj_dflt.uno_version.c Making: swall.lib Making: swui.lib Making: libswlx.so Making: libswdlx.so Making: libswuilx.so Making: libmswordlx.so Making: libvbaswobjlx.uno.so Making: swen-US.res Compiling: rsc_sw sw deliver Module 'sw' delivered successfully. 244 files copied, 0 files unchanged ----------------------------------------------------------------------- Oh dear - something failed during the build - sorry ! For more help with debugging build errors, please see the section in: http://wiki.documentfoundation.org/Development internal build errors: ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.3.2-r1/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/testtools/source/bridgetest it seems that the error is inside 'testtools', please re-run build inside this module to isolate the error and/or test your fix: ----------------------------------------------------------------------- /bin/bash cd /var/tmp/portage/app-office/libreoffice-3.3.2-r1/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2 source ./LinuxX86-64Env.Set.sh cd testtools build when the problem is isolated and fixed exit and re-run 'make' from the top-level sometimes (sadly) it is necessary to rm -Rf unxlngx6.pro in a module. make: *** [stamp/build] Error 1 * ERROR: app-office/libreoffice-3.3.2-r1 failed (compile phase): * Build failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 8966: Called die * The specific snippet of code: * make || die "Build failed" * * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2-r1', * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2-r1'. * This ebuild is from a repository named 'miscellaneous' !!! When you file a bug report, please include the following information: GENTOO_VM=sun-jdk-1.6 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0.24" JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.2-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2-r1/temp/environment'. * S: '/var/tmp/portage/app-office/libreoffice-3.3.2-r1/work/libreoffice-build-3.3.2.2' >>> Failed to emerge app-office/libreoffice-3.3.2-r1, Log file: >>> '/var/tmp/portage/app-office/libreoffice-3.3.2-r1/temp/build.log' * * The following package has failed to build or install: * * (app-office/libreoffice-3.3.2-r1::miscellaneous, ebuild scheduled for merge), Log file: * '/var/tmp/portage/app-office/libreoffice-3.3.2-r1/temp/build.log' * Linux1 ~ #
I guess this is going to get solved when the new version is released next month.
Created attachment 271835 [details, diff] gcc-4.6 patch along with modifications to ebuild for system lib{wpd,wpg] Here is the patch and ebuild modified to work with gcc-4.6.0 Portage 2.1.9.46 (hardened/linux/amd64/no-multilib, gcc-4.6.0, libc-0-r0, 2.6.38-hardened-r1 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38-hardened-r1-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7500_@_2.20GHz-with-gentoo-2.0.2 Timestamp of tree: Unknown ccache version 3.1.4 [enabled] app-shells/bash: 4.2_p8 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/ccache: 3.1.4 dev-util/cmake: 2.8.4-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.2-r1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.5.2, 4.6.0 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 sys-kernel/linux-headers: 2.6.38 virtual/os-headers: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=core2 -pipe -Wimplicit-function-declaration" 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/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=core2 -pipe -Wenum-compare" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common" MAKEOPTS="-j3 -s --no-print-directory" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="lzma" PORTAGE_COMPRESS_FLAGS="-z -9 -f -S .lzma" 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="/home/gentoo /home/mozilla" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac alsa amd64 audit berkdb bluetooth branding bzip2 cairo cli consolekit cracklib crypt custom-optimization cxx dbus dri dvd extras fam ffmpeg gdbm gpm gtk hardened iconv ipv6 jpeg justify lame libffi libssh2 lzma mmx modules mp3 mpeg mpg123 mudflap ncurses nptl nptlonly nss opengl openmp pam pam_ssh pcre perl png policykit pppd python python3 readline session spell sqlite sse sse2 sse3 ssl ssse3 svg sysfs tcpd threads thunar tiff truetype udev unicode urandom vorbis wifi x264 xinerama xorg xv xvid zlib" ALSA_CARDS="hda-intel" 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" 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 ubx" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-office/libreoffice-3.3.2 was built with the following: USE="dbus gtk nsplugin opengl templates (-aqua) -bash-completion -binfilter -cups -custom-cflags -debug -eds -gnome -gstreamer -java -kde (-kdeenablefinal) -ldap -odk" LINGUAS="-af -ar -as -ast -be_BY -bg -bn -bo -br -brx -bs -ca -ca_XV -cs -cy -da -de -dgo -dz -el -en -en_GB -en_US -en_ZA -eo -es -et -eu -fa -fi -fr -ga -gd -gl -gu -he -hi -hr -hu -id -is -it -ja -ka -kk -km -kn -ko -kok -ks -ku -ky -lo -lt -lv -mai -mk -ml -mn -mni -mr -ms -my -nb -ne -nl -nn -nr -ns -oc -om -or -pa_IN -pap -pl -ps -pt -pt_BR -ro -ru -rw -sa_IN -sat -sd (-sh) -si -sk -sl -sq -sr -ss -st -sv -sw_TZ -ta -te -tg -th -ti -tn -tr -ts -ug -uk -uz -ve -vi -xh -zh_CN -zh_TW -zu" CFLAGS="-march=core2 -pipe -Wimplicit-function-declaration" CXXFLAGS="-march=core2 -pipe -Wenum-compare"
*** Bug 372445 has been marked as a duplicate of this bug. ***
LibreOffice 3.4.1 should build fine with gcc 4.6, please unmask and test. Thanks.
Builds fine with gcc 4.6 so long as you do not build with avx instructions. If you have sandy bridge processor and are running march=native in make.conf, you must add this to package.use app-office/libreoffice custom-cflags and this to /etc/portage/env/app-office/libreoffice CFLAGS="-march=corei7 -mtune=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}"
gnome team is no longer needed here if I didn't miss anything :-/
Original bug fixed in 3.4.1, closing