From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by sourceware.org (Postfix) with ESMTP id CAB23389042C for ; Wed, 27 Jan 2021 15:26:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CAB23389042C Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-533-i1xF1US8O9WNkjswAS5KmQ-1; Wed, 27 Jan 2021 10:26:35 -0500 X-MC-Unique: i1xF1US8O9WNkjswAS5KmQ-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C85C3107ACE6; Wed, 27 Jan 2021 15:26:34 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-113-35.ams2.redhat.com [10.36.113.35]) by smtp.corp.redhat.com (Postfix) with ESMTPS id EF10C50C0B; Wed, 27 Jan 2021 15:26:33 +0000 (UTC) From: Florian Weimer To: Manuel Lauss via Libc-help Cc: Manuel Lauss Subject: Re: How to set x86 ISA needed property? References: Date: Wed, 27 Jan 2021 16:26:31 +0100 In-Reply-To: (Manuel Lauss via Libc-help's message of "Wed, 27 Jan 2021 16:04:53 +0100") Message-ID: <87im7i4d08.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-6.6 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Jan 2021 15:26:41 -0000 * Manuel Lauss via Libc-help: > I've been building a userland for an AMD E-450 (gcc march=3Dbtver1) on > a much more modern and faster x86 host. > Now, the machione does not boot because up-to-date glibc devel says this= : > > /lib64/libc.so.6: CPU ISA level is lower than required > > readelf libc.so.6 says: > Displaying notes found in: .note.gnu.property > Owner Data size Description > GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 > Properties: x86 ISA needed: x86-64-baseline, x86-64-v2, x86-64-v3 > > x86-64-v3 is supported by the build machine, but the btver1 is at most -v= 2. > This used to work in the past; is there a way to force glibc to a certain= level? > (binutils-2.35.1, gcc-10.2.1, glibc master as of 27.01.2021). What does =E2=80=9Cgcc -v=E2=80=9D? What are you glibc configure/build fla= gs? This is expected to happen only if you use something like -march=3Dx86-64-v3 to build glibc, and only with recent toolchain version. I'm surprised you are hitting this with GCC 10, which does not implement -march=3Dx86-64-v3. Thanks, Florian --=20 Red Hat GmbH, https://de.redhat.com/ , Registered seat: Grasbrunn, Commercial register: Amtsgericht Muenchen, HRB 153243, Managing Directors: Charles Cachera, Brian Klemm, Laurie Krebs, Michael O'N= eill