From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7EFDC43382; Wed, 22 Nov 2023 17:39:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 57909410EE; Wed, 22 Nov 2023 17:39:52 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 81F3C4028C for ; Wed, 22 Nov 2023 17:39:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1700671190; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Q+zeb7zSSfjhKD1Iry8C+sMWQk1tvUgRX9Ez8zl2rZE=; b=hW8VJETvfjv4hsOyxkLoost1rWroQzTH+1+J21VzO/mMbxGBYgajwdEST+HOzOh2TxnYsy SM7qfAvo351EVhBdS+9Wy0lo92RfDmSEzUTlyTBcfMezP+/a0i4C7l5S0WJ339L6OvN6oe NeT6b/SHahyEdWuJameN/pjM1dxJJRQ= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-468-llP1VoIZMYOpmjHEwKJDng-1; Wed, 22 Nov 2023 11:39:48 -0500 X-MC-Unique: llP1VoIZMYOpmjHEwKJDng-1 Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-50aaa963ebfso4317110e87.2 for ; Wed, 22 Nov 2023 08:39:48 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700671187; x=1701275987; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Q+zeb7zSSfjhKD1Iry8C+sMWQk1tvUgRX9Ez8zl2rZE=; b=dL+DeKHKtJZNcqHKQYhNs7KXMVTgD9GTiV7fsYtBNB7bgImtB03RWQ7iiDVDC8mHsE i2anYz8v1oYnEnZhegwcV07IimRlVP2zTZ3G7purL0dGlFuw6NBhjftiOD8fhy2V57aX 9cfy0MB50yjGng91wfz2vS8MKzXQkcJot53cqdF0iH2v2uIsuo1hQC9trX7nuDMTW3Zc mDJKTPcseCl+s0tcaoPsmrvv/8KXHrEvKPMwJGDpERjwRcAdwOAE9ft42qSzlRCy/h23 qqTo8jfBJYsxBtH53U1OW85uYD1qL8COOJXpgMSRzdaPFONeuNyViPgNv1HVFECP5IUO CS9g== X-Gm-Message-State: AOJu0YzyojkKJZKi60J95xaRs9E4U6sJb+9vzVYobgi0Mt2SbSauq25b PNW/u3fydOJgXdVrGJBw/Yqbr42WpyIoUFLn7rVIVH9RBI07qUwEq9w0x/qLpYvlP/2XCzHK+zL N5hE3HJafythEOVOJx+w= X-Received: by 2002:a2e:b0ed:0:b0:2c7:610:2dd1 with SMTP id h13-20020a2eb0ed000000b002c706102dd1mr1979716ljl.47.1700671187299; Wed, 22 Nov 2023 08:39:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHqdRkCXpEE3jz56re2SCvOt7aWcyzB08k7uriyixjtcGGKlJicQ4Clt8EoQNgKPq8Jnzt7j2vX8x7Iw5z6PIs= X-Received: by 2002:a2e:b0ed:0:b0:2c7:610:2dd1 with SMTP id h13-20020a2eb0ed000000b002c706102dd1mr1979699ljl.47.1700671186692; Wed, 22 Nov 2023 08:39:46 -0800 (PST) MIME-Version: 1.0 References: <20231121164903.3982163-1-christian.ehrhardt@canonical.com> In-Reply-To: <20231121164903.3982163-1-christian.ehrhardt@canonical.com> From: David Marchand Date: Wed, 22 Nov 2023 17:39:35 +0100 Message-ID: Subject: Re: [PATCH] build: riscv is not a valid -march value To: christian.ehrhardt@canonical.com Cc: dev , Thomas Monjalon , Luca Boccassi X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On Tue, Nov 21, 2023 at 5:49=E2=80=AFPM = wrote: > > From: Christian Ehrhardt > > If building riscv natively with -Dplatform=3Dgeneric config/meson.build > will select cpu_instruction_set=3Driscv. > > That was fine because config/riscv/meson.build did override it to valid > values later, but since b7676fcccab4 ("config: verify machine arch > flag") it will break the build as it tries to test -march=3Driscv which > is not a value value. > > The generic setting used in most cases is rv64gc, set this here > as well. > > Fixes: b7676fcccab4 ("config: verify machine arch flag") > Fixes: f22e705ebf12 ("eal/riscv: support RISC-V architecture") > > Signed-off-by: Christian Ehrhardt Acked-by: Sivaprasad Tummala Applied, thanks. --=20 David Marchand