Gentoo Archives: gentoo-dev

From: "Robin H. Johnson" <robbat2@g.o>
To: Dan Podeanu <pdan@×××××××××××.net>, Gentoo Developers <gentoo-dev@l.g.o>
Subject: Re: [gentoo-dev] some portage related issues
Date: Tue, 20 Apr 2004 18:28:34
Message-Id: 20040420175522.GC30803@curie-int.orbis-terrarum.net
In Reply to: Re: [gentoo-dev] some portage related issues by Dan Podeanu
1 On Tue, Apr 20, 2004 at 08:35:36PM +0300, Dan Podeanu wrote:
2 > # grep 2.95.3 /usr/src/linux-2.4.24-xfs-r5/README
3 > - Make sure you have gcc 2.95.3 available. gcc 2.91.66 (egcs-1.1.2) may
4 >
5 > Please note, not 2.95.3 and above (re: Greg KH). And again, compiled with
6 > 3.3.2 the kernel behaves strange, as opposed to when its compiled with
7 > 2.95.3. But thats just personal experience.
8 I've never experienced any troubles with GCC3.3-compiled kernels run in
9 a research environment.
10 3.1/3.2 compiled kernels did have some trouble, but it's been fixed for
11 GCC3.3.
12
13 >
14 > > > 4. It would be really nice if we had a tool to automate the detection of
15 > > > the build architecture (CHOST, -march & -mcpu) based on the info from
16 > > > /proc/cpu to help the newbie with the installation procedure.
17 > >
18 > > considering the *large* number of /proc/cpuinfo and the fact that one set
19 > does
20 > > not map properly onto the other set, this is impossible to a degree
21 > > (-march/-mcpu)
22 > >
23 > > in terms of CHOST, simply picking the right stage tarball would be enough
24 > ...
25 > > most people shouldnt have to change it
26 >
27 > Atleast for x86 there's a fairly small number of /proc/cpuinfo layouts. I
28 > cannot speak for other architectures though. And its all in the kernel
29 > sources, imho its fairly simple to write an automated detection system.
30 >
31 > CHOST will probably be changed by all those using stage1.
32 This was done a LONG time ago, and is on even the Gentoo 1.4 cds. Called
33 genflags, I wrote it for GCC3.2 originally, so it needs some updating to
34 produce results that can be used with varying GCC versions. It does
35 already support a much wider set of platforms than Gentoo will probably
36 ever support.
37
38 --
39 Robin Hugh Johnson
40 E-Mail : robbat2@××××××××××××××.net
41 Home Page : http://www.orbis-terrarum.net/?l=people.robbat2
42 ICQ# : 30269588 or 41961639
43 GnuPG FP : 11AC BA4F 4778 E3F6 E4ED F38E B27B 944E 3488 4E85