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 95CBEA034F for ; Thu, 25 Feb 2021 15:24:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 856DA40692; Thu, 25 Feb 2021 15:24:36 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id EC2AB40692 for ; Thu, 25 Feb 2021 15:24:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1614263074; 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: in-reply-to:in-reply-to:references:references; bh=2RVwpzGJjp4Ep5V1w+iThG2ILrR/4g7yaUjmgF3e1WI=; b=Lk1rwYinijL84p+X8h7/uDzhR9bN2VYs/1Pi8UdU7RcQ1EWO5hL+VEglVZVXka0hAJaQgQ Q//BIiIjkT6Ud+AErLqLFNykVIzAs3ni8Med712T/V8JS04hJJGdlwegwfRZRDP43FF3u1 gZm0+A/lDxYjHMwFofUBd/FS0qwoGyY= Received: from mail-vk1-f198.google.com (mail-vk1-f198.google.com [209.85.221.198]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-589-I8xYibHNP5W4OGPDJu1zSg-1; Thu, 25 Feb 2021 09:24:26 -0500 X-MC-Unique: I8xYibHNP5W4OGPDJu1zSg-1 Received: by mail-vk1-f198.google.com with SMTP id b16so1074233vkn.2 for ; Thu, 25 Feb 2021 06:24:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=2RVwpzGJjp4Ep5V1w+iThG2ILrR/4g7yaUjmgF3e1WI=; b=KIUMc05XHAPfxPkD1SSqhcFhF0ktKk/JylCmfgm+Y3GjS5KEA1UJi0t+tlyyfZFoG8 +7nY517djXhe9uub2H1PUTTBFfB1nA3DOFHn8c6WM7l62uTOJz5aAuK5BYoiInLVmS0v TOJnS4YbIRHRsgZgNDS55pLuhoCNRz4WxPA0thDV1rkk6wwsBTToiE0ORpmFE9NvL3ab KcFLS2CiYzBB0MsUjdjfxl5eLoZtBwuo3zp9sEjdzS5a3yJdsnrrveIILnmyPX5Ma+lN F83NLYjNU8iT3dHwaYgCjCmdRmXZKlWBnmaS0jUoRslsou6ir1qQOqyaYd83RdTVJ1Rd VhPw== X-Gm-Message-State: AOAM533C99lmFqZWjVQJ+ey9FhfqXrFte2wTsjdIVd+pW89HfZaSQQX+ LsCVNijYzNi4RJZH2AltBbTw9imVCSNP0G+4Ej+7BY1GDgirdx3H6ANWhMbzi42wEgHFpTHyFbU 0W8Kg9Snh5XhTVU5rXlSqAjM= X-Received: by 2002:ab0:1c1b:: with SMTP id a27mr1762895uaj.86.1614263065908; Thu, 25 Feb 2021 06:24:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8/Uj86iPQh0kk+8gxbQdI3QedyzSmh6jITyLDaFIvshoeia/34tcq/Nh+WVLZfAnC0qqMsBTMHgwuC2pqjT0= X-Received: by 2002:ab0:1c1b:: with SMTP id a27mr1762876uaj.86.1614263065551; Thu, 25 Feb 2021 06:24:25 -0800 (PST) MIME-Version: 1.0 References: <20210219105740.1567636-1-luca.boccassi@gmail.com> <953ce5333ed145a58f26e9eaea240c50@pantheon.tech> <1565f89657b62b8c8baa2a2c9524a0592f99fa3b.camel@debian.org> In-Reply-To: From: David Marchand Date: Thu, 25 Feb 2021 15:24:14 +0100 Message-ID: To: Jerin Jacob Kollanukkaran Cc: Ruifeng Wang , =?UTF-8?Q?Juraj_Linke=C5=A1?= , Luca Boccassi , "stable@dpdk.org" , nd Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-stable] [PATCH 20.11] config/arm: replace native machine args X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Thu, Feb 25, 2021 at 1:15 PM Jerin Jacob Kollanukkaran wrote: > > Hi Jerin, do you have any thoughts on this? > > > Ruifeng, If you are able to reproduce this issue, Could you add "-march=armv8.1-a+crc+crypto" In ThunderX config and check is this > Fixing the issue? > > [main] [dpdk.org] $ git diff > diff --git a/config/arm/meson.build b/config/arm/meson.build > index 00bc4610a..ef65b4bb6 100644 > --- a/config/arm/meson.build > +++ b/config/arm/meson.build > @@ -96,15 +96,18 @@ implementer_cavium = { > ], > 'part_number_config': { > '0xa1': { > - 'machine_args': ['-mcpu=thunderxt88'], > + 'machine_args': ['-march=armv8.1-a+crc+crypto+lse', > + '-mcpu=thunderxt88'], > 'flags': flags_part_number_thunderx > }, > '0xa2': { > - 'machine_args': ['-mcpu=thunderxt81'], > + 'machine_args': ['-march=armv8.1-a+crc+crypto+lse', > + '-mcpu=thunderxt81'], > 'flags': flags_part_number_thunderx > }, > '0xa3': { > - 'machine_args': ['-mcpu=thunderxt83'], > + 'machine_args': ['-march=armv8.1-a+crc+crypto+lse', > + '-mcpu=thunderxt83'], > 'flags': flags_part_number_thunderx > }, > '0xaf': { > In OBS, for Centos 8: [ 539s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Jlqu02 [ 539s] + umask 022 [ 539s] + cd /home/abuild/rpmbuild/BUILD [ 539s] + cd dpdk-1614261881.2a428852a [ 539s] + ninja-build -v -C arm64-armv8a-linux-gcc [ 539s] ninja: Entering directory `arm64-armv8a-linux-gcc' [ 539s] [1/2573] /usr/libexec/platform-python ../buildtools/map_to_win.py /home/abuild/rpmbuild/BUILD/dpdk-1614261881.2a428852a/lib/librte_telemetry/version.map lib/rte_telemetry_exports.def [ 539s] [2/2573] /usr/libexec/platform-python ../buildtools/map_to_win.py /home/abuild/rpmbuild/BUILD/dpdk-1614261881.2a428852a/lib/librte_kvargs/version.map lib/rte_kvargs_exports.def [ 539s] [3/2573] /usr/libexec/platform-python ../buildtools/map_to_win.py /home/abuild/rpmbuild/BUILD/dpdk-1614261881.2a428852a/lib/librte_telemetry/version.map lib/rte_telemetry_mingw.map [ 539s] [4/2573] /usr/libexec/platform-python ../buildtools/map_to_win.py /home/abuild/rpmbuild/BUILD/dpdk-1614261881.2a428852a/lib/librte_kvargs/version.map lib/rte_kvargs_mingw.map [ 540s] [5/2573] /usr/libexec/platform-python ../buildtools/map_to_win.py /home/abuild/rpmbuild/BUILD/dpdk-1614261881.2a428852a/lib/librte_rcu/version.map lib/rte_rcu_exports.def [ 540s] [6/2573] cc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/arm/include -I../lib/librte_eal/arm/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fcommon -Werror -fPIC -march=armv8.1-a+crc+crypto+lse -mcpu=thunderxt88 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="21.2"' -DRTE_LIBEAL_USE_GETENTROPY -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_cpuflags.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_cpuflags.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_cpuflags.c.o' -c ../lib/librte_eal/common/eal_common_cpuflags.c [ 540s] FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_cpuflags.c.o [ 540s] cc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/arm/include -I../lib/librte_eal/arm/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fcommon -Werror -fPIC -march=armv8.1-a+crc+crypto+lse -mcpu=thunderxt88 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="21.2"' -DRTE_LIBEAL_USE_GETENTROPY -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_cpuflags.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_cpuflags.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_cpuflags.c.o' -c ../lib/librte_eal/common/eal_common_cpuflags.c [ 540s] cc1: error: switch -mcpu=armv8-a conflicts with -march=armv8.1-a switch [-Werror] [ 540s] cc1: all warnings being treated as errors [ 540s] [7/2573] cc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/arm/include -I../lib/librte_eal/arm/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fcommon -Werror -fPIC -march=armv8.1-a+crc+crypto+lse -mcpu=thunderxt88 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="21.2"' -DRTE_LIBEAL_USE_GETENTROPY -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_class.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_class.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_class.c.o' -c ../lib/librte_eal/common/eal_common_class.c [ 540s] FAILED: lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_class.c.o [ 540s] cc -Ilib/76b5a35@@rte_eal@sta -Ilib -I../lib -I. -I../ -Iconfig -I../config -Ilib/librte_eal/include -I../lib/librte_eal/include -Ilib/librte_eal/linux/include -I../lib/librte_eal/linux/include -Ilib/librte_eal/arm/include -I../lib/librte_eal/arm/include -Ilib/librte_eal/common -I../lib/librte_eal/common -Ilib/librte_eal -I../lib/librte_eal -Ilib/librte_kvargs -I../lib/librte_kvargs -Ilib/librte_telemetry/../librte_metrics -I../lib/librte_telemetry/../librte_metrics -Ilib/librte_telemetry -I../lib/librte_telemetry -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O3 -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-packed-not-aligned -Wno-missing-field-initializers -D_GNU_SOURCE -fcommon -Werror -fPIC -march=armv8.1-a+crc+crypto+lse -mcpu=thunderxt88 -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation '-DABI_VERSION="21.2"' -DRTE_LIBEAL_USE_GETENTROPY -MD -MQ 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_class.c.o' -MF 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_class.c.o.d' -o 'lib/76b5a35@@rte_eal@sta/librte_eal_common_eal_common_class.c.o' -c ../lib/librte_eal/common/eal_common_class.c [ 540s] cc1: error: switch -mcpu=armv8-a conflicts with -march=armv8.1-a switch [-Werror] [ 540s] cc1: all warnings being treated as errors For the full log: https://build.opensuse.org/build/home:dmarchan/home_bluca_dpdk_CentOS_8/aarch64/dpdk/_log -- David Marchand