ralfconn wrote:
> Hello,
>
> my 8-year old gentoo HTPC is giving clear signals that the motherboard
> 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.
>
> I'd like to rebuild the dying boxwith some more generic -march option
> so that I'll be able to boot into the new box and then rebuild it with
> more optimized -march.
>
> If I understand well the GCC man page the safest option for the dying
> system rebuild would be -march=x86_64 (and maybe -mtune=generic?). Is
> this right?
>
> thanks,
>
> raffaele
>
>
> .
>


If you are in no hurry for the new system to be available once built,
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. 

While you are doing the emerge world, you can be in another console
working on any needed kernel config changes, compiling, installing and
configuring boot loader.  Don't forget lspci -k from the boot media. 

There is a number of good ways to go about this.  There's nothing wrong
with what others mentioned either.  This is just yet one other option. 
If your old rig for example is having CPU, memory or heat issues, saving
the compile for the new rig is also safer. 

Oh, compiling on the new rig will also give the CPU thermal paste time
to set in good.  Lots of short heat and cool cycles with some longer
cycles as well.  That's important if you assemble it yourself.  My new
rig is finally settling in.  My temps max out at 190F.  Compared to your
old CPU temp, that is about 110F.  Yep, these new things run hotter.  I
don't see any way to get that 190 down to even 160F.  Yet. 

Hope that gives you another option to consider.  Depending on the reason
for old system having problems, may be really helpful. 

Dale

:-)  :-)

Reply via email to