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 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=20Linke=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 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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 --- .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" -- 2.23.0