From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8CFED15852A for ; Tue, 20 Aug 2024 20:42:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 43FC0E2A1B; Tue, 20 Aug 2024 20:42:13 +0000 (UTC) Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EA6CBE2A15 for ; Tue, 20 Aug 2024 20:42:12 +0000 (UTC) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-69483a97848so58710197b3.2 for ; Tue, 20 Aug 2024 13:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724186532; x=1724791332; darn=lists.gentoo.org; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:from:to:cc:subject :date:message-id:reply-to; bh=7ABb98mHU8WE96BG2nN3xlIzUmnh1T+BwrxjNL82e9A=; b=PnQLIRuFBgNlWyowTrV5h1gEJHnV6nrm7Hn5yyU5zuLiFetrd54OGt7b46jkeRB14b enHgkiN2P5XT5TPU234MoB0AjeMhHDFdik/qwPQ7KpcdizSHQGJ/k028lRTfr3sp8xY6 X5BorZf8eYZ91AKR4GCEwuG81od8y6jkUQ8aNzmiz7mG5MMyQBFDpwWmEQibt5dVk6oZ NbltWMr5iiLE8cLpTWgGAgnAmcAAtBfGaei/bawqhH3t8rk6SGk5qVZdqVVjcfN5CoJ9 XDRSut5AjQXbU8vfvwkwrwu3amckI/Z3IyjIyRssaGhqmZtRmEobvyXO5v9fDZDppQKg qNeg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724186532; x=1724791332; h=content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:to:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=7ABb98mHU8WE96BG2nN3xlIzUmnh1T+BwrxjNL82e9A=; b=omTTzHpkIERKIAf7sDJdiMQ2aF75BJR+sU8Y6DyEmsSaQZKz3RCui1t3vWZxhc5UKh UESs5jat1Cca4Fp2UISqsHImrXWWSEK80tZpm3ku5MtPNty633ZdQFulja715AO7DYfi r4Aunw15KbjT9t0JK/9rwpDQDN0QKxcTvX6NsJBag3mrupnaYQ8aTWJdFLFkp691WFaA SdAiMfisaIw+xcM86xcbDc4b4AB10IIs2VutPd6GBbtRlGqltRhbZ+k7fojxgM0B2fSv pRaBlx7LjZo/nVdeyXCWeGaaq2JjEmbgKc/1KXL+sNHbOlZ15tt1OpQwZauyEsSL/dAP wLsw== X-Gm-Message-State: AOJu0YwGBtlJklKuIVUOd2ke983rJt8y2qKp6hO0+qIs7ZcdVwjYJMSE rkP3HzcF8CW9cwiFXYSQkVRwsUHgk9j4sAueFLKXa1pad9NcboeB X-Google-Smtp-Source: AGHT+IEVFOW81Lzv9Xtcvm9+F48gf3Qituf+C91y5/squvcBytNUNhsJbrCfz/xa1UmAbDDKc67G+A== X-Received: by 2002:a05:690c:7281:b0:6b1:a965:4ddf with SMTP id 00721157ae682-6c09e65d541mr6824007b3.27.1724186532000; Tue, 20 Aug 2024 13:42:12 -0700 (PDT) Received: from [10.8.8.2] ([138.199.2.131]) by smtp.gmail.com with ESMTPSA id 00721157ae682-6be29470e37sm3541697b3.19.2024.08.20.13.42.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 20 Aug 2024 13:42:11 -0700 (PDT) Subject: Re: [gentoo-user] Build for Athlon and Ryzen architectures To: gentoo-user@lists.gentoo.org References: <7bcd9f95-b246-428f-bfeb-9ddf352c7021.ref@yahoo.com> <7bcd9f95-b246-428f-bfeb-9ddf352c7021@yahoo.com> From: Dale Autocrypt: addr=rdalek1967@gmail.com; prefer-encrypt=mutual; keydata= mQINBGFSciYBEADcEGMyJBSuavKO/XKUVvgkxck7Nl8Iuu8N2lcnRji/rSKg5c1Acix1ll9i oW8JBCHwvn0+Xy60BvEsqcup3YSHw5STl/bR1ePEehtnYrg8FdjdS91+B805RfnKMm69rFVI wLSBHQrSG1yxHd8CloWoEdhmVtP24buajbh114bgXd9ahtpZrCVMrWdWYUg2mEXguGV5uNAh Rf8SWxDNc79w24JxsV34a8niMUYMjzWr0rafIbzk732X38vGjVMLo/2mMpkbp9mPp++LHoY+ 0Pet8zxxdXPJSCd475kza1AD+hhSyBZXB9yknYWgyY3cZe1rGmooJSi2KX4QxO7npwLThcO1 be6KKRkd35+Fi/a1BzVOHsZMiK/gcwxEFoMd27gir4ehaeHJfFXl+65w4hj0EsOZSxrJrm2C R50g5By2czSKP1bADEygFNpIJj51AR+wM88NImG2RPtlT2maYBzazvF05g65cdHXGp1C7W5P wwwKU2DgABB2t7N7z5A69LnryBRw4zUYDRRYLTYlBlYgg+xILm2c0OrBdxJgLJa7JE50Eo25 d3PFwt9J0gYvqy6sPFLl9So0sDg9zm0hKQtXOP5kgropUFGrNoJI+mjwF4rYLRBVzZwNAvlO OhEvHubBo3mEllv4x+FeptwXZxlk7gUsdqI8AxnFB8K9wi6FVQARAQABtBtEYWxlIDxyZGFs ZWsxOTY3QGdtYWlsLmNvbT6JAk4EEwEIADgCGyMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AW IQQSG1h01ruv/WNXc3Q3RqOgiQH1GwUCYVJy8gAKCRA3RqOgiQH1G+waEACeTZCt77jnRAmQ AV7otKuZekDWiLi3Eig8tj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 2024 15:42:10 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0 SeaMonkey/2.53.18.1 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: <7bcd9f95-b246-428f-bfeb-9ddf352c7021@yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Archives-Salt: 902b757a-1eb9-4eca-bcaa-5d0d367593e5 X-Archives-Hash: 0f4fa6bb1347476110fb97f6471dd8bd 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 :-)  :-)