koffice-1.3.3 fails to configure when trying to emerge it. (test for C compiler to create executables fails) I'm currently using gcc version 3.4.1-r2. Reproducible: Always Steps to Reproduce: 1.emerge koffice 2. 3. $ emerge koffice openoffice-ximian Calculating dependencies ...done! >>> emerge (1 of 2) app-office/koffice-1.3.3 to / >>> md5 src_uri ;-) koffice-1.3.3.tar.bz2 >>> Unpacking source... >>> Unpacking koffice-1.3.3.tar.bz2 to /var/tmp/portage/koffice-1.3.3/work >>> Source unpacked. 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 i686-pc-linux-gnu-strip... no checking for strip... strip checking for kde-config... /usr/kde/3.3/bin/kde-config checking where to install... /usr (as requested) checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables See `config.log' for more details. !!! ERROR: app-office/koffice-1.3.3 failed. !!! Function kde_src_compile, Line 130, Exitcode 77 !!! died running ./configure, kde_src_compile:configure !!! If you need support, post the topmost build error, NOT this status message.
Ok, having just switched to gcc 3.4 I wasn't aware that there were so many packages that don't build yet with gcc 3.4 Using gcc-config to switch back to gcc 3.3 was the obvious fix.