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 D9E2CA0C3F; Thu, 15 Apr 2021 21:40:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A4105162441; Thu, 15 Apr 2021 21:40:05 +0200 (CEST) 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 2A9B2162440 for ; Thu, 15 Apr 2021 21:40:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1618515603; 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=X9DujpgzSqslQ7Dl5/4B4wOl0PsogUmH7Gum/lYQyPPkiVTQY7UI5zGnuUqcppKHtTxnj1 BGHujh/2iFFgWiEi7sn2itojai3IMIsYoimS9rnSWfZdyWbUsczCIL8N0dLBX1OPJjY6TM cnJ7fMNwclZCnoSHa4O3PbJL1nS/gqI= 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-250-41A0bMyuOka4LFrhPJkSjg-1; Thu, 15 Apr 2021 15:39:59 -0400 X-MC-Unique: 41A0bMyuOka4LFrhPJkSjg-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D200F1883521; Thu, 15 Apr 2021 19:39:57 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.93]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7431810013C1; Thu, 15 Apr 2021 19:39:54 +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:38:14 +0200 Message-Id: <20210415193816.7026-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.84 on 10.5.11.22 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