From patchwork Thu Apr 15 19:43:01 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 91605 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id B9D32A0C3F; Thu, 15 Apr 2021 21:43:16 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4951F162448; Thu, 15 Apr 2021 21:43:16 +0200 (CEST) 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 13EBB162440 for ; Thu, 15 Apr 2021 21:43:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618515794; 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=hArpN2+ffwjkgynjUKROMZmwnyNRhstpCICcck7cDxU=; b=K5At4U4qgmNoDrKiBuRfoPdxNaq30TeF0V9zFP+CgixrJUZUMjSa55+Oio/OIKYpTu4irC mhPDmkc6oniTpjx/TiMvHkF9rZLw0utmUmyrC5hx34kEz7IX9ph+vQo2L7LhZYoMxGsOiR 0blBpviBHJrjLG9HpEjoT5lC//tiEBM= 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-439-lK0lRkk0ODeeKPVI26gx0A-1; Thu, 15 Apr 2021 15:43:12 -0400 X-MC-Unique: lK0lRkk0ODeeKPVI26gx0A-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1655E1006CB2; Thu, 15 Apr 2021 19:43:11 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.93]) by smtp.corp.redhat.com (Postfix) with ESMTP id 616325D735; Thu, 15 Apr 2021 19:43:07 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, mdr@ashroe.eu, Aaron Conole , Michael Santana , =?utf-8?q?Juraj_Linke=C5=A1?= , Honnappa Nagarahalli , Bruce Richardson Date: Thu, 15 Apr 2021 21:43:01 +0200 Message-Id: <20210415194302.7738-1-david.marchand@redhat.com> In-Reply-To: <20210415163230.22263-1-david.marchand@redhat.com> References: <20210415163230.22263-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [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" The machine=generic is not understood by older version of dpdk. It is directly passed to gcc as -march=generic. Since DPDK requires SSE 4.2, this results in an error when configuring v21.02 sources for generating the reference ABI. From GHA [1] logs: """ 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 config/x86/meson.build:14:6: ERROR: Could not get define '__SSE4_2__' 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. """ 1: https://github.com/ovsrobot/dpdk/runs/2355005702 Stick to a compatible configuration passing -Dmachine=default. Note: the breakage was not seen earlier this week as I guess the CI workers are using a cached ABI reference for v20.11. Fixes: 5b3a6ca6fd28 ("build: alias default build as generic") Signed-off-by: David Marchand Reviewed-by: Juraj Linkeš --- .ci/linux-build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/linux-build.sh b/.ci/linux-build.sh index 3cbeb193a1..91e43a975b 100755 --- a/.ci/linux-build.sh +++ b/.ci/linux-build.sh @@ -77,7 +77,7 @@ else OPTS="$OPTS -Dexamples=all" fi -OPTS="$OPTS -Dmachine=generic" +OPTS="$OPTS -Dmachine=default" OPTS="$OPTS --default-library=$DEF_LIB" OPTS="$OPTS --buildtype=debugoptimized" OPTS="$OPTS -Dcheck_includes=true" From patchwork Thu Apr 15 19:43:02 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: David Marchand X-Patchwork-Id: 91606 X-Patchwork-Delegate: david.marchand@redhat.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 774D1A0C3F; Thu, 15 Apr 2021 21:43:21 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5D14716245E; Thu, 15 Apr 2021 21:43:21 +0200 (CEST) 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 192F016245C for ; Thu, 15 Apr 2021 21:43:19 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618515799; 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=27T6lFEduBIa8vriTGgUhSEofskpX1bZ2JJn00xQIoc=; b=NSauHJRoA3CXR2kIyxkuuhdcE06xGaNNWWO3N9BIhjy8p8vzazhJpBcI9ngL9Fz5B2u26e gS71GrExUeiVIedTx5tf8QXqaYdgkEAkPAx4zaV52qwx4mWdsvRoKrgA5JqdQyEI0LZKSR XISIjpcjzv1vdfkedO8BPXs1/GVUQI4= 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-429-KYkcBwrdOT-zrIYmM_y_7Q-1; Thu, 15 Apr 2021 15:43:17 -0400 X-MC-Unique: KYkcBwrdOT-zrIYmM_y_7Q-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B157B801FCE; Thu, 15 Apr 2021 19:43:16 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.93]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6C7BE62690; Thu, 15 Apr 2021 19:43:14 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: thomas@monjalon.net, mdr@ashroe.eu, Aaron Conole , Michael Santana Date: Thu, 15 Apr 2021 21:43:02 +0200 Message-Id: <20210415194302.7738-2-david.marchand@redhat.com> In-Reply-To: <20210415194302.7738-1-david.marchand@redhat.com> References: <20210415163230.22263-1-david.marchand@redhat.com> <20210415194302.7738-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Subject: [dpdk-dev] [PATCH v2 2/2] ci: bump ABI reference version 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" When bumping DPDK version, we should have bumped the ABI reference too. Fixes: 442155f70c6b ("version: 21.05-rc0") Signed-off-by: David Marchand Acked-by: Thomas Monjalon --- .github/workflows/build.yml | 2 +- .travis.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 9175ec43d3..d38feace69 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,7 @@ jobs: CC: ccache ${{ matrix.config.compiler }} DEF_LIB: ${{ matrix.config.library }} LIBABIGAIL_VERSION: libabigail-1.8 - REF_GIT_TAG: v20.11 + REF_GIT_TAG: v21.02 RUN_TESTS: ${{ contains(matrix.config.checks, 'tests') }} strategy: diff --git a/.travis.yml b/.travis.yml index 7ed982ac07..898cffd998 100644 --- a/.travis.yml +++ b/.travis.yml @@ -41,7 +41,7 @@ script: ./.ci/${TRAVIS_OS_NAME}-build.sh env: global: - LIBABIGAIL_VERSION=libabigail-1.8 - - REF_GIT_TAG=v20.11 + - REF_GIT_TAG=v21.02 jobs: include: