-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 28 Oct 2003 11:52 am, Juha-Mikko Ahonen wrote: > On ti, 2003-10-28 at 13:28, James Ferguson wrote: > > Hi, I'm trying to install on a new 1.4GHz Duron, one of the new 133FSB > > cpu's. > > > > I'm Installing from stage 1 as I always do, (first time on this > > particular machine though) but now when I get to emerge system i get > > the following error during configure of modutils 2.4.25: > > > > checking whether the C compiler (gcc -mcpu=athlon -03 -pipe -yet_exec > > ) works > > no > > configure: error: installation or configuration problem: C compiler > > cannot create executables. <snip> > I use -march=i686 for my Duron. It works fine enough. You can always use > i386 as a safe option.
On my Duron 800 I use "CFLAGS="-mcpu=i586 -O3 -pipe" '. Coincidentally I have the exact same error on my other Gentoo [web]server (an old AMD k6 cpu) as I try to upgrade mod_php. I noticed that gcc was upgraded during the same 'emerge world' so I re-emerged gcc for a laff but im getting the same problems. I have also tried changing the $CC and $CPP variables as suggested on some ML posts I found on google. James: take a look at $PORTAGETMP/modutils-2.4.25/work/modutils-2.4.25/config.log - this may well give you a little more info. Ill post an extract from mine below. [ ... ] This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. configure:1618: checking host system type configure:1706: checking for gcc configure:1819: checking whether the C compiler (gcc -march=i586 -2 -O3 -pipe ) works configure:1835: gcc -o conftest -march=i586 -2 -O3 -pipe conftest.c - -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-2' configure:1861: checking whether the C compiler (gcc -march=i586 -2 -O3 -pipe ) is a cross-compiler configure:1866: checking whether we are using GNU C configure:1875: gcc -E conftest.c configure:1894: checking whether gcc accepts -g configure:1927: checking whether gcc and cc understand -c and -o together configure:1942: gcc -c conftest.c -o conftest.o 1>&5 configure:1943: gcc -c conftest.c -o conftest.o 1>&5 configure:1948: cc -c conftest.c 1>&5 configure:1950: cc -c conftest.c -o conftest.o 1>&5 configure:1951: cc -c conftest.c -o conftest.o 1>&5 configure:1978: checking how to run the C preprocessor configure:1999: gcc -E conftest.c >/dev/null 2>conftest.out configure:2059: checking for AIX configure:2086: checking if compiler supports -R configure:2101: gcc -o conftest -march=i586 -2 -O3 -pipe conftest.c -R /usr/lib -lxmlparse -lxmltok 1>&5 gcc: unrecognized option `-2' gcc: unrecognized option `-R' /usr/lib: file not recognized: Is a directory collect2: ld returned 1 exit status configure: failed program was: #line 2094 "configure" #include "confdefs.h" [ ... ] Grateful for any ideas :) - -- Mark -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/nmFwzrmqzOOQUj8RAjL/AKCiUFtkVXpMLSDK5/NE9zaOvJsOKACgoOhk 9/h78Jyj7WPgq+CnqnELkaE= =oblO -----END PGP SIGNATURE----- -- [EMAIL PROTECTED] mailing list