/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2 -march=athlon-tbird -mmmx -m3dnow -O3 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o karbon -L/usr/X11R6/lib -L/usr/qt/3/lib -L/usr/kde/3.2/lib -R /usr/kde/3.2/lib -R /usr/qt/3/lib -R /usr/X11R6/lib dummy.o karbon.la *** Warning: Linking the executable karbon against the loadable module *** karbon.so is not portable! *** Warning: Linking the executable karbon against the loadable module *** libkarbonpart.so is not portable! *** Warning: Linking the executable karbon against the loadable module *** libkarbonbase.so is not portable! /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../../i686-pc-linux-gnu/bin/ld: /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/../../../Scrt1.o(.text+0x28): unresolvable relocation against symbol `main' collect2: ld returned 1 exit status make[3]: *** [karbon] Error 1 make[3]: Leaving directory `/var/tmp/portage/koffice-1.3_rc2/work/koffice-1.2.95/karbon' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.3_rc2/work/koffice-1.2.95/karbon' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/koffice-1.3_rc2/work/koffice-1.2.95' make: *** [all] Error 2 !!! ERROR: app-office/koffice-1.3_rc2 failed. !!! Function kde_src_compile, Line 137, Exitcode 2 !!! died running emake, kde_src_compile:make Reproducible: Always Steps to Reproduce: Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031212-r0, 2.6.0-test11-selinux1-mjb1) ================================================================= System uname: 2.6.0-test11-selinux1-mjb1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="no" CFLAGS="-march=athlon-tbird -mmmx -m3dnow -O3 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon-tbird -mmmx -m3dnow -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage.local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aalib acl ada alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb doc dvd encode esd evms evms2 f77 faad fbcon flash foomaticdb g++ gd gdbm ggi gif gnome gnomedb gphoto2 gpm gtk gtk2 gtkhtml guile imlib innodb java jpeg kde lcms libg++ libwww lvm mad mikmod mmx motif mozctl mozilla mpeg mysql nas ncurses nls nptl objc odbc oggvorbis opengl oss pam pda pdflib perl pg-hier pic plotutils png postgres python qt qtmt quicktime readline ruby ruby18 scanner sdl slang smooth spell ssl svga tcltk tcpd tetex threads tiff truetype x86 xface xml xml2 xmms xv zlib"
do you use hardened-gcc or other features like -pie -fpie or similar? Alex
Haha. KOffice 1.3 was released. http://dot.kde.org/1075216593/
try the latest koffice, if that fails, use less agressive cflags