1 |
2008/10/3 Greg <journey@×××××××××××××××.net>: |
2 |
> Thanks greatly for the responses. I have found them informative, but am sad to report the same result. |
3 |
> |
4 |
> I downloaded and installed the stage3-amd64-2008.0 tarvol. |
5 |
> after copying over a few configuration files to save myself time (mainly /etc/make.conf, /etc/locale.gen, /etc/passwd, |
6 |
> /etc/shadow, /etc/resolv.conf, and my ssh hostkeys) |
7 |
> I then performed emerge -e world |
8 |
> |
9 |
> I ended up with the same kind of message: |
10 |
> |
11 |
> |
12 |
> |
13 |
> * Messages for package sys-devel/gcc-4.1.2: |
14 |
> |
15 |
> * If you have issues with packages unable to locate libstdc++.la, |
16 |
> * then try running 'fix_libtool_files.sh' on the old gcc versions. |
17 |
> |
18 |
> * Messages for package sys-libs/glibc-2.6.1: |
19 |
> |
20 |
> * |
21 |
> * ERROR: sys-libs/glibc-2.6.1 failed. |
22 |
> * Call stack: |
23 |
> * ebuild.sh, line 49: Called src_compile |
24 |
> * environment, line 3431: Called eblit-run 'src_compile' |
25 |
> * environment, line 1110: Called eblit-glibc-src_compile |
26 |
> * src_compile.eblit, line 173: Called src_compile |
27 |
> * environment, line 3431: Called eblit-run 'src_compile' |
28 |
> * environment, line 1110: Called eblit-glibc-src_compile |
29 |
> * src_compile.eblit, line 181: Called toolchain-glibc_src_compile |
30 |
> * src_compile.eblit, line 122: Called die |
31 |
> * The specific snippet of code: |
32 |
> * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed" |
33 |
> * The die message: |
34 |
> * make for x86 failed |
35 |
> * |
36 |
> * If you need support, post the topmost build error, and the call stack if relevant. |
37 |
> * A complete build log is located at '/var/log/portage/sys-libs:glibc-2.6.1:20081003-103750.log'. |
38 |
> * The ebuild environment file is located at '/var/build/portage/sys-libs/glibc-2.6.1/temp/environment'. |
39 |
> * |
40 |
> |
41 |
> Here is the copy of my make.conf file that I'm trying to use. I kept make.profile as |
42 |
> /usr/portage/profiles/default/linux/amd64/2008.0 |
43 |
> I always do env-update and source /etc/profile, so these haven't been the issues. |
44 |
> |
45 |
> I knew stage1s were no longer supported, but I came into using gentoo back in 2004 and learned how to use it through |
46 |
> setting up stage1, making stage2, etc. I've never had major problems doing that with the various versions until now. I |
47 |
> wasn't sure if emerge -e system or emerge -e world etc would do the same tasks. |
48 |
> |
49 |
> Anyways, here is my make.conf -- and again, thanks for all the help and suggestions. |
50 |
> |
51 |
> CFLAGS="-march=nocona -O2 -pipe" |
52 |
|
53 |
first of all: nocona breaks your build. nocona isn't an amd processor |
54 |
but an emt64 (intel). for your processor you need to use march=k8. |
55 |
also, i'd use -Os instead of -O2 since it has some speed and size |
56 |
optimizations and it's stable. if you've recompiled gcc like that you |
57 |
probably won't be able to compile other packages after that and need |
58 |
to restart the stage-3. for fresh stage 3 go to www.funtoo.org and |
59 |
download the one you want. don't delete the distfiles since you'll |
60 |
probably need them again. |
61 |
|
62 |
> CXXFLAGS="${CFLAGS} -fpermissive" |
63 |
|
64 |
remove -fpermissive and set it as per package if it's needed. |
65 |
|
66 |
> CHOST="x86_64-pc-linux-gnu" |
67 |
> USE="3dnow mmx sse sse2 threads threadpool -multilib" |
68 |
|
69 |
sse isn't supported on athlons, so remove it |
70 |
|
71 |
|
72 |
> #ACCEPT_KEYWORDS="~amd64" |
73 |
|
74 |
this should accept both amd64 and ~amd64 |
75 |
|
76 |
> PORTAGE_TMPDIR=/var/build |
77 |
> PORTDIR=/usr/portage |
78 |
> PKGDIR=${PORTDIR}/packages |
79 |
> PORT_LOGDIR=/var/log/portage |
80 |
> GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://adelie.polymtl.ca/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" |
81 |
> |
82 |
> SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" |
83 |
> PORTAGE_RSYNC_RETRIES="3" |
84 |
> #EMERGE_DEFAULT_OPTS="" |
85 |
> MAKEOPTS="-j3" |
86 |
|
87 |
you could set this to -j5 without any issue. if you point the |
88 |
/var/build directory to a /tmpfs (if you have some ram (about 3-4gb is |
89 |
better, but if you don't have it, with at least 2gb you could try it |
90 |
out)) you could also go with -j (unlimited jobs) or something near 8-9 |
91 |
jobs without killing the system. |
92 |
|
93 |
> #PORTAGE_NICENESS=10 |
94 |
> AUTOCLEAN="yes" |
95 |
> PORTAGE_TMPFS="/tmp" |
96 |
> FEATURES="sandbox userpriv usersandbox notitles fixpackages loadpolicy unmerge-orphans" |
97 |
|
98 |
remove unmerge-orphans from the features while compiling for the first time. |
99 |
|
100 |
-- |
101 |
dott. ing. beso |