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 7463D15852A for ; Tue, 20 Aug 2024 19:57:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1AB882BC021; Tue, 20 Aug 2024 19:57:29 +0000 (UTC) Received: from mail-200167.simplelogin.co (mail-200167.simplelogin.co [176.119.200.167]) (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 B41032BC013 for ; Tue, 20 Aug 2024 19:57:28 +0000 (UTC) ARC-Seal: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1724183844; cv=none; b=1hQNQfkp5+BQtYwVytUkqQE5O6GaPtB4nyYpUKYXI7U7vr7ahX2jTZcFs/akWaywoc9UEOhlNmXgJbqhDvtBonZn6RamQ2sUhs4aXLxSjpPrh1N/DAK4wjruRjoQKiaeNkxDv1qBgoxs5il3tZNCWPDyUsnG4jG5i433SDRd8X5xQbEijNqxl3+slsDbRylJvNV0LQamZOVJTUWzQA45ggD0djAV6/RWlwPKaqkeKGQH5KO2EqMYnBIYwIpWIqXjVzT1g5LxQ4f7JLN2nv56qJ2sbfr0lButMqNqzedBODzajMFBOMzkQiwyMbUfY//k/L3SRHBlIu6r5qoJXAv9GQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=simplelogin.co; s=arc-20230626; t=1724183844; c=relaxed/simple; bh=8psJ7X3twNGDqctW/lHgU4TYb634OVIva+2EPd1eqb4=; h=Date:Subject:In-Reply-To:From:To:References; b=k97suQ+nZ78JnY6cJmqK5AGaWhCV/rnKeTjwVwJYs066YtMBLZLaS5jS7p8VmIJyNcDn+4Lx0bq9ZUD2f4DBZYDhtrW82fcxpN6GT8Bcar7d54KSVqIjZnEelF7QKsD+5WgYrLPeU5u5ySH2nNUCSh3tvIwuOTzw3y3ApcXfRWMBk8ph0At1wz/A9ZSmNoETqL2e12JEKzQrKfk7LEUFuSOH3eiSBiMYazTaAEgfocQepQVMtdGtqrM2OCF1lLmWpNjMbZdkMc+siQrUHAv4XB12fdAT+xO9hKvzIrp5Xj2uVXsHAnAomnShfj7ycOXFwfhftw4apgnxYdGnz1hh0w== ARC-Authentication-Results: i=1; mail.protonmail.ch DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=simplelogin.com; s=dkim; t=1724183844; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=72Ef8FAtqsZNVEIm/Iprv87kdFm+Yj04+D23EJbsRuo=; b=bDVdFUiUkfqaaOT3KV2D1s8T0qthseRC6138VZ6mkyo9GdhwG/Oj3lTEWGEaEooKYzq/7Q Da6SDCwyoINkI0jifjKewdbCP54VUxahw1HptlnUIlxpaXy+MuK7/0IjsjGX/uGg2EgVh6 guS7Xr81ljQSk5Jku5bfewWUTv/v+aw= Date: Tue, 20 Aug 2024 19:57:15 +0000 Subject: Re: [gentoo-user] Build for Athlon and Ryzen architectures In-Reply-To: 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 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha256; boundary="------19fbc0fc6a67f96013b80a43fcbb75730693bafa5a2b95a5e6f10a29f8c684a4"; charset=utf-8 Content-Transfer-Encoding: 7bit From: byte.size226@simplelogin.com To: gentoo-user@lists.gentoo.org Message-ID: <172418384376.7.13604344167002059588.411099145@simplelogin.com> References: <7bcd9f95-b246-428f-bfeb-9ddf352c7021.ref@yahoo.com> <7bcd9f95-b246-428f-bfeb-9ddf352c7021@yahoo.com> X-SimpleLogin-Type: Reply X-SimpleLogin-EmailLog-ID: 411099145 X-SimpleLogin-Want-Signing: yes X-Archives-Salt: c8ecd36c-5e49-405c-ac3b-498355b8709a X-Archives-Hash: 2bc2b1a71546fbbe1738cf96e7d2e265 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------19fbc0fc6a67f96013b80a43fcbb75730693bafa5a2b95a5e6f10a29f8c684a4 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <6c420b89-dbcc-472e-93d5-f90e53a29e6f@victorivanov.io> Date: Tue, 20 Aug 2024 20:57:11 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [gentoo-user] Build for Athlon and Ryzen architectures To: "gentoo-user at lists.gentoo.org" References: <7bcd9f95-b246-428f-bfeb-9ddf352c7021.ref@yahoo.com> <7bcd9f95-b246-428f-bfeb-9ddf352c7021@yahoo.com> Content-Language: en-GB From: Victor Ivanov In-Reply-To: On 20/08/2024 18:38, Eli Schwartz wrote: > 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. Agreed with this recommendation. Last year I migrated from a dying Intel 6th gen to a Ryzen 7000 series and went with, IIRC, the most generic -march=x86-64 without -mtune. To save some compile time and electricity I only recompiled @system. After migrating the drive to the new system I updated -march accordingly and recompiled @system again (just in case, perhaps unnecessarily) before ultimately running a full "--emptytree @world" recompile with some exceptions from @system. If recompile time and/or energy is not a factor, it's probably safer to go with @world in both cases and not bother. Somebody also suggested then to install "gentoo-kernel-bin" before the migration in case there's any compatibility changes and your current kernel doesn't boot on the new system. Ironically, in my case I did have issues with a black screen with my kernel, but the gentoo-kernel-bin panic'd straight away. Turns out my issue was graphics related and adding "nomodeset" got the screen going and I resolved the problem shortly after. So YMMV, but probably doesn't hurt to have it as a back up. Good luck! - Victor --------19fbc0fc6a67f96013b80a43fcbb75730693bafa5a2b95a5e6f10a29f8c684a4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: ProtonMail wnUEARYIACcFAmbE9RoJEMuXJJI+vh0uFiEE59g+WZi8eZ7/aQNqy5ckkj6+ HS4AAMhlAP9FhVBA6B2P4hF0hzf2/jNF4NI5JS7ZRPXZq+B75f0IUwD9HK+I h/cmoCmIpOXPqYUq6fr69ZTNbSJHjnESzC1tnwQ= =u4Nv -----END PGP SIGNATURE----- --------19fbc0fc6a67f96013b80a43fcbb75730693bafa5a2b95a5e6f10a29f8c684a4--