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 2AC11A0C41; Fri, 16 Apr 2021 08:39:07 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B15734068A; Fri, 16 Apr 2021 08:39:06 +0200 (CEST) Received: from mailgw01.pantheon.sk (mailgw01.pantheon.sk [46.229.239.26]) by mails.dpdk.org (Postfix) with ESMTP id 1582840140 for ; Fri, 16 Apr 2021 08:39:05 +0200 (CEST) Received: from mailgw01.pantheon.sk (localhost.localdomain [127.0.0.1]) by mailgw01.pantheon.sk (Proxmox) with ESMTP id B121A2024B7; Fri, 16 Apr 2021 08:39:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; h=cc:cc:content-transfer-encoding:content-type:content-type :date:from:from:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=dkim; bh=PNFJ053u2Cpoay65UtKi yWa6hbtbgiUjhAVJqrad1uc=; b=sVSpk/ndGJM3IDOU9AyKGpikQg8lSB0Svz2y 5NkhSMfYv02ZHJvbIpGVa8hEuWu0IuK9nP32QUy8lV8NZTTOdI+5B1kk0Wp2K+fp 9yC1BsE6bcWJJ/AM6NGKQepPrumxILh+UeNC5DfSgmIfSPTBFY6g2g90PblDiEf/ Q1W/NUo/RF0O9J1+KDDSuKQeiw1Jg/c5RIN/Jxrnf3zDwR5c1jKj23ST3A1+Bmnu riXrWM+tKNjrfneWLeA2zMlm6LP/Y/lw4fd55fqmzG906JxtSorJAenaaTsdBFFP rnYkLn4h2T/BRR+i3Aa7eaUrkEEKwWdL0hx/Bloi0YMjLpLC2g== From: =?iso-8859-2?Q?Juraj_Linke=B9?= To: David Marchand , "dev@dpdk.org" CC: "thomas@monjalon.net" , "mdr@ashroe.eu" , Aaron Conole , Michael Santana , Honnappa Nagarahalli , Bruce Richardson Thread-Topic: [PATCH v2 1/2] ci: fix ABI reference generation Thread-Index: AQHXMi+YmoNJz6oMh0GirygAbrIuj6q2sP1g Date: Fri, 16 Apr 2021 06:39:03 +0000 Message-ID: References: <20210415163230.22263-1-david.marchand@redhat.com> <20210415194302.7738-1-david.marchand@redhat.com> In-Reply-To: <20210415194302.7738-1-david.marchand@redhat.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.101.4.10] Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 1/2] ci: fix ABI reference generation 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 Sender: "dev" > -----Original Message----- > From: David Marchand > Sent: Thursday, April 15, 2021 9:43 PM > To: dev@dpdk.org > Cc: thomas@monjalon.net; mdr@ashroe.eu; Aaron Conole > ; Michael Santana ; Juraj > Linke=B9 ; Honnappa Nagarahalli > ; Bruce Richardson > > Subject: [PATCH v2 1/2] ci: fix ABI reference generation >=20 > The machine=3Dgeneric is not understood by older version of dpdk. > It is directly passed to gcc as -march=3Dgeneric. >=20 > Since DPDK requires SSE 4.2, this results in an error when configuring > v21.02 sources for generating the reference ABI. >=20 > From GHA [1] logs: >=20 > """ > Compiler for C supports arguments -Wundef: YES Compiler for C supports > arguments -Wwrite-strings: YES Compiler for C supports arguments -Wno- > address-of-packed-member > -Waddress-of-packed-member: NO > Compiler for C supports arguments -Wno-packed-not-aligned > -Wpacked-not-aligned: NO > Compiler for C supports arguments -Wno-missing-field-initializers > -Wmissing-field-initializers: YES >=20 > config/x86/meson.build:14:6: ERROR: Could not get define '__SSE4_2__' >=20 > A full log can be found at > /home/runner/work/dpdk/dpdk-v21.02/build/meson-logs/meson-log.txt > Error: Process completed with exit code 1. > """ >=20 > 1: https://github.com/ovsrobot/dpdk/runs/2355005702 >=20 > Stick to a compatible configuration passing -Dmachine=3Ddefault. >=20 > Note: the breakage was not seen earlier this week as I guess the CI worke= rs are > using a cached ABI reference for v20.11. >=20 > Fixes: 5b3a6ca6fd28 ("build: alias default build as generic") >=20 > Signed-off-by: David Marchand Reviewed-by: Juraj Linke=B9 Do we want to change this back to -Dmachine=3Dgeneric after next release? > --- > .ci/linux-build.sh | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index 3cbeb193a1..91= e43a975b > 100755 > --- a/.ci/linux-build.sh > +++ b/.ci/linux-build.sh > @@ -77,7 +77,7 @@ else > OPTS=3D"$OPTS -Dexamples=3Dall" > fi >=20 > -OPTS=3D"$OPTS -Dmachine=3Dgeneric" > +OPTS=3D"$OPTS -Dmachine=3Ddefault" > OPTS=3D"$OPTS --default-library=3D$DEF_LIB" > OPTS=3D"$OPTS --buildtype=3Ddebugoptimized" > OPTS=3D"$OPTS -Dcheck_includes=3Dtrue" > -- > 2.23.0 >=20