I want to install libreoffice, but it consistently fails to compile with error: Compiling: bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx i686-pc-linux-gnu-gcc -c -o ../../../unxlngi6.pro/slo/call.o call.s touch ../../../unxlngi6.pro/slo/call.obj /var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/work/libreoffice-bootstrap-3.4.3.2/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx: Assembler messages: /var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/work/libreoffice-bootstrap-3.4.3.2/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx:138: Error: symbol `Lcopy' is already defined dmake: Error code 1, while making '../../../unxlngi6.pro/slo/uno2cpp.obj' If I go to do a manual build of the bridges module following instructions on http://wiki.documentfoundation.org/Development/Native_Build#Partial_build or following the advice in the error message it builds the module ok. Reproducible: Always Steps to Reproduce: 1. emerge -v libreoffice Actual Results: Error building libreoffice Expected Results: libreoffice is compiled and installed. emerge --info: Portage 2.1.10.11 (default/linux/x86/10.0/desktop, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686) ================================================================= System uname: Linux-2.6.38-gentoo-r6-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.0.3 Timestamp of tree: Thu, 15 Sep 2011 23:45:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 4.1_p9 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: 2.4-r9 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo location: /usr/portage sync: rsync://rsync.europe.gentoo.org/gentoo-portage priority: -1000 x11 location: /var/lib/layman/x11 masters: gentoo priority: 0 nx location: /usr/portage/local/layman/nx masters: gentoo priority: 1 dev-jokey location: /usr/portage/local/layman/jokey masters: gentoo priority: 2 x-portage location: /usr/local/portage masters: gentoo priority: 3 ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA dlj-1.1 AdobeFlash-10.1 googleearth" ACCEPT_PROPERTIES="*" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ANT_HOME="/usr/share/ant" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 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" APACHE2_MPMS="worker" ARCH="x86" AUTOCLEAN="yes" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" CBUILD="i686-pc-linux-gnu" CCACHE_DIR="/var/tmp/ccache" CCACHE_SIZE="2G" CFLAGS="-O2 -march=native -mfpmath=sse -ftracer -pipe" CHOST="i686-pc-linux-gnu" CLEAN_DELAY="5" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE="/lib/modules" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /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" CXXFLAGS="-O2 -march=native -mfpmath=sse -ftracer -pipe" DCCC_PATH="/usr/lib/distcc/bin" DISPLAY=":0" DISTCC_LOG="" DISTCC_VERBOSE="" DISTDIR="/usr/portage/distfiles" EDITOR="/usr/bin/vim" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--jobs=3 --load-average=3.5 --verbose" EMERGE_WARNING_DELAY="10" EPREFIX="" EROOT="/" FCFLAGS="" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv" FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" FFLAGS="" GCC_SPECS="" GDK_USE_XFT="1" GENTOO_MIRRORS="http://gentoo-euetib.upc.es/mirror/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/ http://91.121.125.139/gentoo-distfiles/ http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://sunsite.rediris.es/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ " 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" GRUB_PLATFORMS="" GSETTINGS_BACKEND="gconf" HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/info" INPUT_DEVICES="evdev keyboard mouse" JAVAC="/etc/java-config-2/current-system-vm/bin/javac" JAVACC_HOME="/usr/share/javacc/" JAVA_HOME="/etc/java-config-2/current-system-vm" JDK_HOME="/etc/java-config-2/current-system-vm" KDE_IS_PRELINKED="1" KERNEL="linux" LANG="es_ES.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_ALL="es_ES.UTF-8" LC_PAPER="A4" LC_TIME="es_ES" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LINGUAS="es_ES es en" LOGNAME="root" MAKEOPTS="-j3" MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.5/man:/etc/java-config/system-vm/man/:/usr/lib/php5.3/man/:/opt/vmware/workstation/man" NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NOCOLOR="true" OPENGL_PROFILE="nvidia" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.5:/opt/vmware/workstation/bin" PHP_TARGETS="php5-3" PKGDIR="/usr/portage/packages" PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ELOG_CLASSES="warn error log" PORTAGE_ELOG_MAILFROM="root@fry.leggio.es" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="jnerin@leggio.es mail.leggio.es" PORTAGE_ELOG_SYSTEM="save mail" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}"" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_NICENESS="15" PORTAGE_PYM_PATH="/usr/lib/portage/pym" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="-1" PORTAGE_SANDBOX_COMPAT_LEVEL="16" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/var/tmp" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/x11 /usr/portage/local/layman/nx /usr/portage/local/layman/jokey /usr/local/portage" PRELINK_PATH_MASK="/usr/lib/libfreebl3.so:/usr/lib/libnssdbm3.so:/usr/lib/libsoftokn3.so" PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" PWD="/root" PYTHONDONTWRITEBYTECODE="1" QT_PLUGIN_PATH="/usr/lib/kde4/plugins" RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.5:/opt/vmware/workstation/bin" RPMDIR="/usr/portage/rpm" RUBY_TARGETS="ruby18" R_HOME="/usr/lib/R" SANE_CONFIG_DIR="/etc/sane.d" SHELL="/bin/bash" SHLVL="2" STY="3275.pts-5.fry" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" TERM="screen" TZ="Europe/Madrid" USB_DEVFS_PATH="/dev/bus/usb" USE="3dnow 7zip X a52 aac acl acpi alsa aoss apache2 apng arts avahi bash-completion bcmath berkdb bluetooth branding bzip2 cairo cdda cdr cleartype cli consolekit cracklib crypt cups curlwrappers cxx dbus dia divx dri dts dvd dvdr dvdread emboss encode exif fam firefox flac fortran ftp gd gdbm gdu gif gimpprint gmedia gmp gnome gnutls gphoto2 gpm gtk gtk2 hash hpn iconv icu imagemagick imap imlib inkjar inotify ipv6 irmc java javascript jpeg kde kdehiddenvisibility kdepim lcms ldap libnotify lm_sensors mad mhash mmap mmx mng modules mono mozbranding mozdevelop mozdom mozsvg mp3 mp4 mpeg msn mudflap mysql mysqli ncurses nls nodrm nptl nptlonly nsplugin ntpl nvidia nxclient offensive ogg oggvorbis opengl openmp pam pango pcre pdf perl php plotutils png policykit ppds pppd python qt3support qt4 quicktime rdesktop readline samba sdl session slang smp sockets spell sse sse2 ssl startup-notification svg sysfs sysvipc tcpd threads tidy tiff truetype udev unicode usb userlocales vnc vorbis win32codecs wmf wmp x264 x86 xcb xcomposite xforms xml xmlrpc xorg xosd xprint xscreensaver xsl xulrunner xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv nouveau none vmware vesa" 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" USER="root" USERLAND="GNU" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d" VIDEO_CARDS="nvidia nv nouveau none vmware vesa" WINDOW="0" XAUTHORITY="/root/.xauthP8dcWD" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share" 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" _="/usr/bin/emerge"
Created attachment 286667 [details] partial build log of libreoffice-3.4.3.2-r1 The build fails with error: /var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/work/libreoffice-bootstrap-3.4.3.2/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx:138: Error: symbol `Lcopy' is already defined in line 6432.
Created attachment 286669 [details] Output of brigdes module manual build Manual build of bridges module following this instructions in the error output: rm -Rf /var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/work/libreoffice-bootstrap-3.4.3.2/bridges/unxlngi6.pro # optional module 'clean' /bin/sh cd /var/tmp/portage/app-office/libreoffice-3.4.3.2-r1/work/libreoffice-bootstrap-3.4.3.2 source ./LinuxX86Env.Set.sh cd bridges build
Please attach full build log, compressed if needed.
Ignore my last comment ; you already did attach that file.
Could you please try it with 3.4.4.2-r1? (not sure if it is fixed tbh, but I still fail to reproduce this bug in any way so i have no clue what is causing it)
It still failed. For now I have just installed this way: emerge libreoffice # Fails but leaves work dir cd /var/tmp/portage/app-office/libreoffice-3.4.4.2-r1/work/libreoffice-bootstrap-3.4.4.2/bridges/source/cpp_uno/gcc3_linux_intel/ i686-pc-linux-gnu-gcc -c -o ../../../unxlngi6.pro/slo/call.o call.s # Repeat the failed compile command, this time works cd - ebuild /usr/portage/app-office/libreoffice/libreoffice-3.4.4.2-r1.ebuild compile ebuild /usr/portage/app-office/libreoffice/libreoffice-3.4.4.2-r1.ebuild install ebuild /usr/portage/app-office/libreoffice/libreoffice-3.4.4.2-r1.ebuild qmerge # I think compile & install are made automagically by qmerge if not fully made before. I did separatly just to be sure
How about libreoffice-3.4.5 or libreoffice-3.5 ?
(In reply to comment #7) > How about libreoffice-3.4.5 or libreoffice-3.5 ? No way, I tried again with app-office/libreoffice-3.5.0.3 and I have the same error, I have even done a emerge -e system ; emerge -e world before just to see if it was caused by some outdated file/package, but I still have the error. What I don't understand is what changes inside the build environment while inside of an emerge versus outside following the steps from the error. Following instructions from the error: # /bin/sh sh-4.1# cd /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3 sh-4.1# source ./Env.Host.sh sh-4.1# cd bridges sh-4.1# rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/bridges/unxlngi6.pro # optional module 'clean' sh-4.1# build ============= (1/1) Building module bridges ============= [...] Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/bridges/source/cpp_uno/gcc3_linux_intel Compiling: bridges/unxlngi6.pro/misc/gcc3_uno_version.c Compiling: bridges/source/cpp_uno/gcc3_linux_intel/except.cxx Compiling: bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx Compiling: bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx i686-pc-linux-gnu-gcc -c -o ../../../unxlngi6.pro/slo/call.o call.s touch ../../../unxlngi6.pro/slo/call.obj Making: libgcc3_uno.so Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/bridges/source/cpp_uno/gcc3_solaris_intel [...] sh-4.1# The output from the error: Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3 .5.0.3/bridges/source/cpp_uno/gcc3_linux_intel Compiling: bridges/unxlngi6.pro/misc/gcc3_uno_version.c Compiling: bridges/source/cpp_uno/gcc3_linux_intel/except.cxx Compiling: bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx Compiling: bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx i686-pc-linux-gnu-gcc -c -o ../../../unxlngi6.pro/slo/call.o call.s /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/br idges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx: Assembler messages: /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx:136: Error: symbol `Lcopy' is already defined dmake: Error code 1, while making '../../../unxlngi6.pro/slo/uno2cpp.obj' This system is very old (beginning of 2006), is a 32bit system running in a 64bit processor, maybe I have and outdated file or library lying around. Or perhaps I should upgrade to 64bit and start over, but first I would like to find the root cause of this error, and second I have to find the time to do the jump.
Could you please attach once more your current emerge --info and /etc/make.conf
(In reply to comment #9) > Could you please attach once more your current emerge --info and > /etc/make.conf Your suggestion to reattach it make me think about CFLAGS, investigating a little I found that for example in libreoffice 3.3.0 (http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-office/libreoffice/libreoffice-3.3.0_rc4.ebuild?hideattic=0&diff_format=s&revision=1.3&view=markup the first I found about) we have something like that: 348 # Compile problems with these ... 349 filter-flags "-funroll-loops" 350 filter-flags "-fprefetch-loop-arrays" 351 filter-flags "-fno-default-inline" 352 filter-flags "-ftracer" 353 filter-flags "-fforce-addr" 354 355 filter-flags "-O[s2-9]" 356 357 if [[ $(gcc-major-version) -lt 4 ]]; then 358 filter-flags "-fstack-protector" 359 filter-flags "-fstack-protector-all" 360 replace-flags "-fomit-frame-pointer" "-momit-leaf-frame-pointer" 361 fi Now we don't filter out anything (libreoffice-3.5.0.3.ebuild): src_prepare() { # optimization flags export ARCH_FLAGS="${CXXFLAGS}" export LINKFLAGSOPTIMIZE="${LDFLAGS}" So I tested a change in make.conf from: CFLAGS="-O2 -march=native -mfpmath=sse -ftracer -pipe" to: CFLAGS="-O2 -march=native -pipe" And even though it hasn't finished compiling it has already surpassed the problematic point (from the current log): Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3 .5.0.3/bridges/source/cpp_uno/gcc3_linux_intel Compiling: bridges/unxlngi6.pro/misc/gcc3_uno_version.c Compiling: bridges/source/cpp_uno/gcc3_linux_intel/except.cxx Compiling: bridges/source/cpp_uno/gcc3_linux_intel/cpp2uno.cxx Compiling: bridges/source/cpp_uno/gcc3_linux_intel/uno2cpp.cxx i686-pc-linux-gnu-gcc -c -o ../../../unxlngi6.pro/slo/call.o call.s touch ../../../unxlngi6.pro/slo/call.obj Making: libgcc3_uno.so Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/bridges/source/cpp_uno/gcc3_solaris_intel I will report the success after testing it. Perhaps we should filter out some flags again. As it may be pertinent I should note again that this is a 32bit system running in an 64bit AMD Athlon(tm) 64 X2 Dual Core Processor 3800+. I found an old bug about ftracer in gcc: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41025 (v4.3.3, 4.4.1, etc -ftracer sometimes fails by "is already defined"), I now have gcc (Gentoo 4.5.3-r2 p1.1, pie-0.4.7) 4.5.3
Well it is the problem, it should not fail with various clfags, it is tested a lot to work with common ones (even ricer funroll-loops and others) but I won't strip cflag options just because they are broken. It should be more for the user to fix his install :) Btw if you decide to migrate your machine to amd64 be sure to give try to hardened flavor instead of normal gentoo.
(In reply to comment #11) > Well it is the problem, it should not fail with various clfags, it is tested > a lot to work with common ones (even ricer funroll-loops and others) but I > won't strip cflag options just because they are broken. It should be more > for the user to fix his install :) > > Btw if you decide to migrate your machine to amd64 be sure to give try to > hardened flavor instead of normal gentoo. Ok, I understand your point, it seems to be a longstanding bug in gcc's ftracer algorithm, but at least there could be a warning about having it enabled, it's giving problems with asm labels since 2003 (http://lists.gforge.info.ucl.ac.be/pipermail/mozart-hackers/2003/001164.html).
I forgot to close it, it was a bug in the ftracer flag of gcc that I had added to CFLAGS.