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 91A6DA00C3; Fri, 7 Oct 2022 17:26:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 635B242B91; Fri, 7 Oct 2022 17:26:23 +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 040F040DDC for ; Fri, 7 Oct 2022 17:26:20 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1665156380; 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=HgbvL36WeUXWrXFzwWBiylKsDvOzxmiY2Fv7MxcXt4o=; b=epF2V+4RiZbdjWdsNo2KkwYjPjFnOHM+SPWK50z5MNAHZtLjGTGhW7O2iECKgJW1klXJkd Q0+mQ9jTsXPgpBMVoEuau1M4XwnXA1U6u4rxPMjZW/q5qz5veHFUuuf8zrJs5kd7hYo4fg mF7Bw7HsAYtiLeqxkffMxXRQxb0/5KY= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-492-Wvv90NX1NECNlshC6le9pA-1; Fri, 07 Oct 2022 11:26:19 -0400 X-MC-Unique: Wvv90NX1NECNlshC6le9pA-1 Received: by mail-ej1-f69.google.com with SMTP id qa30-20020a170907869e00b0078d42a195b9so2778483ejc.6 for ; Fri, 07 Oct 2022 08:26:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=HgbvL36WeUXWrXFzwWBiylKsDvOzxmiY2Fv7MxcXt4o=; b=k+Iv/JLCgfFExdxVSLZWJ+9TL+XdW4wSYApbgrs/JF+bv2n4zez2lZSdTT+N0tTdY8 slQr0HG/17Cdx2KZKCzA85qq8pFoCzuUP0eFYY8aGFVSRxkzqjtlcwgm4zknFb2WwrOd CA8Jxxow+D1ST7qXJHq2rTF3hLu8IX0Lp88+p4x50SdyO7aJclLeU5SE2dB4oHApULph mvEaGUKvTnkpyG/Rpzu3UWyDFtvza5mzO/Egy3Asy6Lf9DjiL1Sj3zGsFfqFydlW7p7E p+XPC+vXDK5aHjsh4XoLfCMCTx8q5Grb2bsG2roT0R8L5KgD/KCRjej8Z9uwjqsTlyCg 0zdw== X-Gm-Message-State: ACrzQf1+IeULwhgbY64hNrgbTghFQBjLOO2Pt7YGTXQs4Z/5iElvN3gv LNtNKAhJLVbpD7yh/+CJduts4UB6Kjj5i+xfH4fcUEBraT729GVKmSMzqyE7iVYPlvdKEFVnukc +Bb8HewX/GeXux2Fl51g= X-Received: by 2002:a17:907:270f:b0:78d:728b:ff4 with SMTP id w15-20020a170907270f00b0078d728b0ff4mr2554194ejk.501.1665156378224; Fri, 07 Oct 2022 08:26:18 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6nKRAi+3K6rhQvTg8ORSp5i6YQzaF2hDsH6+ReUefk6KN+V+T5pJDipL+MoD73ARlQVe56cIOP0uQjaoR4k50= X-Received: by 2002:a17:907:270f:b0:78d:728b:ff4 with SMTP id w15-20020a170907270f00b0078d728b0ff4mr2554176ejk.501.1665156377964; Fri, 07 Oct 2022 08:26:17 -0700 (PDT) MIME-Version: 1.0 References: <20220912170747.3128065-1-bruce.richardson@intel.com> <20220912170747.3128065-2-bruce.richardson@intel.com> In-Reply-To: From: David Marchand Date: Fri, 7 Oct 2022 17:26:05 +0200 Message-ID: Subject: Re: [PATCH 1/1] build: increase minimum meson version to 0.53 To: Bruce Richardson Cc: Thomas Monjalon , dev@dpdk.org, Lincoln Lavoie , techboard@dpdk.org X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Fri, Oct 7, 2022 at 4:11 PM Bruce Richardson wrote: > > - We have an issue with mingw cross compilation. > > https://github.com/ovsrobot/dpdk/actions/runs/3039251235/jobs/4893964186 > > > > + meson build --werror --cross-file config/x86/cross-mingw > > -Dexamples=helloworld -Dplatform=generic --default-library=static > > --buildtype=debugoptimized -Dcheck_includes=true > > The Meson build system > > Version: 0.53.0 > > Source dir: /home/runner/work/dpdk/dpdk > > Build dir: /home/runner/work/dpdk/dpdk/build > > Build type: cross build > > Program cat found: YES (/usr/bin/cat) > > Project name: DPDK > > Project version: 22.11.0-rc0 > > C compiler for the build machine: ccache gcc (gcc 9.4.0 "gcc (Ubuntu > > 9.4.0-1ubuntu1~20.04.1) 9.4.0") > > C linker for the build machine: gcc GNU ld.bfd 2.34 > > > > meson.build:4:0: ERROR: Unable to determine dynamic linker > > > > > > - I reproduced locally, it looks like meson is trying to pass some > > -fuse-ld option that is not understood. > > 4577 write(2, "x86_64-w64-mingw32-gcc: error: unrecognized command > > line option \342\200\230-fuse-ld=x86_64-w64-mingw32-ld\342\200\231\n", > > 101) = 101 > > > > > > - Upgrading to 0.53.1, I don't see the issue anymore for mingw, so I > > pushed a branch in GHA to get a status for other targets. > > https://github.com/david-marchand/dpdk/actions/runs/3205007946 > > > So minimum should be 0.53.1 rather than 0.53 then? > - That's what my test shows. Fyi, 0.53.2 works too. - With 0.53, it seems the meaning of the ld variable (in meson config file) changed. I am unclear though if our current configs still make sense. -- David Marchand