From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 35077A0537; Wed, 5 Feb 2020 06:43:30 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 699101C121; Wed, 5 Feb 2020 06:43:29 +0100 (CET) Received: from mail-lj1-f193.google.com (mail-lj1-f193.google.com [209.85.208.193]) by dpdk.org (Postfix) with ESMTP id 8C2FB1C117 for ; Wed, 5 Feb 2020 06:43:27 +0100 (CET) Received: by mail-lj1-f193.google.com with SMTP id x7so1031290ljc.1 for ; Tue, 04 Feb 2020 21:43:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=jf4q6cmc+ZHJrdzm5h9cblZ1UQN52KkfaL493kyTU14=; b=OaeQZ/gjLxC1vB5iQnSaFZPl0POak3NKNjmc/Wlnoa+skzyeoljtzuGT1u4HEl63Vi zMZnmakVSmoUg9n1LafweWmJzMLCd18TAZgJbKkh7NSkV6bp8kmdT+xA7r1e/IQw6yGr 5sxeZbv/Bdsyd9Ee2xgVcX6H4HSCzcK9c39HTleLUVNzxwbdTtxj3fSB7EQv1/1YLO45 gxEA2iQ67s3It3sf88uRHE0YUG53BFrvRKxUOVTZQrszzEI+1wNQH4FV3B1pcoEUXtr9 MsVVZmU1BJ/LRszgn003kEhNw9DFVE77T11AVpsAoh3D7TUBuuUgynzCQdi9yLNmzjHO aYbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jf4q6cmc+ZHJrdzm5h9cblZ1UQN52KkfaL493kyTU14=; b=RIEd8/41yaY96KjU8VJlgANuc5NYdb7o+ang7WfKnzWZg5gfU85MlieBSge9KWJKNT jtcovO+FWBZInc/a4/RilSFYuUftGLVAOfFAD9GkLSYTLL71AnNM/ycD4L6lawp0xnxj lflJx53ihlFP5uHqgZ41Q8W1/adO4E8PvHvrjY6YTgHCfu/7pYuD3JjdqV9rpJHe8IjA +09xlVBThaIwFsxwebFcDAwtlPK2zwOIDvG5RmR3PNujkhdC8CdWBJzSb1E4WPGxLgjJ PQ0YnWF8p4stqtoe/wJVeUunTPVxjZvMoe+NaIHZWmETWTe4NTB7YFa7NFzVC/imqNog PvSA== X-Gm-Message-State: APjAAAUCfo9v1ZskKRS67lxgV8/2OAacIsf3QgyuZ9Tk7C+xKUIrYwAf Jw1X8/mCjJ6l5twRpwG5FWc= X-Google-Smtp-Source: APXvYqz+jCFgU/Y2CtcC8hSuRC5vRFtPNAET3LhAzReQE9JS4v2y+Zch5jFFKcQ4JF/wZ0O4L31Irw== X-Received: by 2002:a05:651c:327:: with SMTP id b7mr17897273ljp.22.1580881406985; Tue, 04 Feb 2020 21:43:26 -0800 (PST) Received: from Sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id p26sm11606024lfh.64.2020.02.04.21.43.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 21:43:26 -0800 (PST) Date: Wed, 5 Feb 2020 08:43:25 +0300 From: Dmitry Kozlyuk To: Narcisa Ana Maria Vasile Cc: "dev@dpdk.org" , Bruce Richardson , Thomas Monjalon , Olivier Matz , Harini Ramakrishnan , Omar Cardona , Pallavi Kadam , Ranjit Menon , John McNamara , Marko Kovacevic Message-ID: <20200205084325.3ce317c0@Sovereign> In-Reply-To: References: <20200131030744.19596-1-dmitry.kozliuk@gmail.com> X-Mailer: Claws Mail 3.17.4 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [EXTERNAL] [PATCH 0/6] MinGW-w64 support X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" Hi Narcisa, > I'm having some trouble with cross-compilation: > > python3 meson.py -Dexamples=helloworld ../../dpdk/build ../../dpdk --cross-file ../../dpdk/meson_mingw.txt > The Meson build system > Version: 0.53.1 > Source dir: /mnt/d/dpdk > Build dir: /mnt/d/dpdk/build > Build type: cross build > Program cat found: YES (/bin/cat) > Project name: DPDK > Project version: 20.02.0-rc1 > C compiler for the build machine: cc (gcc 7.4.0 "cc (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0") > C linker for the build machine: cc GNU ld.bfd 2.30 > > meson.build:4:0: ERROR: Unable to determine dynamic linker > > Any ideas on how to fix this issue? Use Meson 0.52, version 0.53 introduced this regression among others: https://github.com/mesonbuild/meson/issues/6431 DPDK CI also has Meson version pinned to 0.52, see http://mails.dpdk.org/archives/dev/2020-January/154357.html I find it handy to switch Meson versions via pip3. Here's Meson 0.52 output: > $ meson --cross-file meson_mingw.txt build/cross/mingw > The Meson build system > Version: 0.52.0 > Source dir: /home/dmitry/src/dpdk.clean > Build dir: /home/dmitry/src/dpdk.clean/build/cross/mingw > Build type: cross build > Program cat found: YES (/usr/bin/cat) > Project name: DPDK > Project version: 20.02.0-rc1 > C compiler for the build machine: cc (gcc 9.2.0 "cc (GCC) 9.2.0") > C linker for the build machine: GNU ld.bfd 2.33.1 > C compiler for the host machine: /usr/bin/x86_64-w64-mingw32-gcc (gcc 9.2.0 > "x86_64-w64-mingw32-gcc (GCC) 9.2.0") > C linker for the host machine: GNU ld.bfd 2.33.1 As you can see, it correctly picks up CC and LD for host machine, unlike 0.53. -- Dmitry Kozlyuk