When I try to emerge koffice, I receive the following errors: ================================= KDChartBarPainter.cpp:639: Unable to generate reloads for: (insn 3592 3590 3594 (parallel[ (set (reg:SI 6 %ebp) (fix:SI (fix:DF (reg/v:DF 506)))) (clobber (mem:HI (plus:SI (reg:SI 6 %ebp) (const_int -22 [0xffffffea])) 0)) (clobber (mem:HI (plus:SI (reg:SI 6 %ebp) (const_int -24 [0xffffffe8])) 0)) (clobber (mem:SI (plus:SI (reg:SI 6 %ebp) (const_int -20 [0xffffffec])) 0)) (clobber (scratch:HI)) ] ) 149 {fix_truncdfsi2+1} (nil) (expr_list:REG_UNUSED (scratch:HI) (nil))) make[3]: *** [KDChartBarPainter.lo] Error 1 make[3]: Leaving directory `/var/tmp/portage/koffice-1.2_beta2/work/koffice-1.2-beta2/kchart/kdchart' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/koffice-1.2_beta2/work/koffice-1.2- ================================================================ I'm using Gentoo 1.2. Here is the relevant portions of my make.conf: USE="nocardbus gphoto2 dga fbcon directfb slp tiff alsa oss ggi dvd flash lame imap ldap xml tetex perl mysql postgres odbc innodb acl afs samba doc maildir mbox zlib" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4" CXXFLAGS="-march=i686 -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4"
There is _another_ problem. The one above is gone with dwongrading to cups-1.1.14-r4. And the actual one is quite strange: $ emerge koffice Calculating dependencies ...done! >>> emerge app-office/koffice-1.2_beta2 to / >>> md5 ;-) koffice-1.2-beta2.tar.bz2 >>> Unpacking source... >>> Unpacking koffice-1.2-beta2.tar.bz2 >>> Source unpacked. qtmt configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD compatible install... /bin/install -c checking for -p flag to install... yes checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking dependency style of i686-pc-linux-gnu-gcc... gcc checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... no checking whether i686-pc-linux-gnu-g++ accepts -g... no checking dependency style of i686-pc-linux-gnu-g++... none checking whether i686-pc-linux-gnu-g++ supports -Wundef... no checking whether i686-pc-linux-gnu-g++ supports -Wbad-function-cast... no checking whether i686-pc-linux-gnu-g++ supports -Wno-long-long... no checking whether i686-pc-linux-gnu-g++ supports -Wnon-virtual-dtor... no checking how to run the C++ preprocessor... /lib/cpp checking whether i686-pc-linux-gnu-g++ supports -frepo... no checking whether i686-pc-linux-gnu-g++ supports -instances=explicit... no checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... pass_all checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking the maximum length of command line arguments... 32768 checking command to parse nm output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for i686-pc-linux-gnu-strip... no checking for strip... strip checking if i686-pc-linux-gnu-gcc static flag works... no checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... yes checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes libtool.m4: error: problem compiling C++ test program checking for i686-pc-linux-gnu-g++ option to produce PIC... checking if i686-pc-linux-gnu-g++ supports -c -o file.o... no checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) yes checking for gcj option to produce PIC... -fPIC checking if gcj PIC flag -fPIC works... yes checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking for shl_load... (cached) no checking for shl_load in -ldld... (cached) no checking for dlopen... (cached) no checking for dlopen in -ldl... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for main in -lutil... yes checking for main in -lcompat... no checking for crypt in -lcrypt... yes checking for socklen_t... size_t checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for inet_ntoa... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking crt_externs.h usability... no checking crt_externs.h presence... no checking for crt_externs.h... no checking for _NSGetEnviron... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for poll in -lpoll... no checking CoreAudio/CoreAudio.h usability... no checking CoreAudio/CoreAudio.h presence... no checking for CoreAudio/CoreAudio.h... no checking for res_init... no checking for killpg in -lucb... no checking for int... yes checking size of int... 4 checking for long... yes checking size of long... 4 checking for char *... yes checking size of char *... 4 checking for char... yes checking size of char... 1 checking for dlopen in -ldl... (cached) yes checking for shl_unload in -ldld... no checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for IceConnectionNumber in -lICE... yes checking for libXext... yes checking for Xinerama... yes checking for pthread_create in -lpthread... yes checking for extra includes... no checking for extra libs... no checking for libz... -lz checking for libpng... -lpng -lz -lm checking for libjpeg6b... no checking for libjpeg... -ljpeg checking for Qt... configure: error: Qt (>= Qt 3.0.3) (library qt-mt) not found. Please check your installation! For more details about this problem, look at the end of config.log. Make sure that you have compiled Qt with thread support! !!! ERROR: The ebuild did not complete successfully. !!! Function kde_src_compile, Line -3927, Exitcode 1 !!! died running ./configure, kde_src_compile:configure !!! emerge aborting on /usr/portage/app-office/koffice/koffice-1.2_beta2.ebuild . Needless to say - qt3.0.4 IS available as is qtmt in /etc/make.conf ...
koffice bugs go to verwilst, I'm overloaded
Do you use -fomit-frame-pointer in C[XX]FLAGS?
Yes, I have been using -fomit-frame-pointer. I'll try leaving it out and see what happens.
Removing the -fomit-frame-pointer solved the problem! Thanks!