Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 43 |
Nodes: | 6 (0 / 6) |
Uptime: | 96:10:32 |
Calls: | 290 |
Files: | 904 |
Messages: | 76,426 |
If you are in no hurry for the new system to be available once built,As mentioned in another post I tried a similar route in the past (not
I'd consider this way. Leave current system as is. If you start compiling, it could die while compiling depending on what the problem
is. I'd assemble the new system, test from some boot media, make sure memory, CPU and all that works. In other words, not dead out of the
box. Then install the hard drive OS from the old system. Boot the boot media, mount and chroot into the old install. Make the needed changes
in make.conf, don't forget CPU flags if set, and start a emerge -e
world. One advantage of compiling on newer rig, it is faster than the
old rig. Another advantage, you only need to do it once.
On 8/20/24 1:23 PM, ralfconn wrote:
my 8-year old gentoo HTPC is giving clear signals that the motherboardThe other safe option is to run `ld.so --help` and check for this:
is about to die so I ordered new components.
The dying box is an AMD FX-6530 built with -march=native. The new box
will be Ryzen 7 5800X.
Subdirectories of glibc-hwcaps directories, in priority order:
x86-64-v4
x86-64-v3 (supported, searched)
x86-64-v2 (supported, searched)
Your new CPU should support -march=x86-64-v3 but perhaps the old one doesn't.
If you plan to recompile all packages with -march=native immediately
after you swap anyway, then it doesn't really matter, just use "x86-64"
for maximum compatibility.
I did not know about this 'Microarchitecture level' definition [1],
thanks. I'd expect the -v3 to be a superset of the -v2, instead when in
the past I tried to boot a Ryzen 9 from a system built with
-march=native for an FX 8530 it did not work (I don't remember if it was
a kernel panic or if it stopped already at GRUB, I think the latter), so
I had to reinstall from stage 3.
raffaele
[1] https://en.wikipedia.org/wiki/X86-64#Microarchitecture_levels