1 |
On Wednesday 18 July 2007 18:49:00 Alex Schuster wrote: |
2 |
> > What I want to know is, will my software, compiled with the above |
3 |
> > settings, run in the new processor? |
4 |
> |
5 |
> I think this will not work well, because your current system has |
6 |
> Athlon-specific CPU instructions which the Intel machine dows not know |
7 |
> of. You probably get "illegal instruction" errors with many binaries. I |
8 |
> even had this when I replaced my athlon-something with a just slightly |
9 |
> less powerful Sempron CPU. |
10 |
|
11 |
Actually, I'd not be surprised if everything, or at worst a large percentage |
12 |
of everything, works properly. |
13 |
I make large use of binary packages on the production servers I run, and I |
14 |
recently encountered something "interesting". |
15 |
Everything was built CHOST=i686-pc-linux-gnu, CFLAGS=--march=opteron, |
16 |
correctly on a dual Opteron. Those packages were then used to build an |
17 |
install on a pair of old dual P4 Xeon boxes (not the current Core Xeons), and |
18 |
everything worked fine (and continues to work fine). |
19 |
It wasn't until I came to use those packages on a P3, where there were loads |
20 |
of "illegal instructions", which very nearly forced me to drive 45 miles to |
21 |
go fix it locally. |
22 |
All of these are headless servers though, so naturally have no X or |
23 |
any "desktop" software. However, you're going the opposite way, an "old" |
24 |
instruction set, to a "new" one. |
25 |
|
26 |
Basically, don't jump in to reinstalling, or rebuilding. Try it first, you |
27 |
might be pleasently surprised. |
28 |
|
29 |
-- |
30 |
Mike Williams |
31 |
-- |
32 |
gentoo-user@g.o mailing list |