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 D80BBA00C5; Mon, 14 Feb 2022 12:43:04 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BC9A841150; Mon, 14 Feb 2022 12:43:04 +0100 (CET) Received: from mail-ed1-f41.google.com (mail-ed1-f41.google.com [209.85.208.41]) by mails.dpdk.org (Postfix) with ESMTP id 61D624114E for ; Mon, 14 Feb 2022 12:43:03 +0100 (CET) Received: by mail-ed1-f41.google.com with SMTP id h18so4263548edb.7 for ; Mon, 14 Feb 2022 03:43:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JKI4PB2VsFDQJrJHwifX1j5Q4yPUX1OBQ5yb57i0B/8=; b=F3kUCbkiXN74BAGMQZ54xb6Y+aZ/pOZARsMlQOHra3+XU8rDAyeN4f3QEPZD+CixUP mVcijhHWm6MI0bufhOvQW1E9YQuRJir8dW7Qx8PXT5uGLbdcchgIHLSjlArX6ioQS4kX QChfHJlAnikH4Zv8lTkFhXnweqnDU+Kfo6i8PSq/pKd4yjSHNYtCn9IGw7LbtkCQKlwV WgyoQq4svoYyyD8K+h/eooIEdTicUa0Z8+HtijDskVZ9mSDSY63McFiOQIaq8s8rddjo bdvM03BBejNWSa7VcTxaolAi3mRni3urk94AUHM63j1lNNU8jVMzl0iJiMdDYePIFUhf C2vg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=JKI4PB2VsFDQJrJHwifX1j5Q4yPUX1OBQ5yb57i0B/8=; b=kC5o/TOjcRVpIoegk9abCt8kXe5Cit3WieLNWTcIe/tuH3DOyNwD6fmnw7ckTOV7ze /iuCL6IJL2LbUxdTABGXrGQC/2/3DeHYQxLCyiNWDj3s5pvPNK3xwWckDVTuArvy+FL5 FHvmHx9egZI4g06i57LQtIxnDok7k6WJkAVfPOMOfE6UMpdgC/AMTlod1DhxLjRv1fAI aQCgmaMLUjFMj1ED5JenSma1nTZE3QroKf+IXfoVJ6RWCp6pN56eg0U8STx1hll8N46k O9W/M3hl6SY8iZzWx9lYbBXHh63rmPVzZisrA7TpRjb/xT6F/WwNbduh5vhW8fnCeO0H JLGg== X-Gm-Message-State: AOAM530o9Zp3F2fDQxsmE6D5nZ7D3N4UjDm9Irw1PWhllmb44LRO0tFz bzUPjAvQbhisDA0YJbfS+wEigL4RFd8= X-Google-Smtp-Source: ABdhPJy7rgKPMA6fn392s2QPD+Wjm/z45rt23pITdIdlQxy6thVLEDYjzMY10bdpacjlWV+mOZspww== X-Received: by 2002:a05:6402:d0d:: with SMTP id eb13mr14646572edb.83.1644838983058; Mon, 14 Feb 2022 03:43:03 -0800 (PST) Received: from gostpad.localdomain (80.71.142.111.ipv4.parknet.dk. [80.71.142.111]) by smtp.gmail.com with ESMTPSA id k7sm10465791ejp.182.2022.02.14.03.43.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Feb 2022 03:43:02 -0800 (PST) From: Karl Bonde Torp X-Google-Original-From: Karl Bonde Torp To: dev@dpdk.org Cc: Karl Bonde Torp Subject: [PATCH] build: fix build on FreeBSD with Meson 0.61.1 Date: Mon, 14 Feb 2022 12:43:13 +0100 Message-Id: <20220214114313.21258-1-k.torp@samsung.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 When building with Meson 0.61.1 on FreeBSD some archives become corrupted. This can be avoided by using 'llvm-ar' instead of 'ar'. Signed-off-by: Karl Bonde Torp --- buildtools/meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/buildtools/meson.build b/buildtools/meson.build index 400b88f251..e1c600e40f 100644 --- a/buildtools/meson.build +++ b/buildtools/meson.build @@ -31,6 +31,9 @@ if host_machine.system() == 'windows' pmdinfo += 'llvm-ar' endif pmdinfogen += 'coff' +elif host_machine.system() == 'freebsd' + pmdinfo += 'llvm-ar' + pmdinfogen += 'elf' else pmdinfo += 'ar' pmdinfogen += 'elf' -- 2.35.1