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 1D8794384F; Thu, 18 Jan 2024 03:28:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C187840DFD; Thu, 18 Jan 2024 03:28:28 +0100 (CET) Received: from mail-ot1-f48.google.com (mail-ot1-f48.google.com [209.85.210.48]) by mails.dpdk.org (Postfix) with ESMTP id 9E0164025E for ; Thu, 18 Jan 2024 03:28:27 +0100 (CET) Received: by mail-ot1-f48.google.com with SMTP id 46e09a7af769-6ddee0aa208so5640628a34.3 for ; Wed, 17 Jan 2024 18:28:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1705544907; x=1706149707; darn=dpdk.org; h=content-transfer-encoding:mime-version:message-id:subject:cc:to :from:date:from:to:cc:subject:date:message-id:reply-to; bh=2i1btyGJ6DZipIiAN3uGlEcSwRwrZeyBJ0TZQLHkaZA=; b=eJzkmECNEskX6KK7d9ZXZFZMuxl+ct/1vIAkM2ePuI1MdZj1ryngliw99BioRaMmWm Gg4TjU8prJArpgJyZUKPk0FRkbTS10g6TfpBFFck+IuCyzphXnimtdCANCKQR94dBgCE gZp7Wsu54Z02UthEtxqySqnSDPMlsIB2Sl8bioYWy+kgPZ+UMrk+/Kw5/oXWoMsf9sgI jsNQp8y7f4UpobEj+GupMxT2VJZIPpd3odDtpOxfILuBXw7GsHWtrK/r9nHrpZ41o5x4 Rg4Ns1/7Ov3nQ4DlQHFYtiX0n6XEtvaUXiKEJwzQktmdRe/F05LvBg1KI/ut9HeiLQEz WXvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705544907; x=1706149707; h=content-transfer-encoding:mime-version:message-id:subject:cc:to :from:date:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=2i1btyGJ6DZipIiAN3uGlEcSwRwrZeyBJ0TZQLHkaZA=; b=U1206xWpmij26Xxkz1eMZAtqoK4eTzjsCYbLYs4QoeMRiUK3AUnGFSDuZQQyVHc/EE DwBuUDzlZc+1IQUPAi2KkLOA+hCsWTA19HW68f897RoWvdQRoWBV2jqf9DonZHdnRl3P 9pl0yE7Gs5wOJAz4TF2AbJjCtYCD8UmLtrT9pfUhVWapqWlVSC1S332ZQxNXfyWOzIHq n4OxFgD8/qKK4H12a4+IQouwXmXZGmVI/punX8x5/ugR/lymnA4NWkMoqWZAqbWzC0L6 rNNRripyMwQiXG9FN51QSMVupcbMP9JXdOFNSH9l/qskS3Ticz/uRfPFC6y8x0N39KfY X4NQ== X-Gm-Message-State: AOJu0Ywj2F1LxzVFwHP8CcBwlLSU0KaT4ddXOt4DssxwcsQLsI63yxiH wq0ISC6ZxI2MGuuVZ2lkZcUg/f4tLvN2x86UTXoOZukHcV3vQK2FlA4aF2uw7vw= X-Google-Smtp-Source: AGHT+IEOEqVq2VpC2ZrJKG3t8sZ7qKhzeVIALKqK5h1hZh2k+Fb5gewFyjVtiutpbh9Rx7in9dhK4Q== X-Received: by 2002:a05:6808:238c:b0:3bd:9acf:7d55 with SMTP id bp12-20020a056808238c00b003bd9acf7d55mr251890oib.67.1705544906873; Wed, 17 Jan 2024 18:28:26 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id fi35-20020a056a0039a300b006d94291679asm2126207pfb.78.2024.01.17.18.28.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 17 Jan 2024 18:28:26 -0800 (PST) Date: Wed, 17 Jan 2024 18:28:11 -0800 From: Stephen Hemminger To: Bruce Richardson Cc: dev@dpdk.org Subject: FreeBSD 14.0 build failure Message-ID: <20240117182811.485e8be7@hermes.local> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 DPDK will not build on FreeBSD 14.0 [2/2] Generating kernel/freebsd/nic_uio with a custom command FAILED: kernel/freebsd/nic_uio.ko /usr/bin/make -f ../kernel/freebsd/BSDmakefile.meson KMOD_OBJDIR=kernel/freebsd KMOD_SRC=../kernel/freebsd/nic_uio/nic_uio.c KMOD=nic_uio 'KMOD_CFLAGS=-I/home/shemminger/dpdk/build -I/home/shemminger/dpdk/config -include rte_config.h' CC=clang clang -O2 -pipe -include rte_config.h -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I/home/shemminger/dpdk/build -I/home/shemminger/dpdk/config -include /home/shemminger/dpdk/build/kernel/freebsd/opt_global.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=./machine=/usr/src/sys/amd64/include -fdebug-prefix-map=./x86=/usr/src/sys/x86/include -fdebug-prefix-map=./i386=/usr/src/sys/i386/include -MD -MF.depend.nic_uio.o -MTnic_uio.o -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=__freebsd_kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pragmas -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-functi on -Wno-error=pointer-sign -Wno-error=shift-negative-value -Wno-address-of-packed-member -Wno-format-zero-length -mno-aes -mno-avx -std=gnu99 -c /home/shemminger/dpdk/kernel/freebsd/nic_uio/nic_uio.c -o nic_uio.o /home/shemminger/dpdk/kernel/freebsd/nic_uio/nic_uio.c:84:81: error: too many arguments provided to function-like macro invocation DRIVER_MODULE(nic_uio, pci, nic_uio_driver, nic_uio_devclass, nic_uio_modevent, 0); ^ /usr/src/sys/sys/bus.h:832:9: note: macro 'DRIVER_MODULE' defined here #define DRIVER_MODULE(name, busname, driver, evh, arg) \ ^ /home/shemminger/dpdk/kernel/freebsd/nic_uio/nic_uio.c:84:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] DRIVER_MODULE(nic_uio, pci, nic_uio_driver, nic_uio_devclass, nic_uio_modevent, 0); ^