Gentoo Archives: gentoo-server

From: Andy Dustman <adustman@×××××××××.edu>
To: gentoo-server@l.g.o
Subject: Re: [gentoo-server] problems with stage 1 install: findutils won't emerge
Date: Wed, 21 Apr 2004 15:06:57
Message-Id: 1082560006.11872.37.camel@kenny.terry.uga.edu
In Reply to: [gentoo-server] problems with stage 1 install: findutils won't emerge by Kevin
1 On Wed, 2004-04-21 at 09:53, Kevin wrote:
2 > checking for C compiler default output... configure: error: C compiler
3 > cannot create executables
4 > See `config.log' for more details.
5
6 That might be useful information. (And you provide this later)
7
8 > # These settings were set by the catalyst build script that
9 > automatically built this stage
10 > CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -mcpu=pentium4"
11
12 -march=pentium4 implies -mcpu=pentium4, so you don't need the later.
13 However, AFAIK, -march=pentium4 still causes some bad code to be
14 generated for SSE2 instructions, so what you really need is
15 -march=pentium3 -mcpu=pentium4 (use pentium3 instruction set, optimize
16 for pentium4).
17
18 I also prefer to use -O2 -falign-loops=8 -falign-jumps=8
19 -falign-functions=64, but these are less critical.
20
21 > CHOST="i686-pc-linux-gnu"
22 > USE="sse krb4 kerberos samba ldap sasl doc apache2 afs acpi apm berkdb
23 > crypt cups emacs emacs-w3 encode ethereal evo firebird flac foomaticdb
24 > gpm gstreamer guile hardened imap innodb jabber jack java jikes libwww
25 > mad mcal mysql ncurses odbc oggvorbis pam pda ppds pdflib perl
26 > plotutils png prelude python readline ruby slp spell ssl svga tcltk
27 > tetex tiff truetype unicode usb vhosts X kde qt gnome gtk gtk2
28 > quicktime jpeg gif xinerama X Xaw3d xml xml2 xmms xv zeo alsa avi
29 > bonobo acl caps imagemagick icq ipv6"
30 > CXXFLAGS="${CFLAGS}"
31 > MAKEOPTS="-j2"
32 > GENTOO_MIRRORS="http://gentoo.oregonstate.edu/"
33 > ===================================================
34 >
35 > (I really do plan on making use of all those USE variables)
36
37 A lot of those USE flags should be set by default, so you don't need to
38 set them in /etc/make.conf, but it doesn't hurt anything if that's
39 really what you want. It may possibly cause problems with building
40 stage1. But I also don't think you should attempt to emerge findutils
41 until after you've built your stage3, i.e. after you've done emerge
42 system.
43 --
44 Andy Dustman <adustman@×××××××××.edu>
45 Office of Information Technology, Terry College of Business, UGA

Replies