View previous topic :: View next topic |
Author |
Message |
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Mon Jun 14, 2004 11:10 am Post subject: [SOLVED] Necessary to reinstall Gentoo after -march change? |
|
|
Hi
I just upgraded my pc at work from a Pentium 2 (400mhz) to a Pentium 3 (800mhz) (not that special, I know, but it's still a huge difference).
Before, on the P2, I was using these flags:
Code: | CFLAGS="-march=pentium2 -O3 -pipe -funroll-loops -fomit-frame-pointer" |
Now I was wondering whether it would be wise to change the CPU flag to pentium3, and then continue with installing updates from portage. This method would eventually cause my system to have some packages built for P2 (those that aren't updated yet), and some built for P3 (those that were updated).
If there are no issues (other than not optimally compiled), I'd rather keep it like this, because doing a Gentoo install from scratch would take a LOOONG time.
Any suggestions/comments would be appreciated. _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/
Last edited by lunarg on Mon Jun 14, 2004 5:49 pm; edited 1 time in total |
|
Back to top |
|
|
Hayl Guru
Joined: 28 Jan 2003 Posts: 442 Location: Calgary, Alberta, Canada
|
Posted: Mon Jun 14, 2004 1:21 pm Post subject: |
|
|
change your flags to whatever you want and then do "emerge -e world". that command will rebuild every package so it all will all have the new flags. or, just let them slowly change the way you said. _________________ "I do not fear computers. I fear lack of them." - Isaac Asimov |
|
Back to top |
|
|
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Mon Jun 14, 2004 3:58 pm Post subject: |
|
|
If I do want to change it "slowly" (so with updating), would this cause inconsistencies or instabilities? (...since there are then packages built for different architectures) _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/ |
|
Back to top |
|
|
jbc28 Apprentice
Joined: 07 Jan 2003 Posts: 205 Location: Edinburgh
|
Posted: Mon Jun 14, 2004 4:28 pm Post subject: |
|
|
In the case of a processor upgrade I can't see it causing any problems (a P4 should support all the P2 options). A downgrade will undoubtedly lead to instabilities.
I'd upgrade packages slowly as you suggest, unless your pc has lots of time on its hands.
J |
|
Back to top |
|
|
lunarg Guru
Joined: 07 Jan 2004 Posts: 508 Location: Peer, Belgium
|
Posted: Mon Jun 14, 2004 5:49 pm Post subject: |
|
|
Then I'll go with the "slow" update method, although I'm going to recompile things like the kernel, gcc, and some libs (glibc, glib, ...), since I've noticed inconsistencies on a testing server when trying to insmod drivers compiled for P2 on a kernel compiled for 386.
In fact, think I'm going to make a "stage4" backup before I start.
Thank you all for the help. _________________ Registered linux user #341804
Visit Black Manticore: http://www.blackmanticore.com/ |
|
Back to top |
|
|
jbc28 Apprentice
Joined: 07 Jan 2003 Posts: 205 Location: Edinburgh
|
Posted: Mon Jun 14, 2004 5:59 pm Post subject: |
|
|
I think the kernel compilation optimizations are much more aggressive than setting march so I think you should be OK. That said, better backed up than not!
J |
|
Back to top |
|
|
|