From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-202938-garchives=archives.gentoo.org@lists.gentoo.org>
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))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id AD505158041
	for <garchives@archives.gentoo.org>; Sun,  3 Mar 2024 13:32:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A43B3E2AA8;
	Sun,  3 Mar 2024 13:32:46 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183])
	(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 3F0A4E2A3C
	for <gentoo-user@lists.gentoo.org>; Sun,  3 Mar 2024 13:32:46 +0000 (UTC)
From: "Andreas K. Huettel" <dilfridge@gentoo.org>
To: gentoo-user@lists.gentoo.org
Cc: Alexander Puchmayr <alexander.puchmayr@linznet.at>
Subject: Re: [gentoo-user] CPU ISA level is lower than required
Date: Sun, 03 Mar 2024 14:32:41 +0100
Message-ID: <7844302.DvuYhMxLoT@pinacolada>
Organization: Gentoo Linux
In-Reply-To: <2927252.e9J7NaK4W3@zeus>
References: <2927252.e9J7NaK4W3@zeus>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
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-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="iso-8859-1"
X-Archives-Salt: 089b190a-b035-4552-b42f-837a5dcb0dff
X-Archives-Hash: f31c6c19d97a4ef20d8479c5d3e0457b

>=20
> I set CFLAGS=3D"-O2 -pipe march=3Dx86-64-v2" on the buildhost and perform=
ed a=20
> emerge -ev @world, re-creating all packages in binary form.
>=20
> My expectation was that these packages would work on the target platform,=
 but=20
> they don't. Error message "CPU ISA level is lower than required".=20
>=20

Quiz question: did you rebuild your toolchain *before* or *after* bzip2?

Suspicion without proof, the startup code embedded by gcc and glibc may wel=
l be
affected by the microarchitecture level. As may be libraries statically lin=
ked
in...

The safer way would be to run emerge -ev world, and afterwards build the
packages with a second emerge -ev world ...

=2D-=20
Andreas K. H=FCttel
dilfridge@gentoo.org
Gentoo Linux developer
(council, toolchain, base-system, perl, libreoffice)