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 B1BFE438F1; Thu, 18 Jan 2024 10:35:29 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A15AF402B0; Thu, 18 Jan 2024 10:35:29 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.12]) by mails.dpdk.org (Postfix) with ESMTP id D6E5D400D7 for ; Thu, 18 Jan 2024 10:35:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705570528; x=1737106528; h=date:from:to:cc:subject:message-id:references: content-transfer-encoding:in-reply-to:mime-version; bh=1co56yskXLN5ETltKaDD9VrJLF+ATsTRsaDmiB/QLOQ=; b=W6TRrvUPKpcz19d1vDf7CwhtMHTTm0EKyZcD6adgz2g9Se/MyYHJhTvP eR+ZZREZFXLTNZQINi3cXGThXN7CEA/pMHiGCgiInRUlwoE1PgDJkv626 w1BtSb+EpWGUyLff4uOaEekNgOuiURLLDEZM77cQqQ25IfhEgM+hirBKN xz4nj0F1pjYgwX2jZGoGuM3+pD/oPwcXzwld72CioLY9rWHIxav2MkG8z jn5N3CmYKQOfbWahWm6XCvpQYA0eI2PFuwE+JIkKneCMaK6KuNb3/G7IS QzAQCpZ9/gpDzY2dXW5SV7A3b4BgGoCBrxP/OSGj0gwjMIN1zZfgqHvr/ w==; X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="289443" X-IronPort-AV: E=Sophos;i="6.05,201,1701158400"; d="scan'208";a="289443" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmvoesa106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2024 01:35:26 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10956"; a="784756265" X-IronPort-AV: E=Sophos;i="6.05,201,1701158400"; d="scan'208";a="784756265" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by orsmga002.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 18 Jan 2024 01:35:25 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 18 Jan 2024 01:35:25 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Thu, 18 Jan 2024 01:35:24 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35 via Frontend Transport; Thu, 18 Jan 2024 01:35:24 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Thu, 18 Jan 2024 01:35:23 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bztv8RCkj/k9b/YmtMWKgMVdegkSjFX8YYRY+8Z++aYJiee00UJ5RfbnSHcLkzpw2ku6y4eyyb5OLIoFDoBS05NjTdK9mH2yYllCgS/OJ4E2j2QaAppIVCYMjnuLSPBgPSK1uxi+oU8/2P9047z89fk86gDqtSPplM0nQh5eB0pJ58GnVKTcPGBdL4rnOGOu48Af1W0gIl6R3g5pKM45cySLM4g+a2qt4YE3UxXLTjfK7aTYms2SGSUSz7c73+NSUSH9fKGeM5kdi8Mzec2Ku9+x4QMH6UjWUJGMerP0ZG5wSvV3C+KZM48p1ogOL8u6XNDD5sum4aEe1US/KVvN+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PENBwSqmtCxkKYUy9+U5O3VUuOb1XxBlHHtU+AeGySI=; b=dy8uhGXjPiqxq8uAPkpw6QJ15wEFXvI6vFbm7UQL6V31lGlj7JhPC9kjlKgCQ2eIz0TLCT0GaTIaYfijUZU6lKnOGIwtDuj5gTibr+hi3eZ6wtSPHp5iP7bQgI2uO59nZOKtlO5uU2rEM9on0nIGLYNT6v8A+N7AV+qhp83fjzwI2jjQh0CuQwQ8WJASEQIeeOVuBy9isu6sun3EjMb8qAXU/zqbZVJHyRbiwoZFIU1bWh5msVMmJ7FFQIK+PBa6qwwR7k2X7/k2vg4hL3OJVSZlQvB76FIKb5UFpR9Y8jy4Jyc8AIEIFt7mc5ZWykngTijwA8yegfNqm/tjaZ4DZQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) by PH7PR11MB6956.namprd11.prod.outlook.com (2603:10b6:510:207::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7202.24; Thu, 18 Jan 2024 09:35:20 +0000 Received: from DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::df88:b743:97f8:516c]) by DS0PR11MB7309.namprd11.prod.outlook.com ([fe80::df88:b743:97f8:516c%5]) with mapi id 15.20.7181.029; Thu, 18 Jan 2024 09:35:20 +0000 Date: Thu, 18 Jan 2024 09:35:16 +0000 From: Bruce Richardson To: Stephen Hemminger CC: Subject: Re: FreeBSD 14.0 build failure Message-ID: References: <20240117182811.485e8be7@hermes.local> Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable In-Reply-To: <20240117182811.485e8be7@hermes.local> X-ClientProxiedBy: DU2PR04CA0029.eurprd04.prod.outlook.com (2603:10a6:10:3b::34) To DS0PR11MB7309.namprd11.prod.outlook.com (2603:10b6:8:13e::17) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS0PR11MB7309:EE_|PH7PR11MB6956:EE_ X-MS-Office365-Filtering-Correlation-Id: 97975775-5294-4ae2-dd6f-08dc1808c9f1 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: OIgkhR6B82H0UeUsIU70ouW9PdvuaFMEvCVu/XAJlsg79UqZLJz/g5TWT98133akooFXqUKHI5vUF4k0wr9/Ea9PWbJf9NjyC/5615Co2WNuPqrmbZdMLrTY3J3Us8frQ7zfT05rf8I1JA2ACViwBtxu9+n/etT+oFgXvovH2vJjnNo35938J1cFh5kkzvLhGO+pxju6qPrDaOlpCdlW0gtEYLAc2R4eiyvwmQgntA7alKZEJN0Mw4hNgVSMFCF8aw93GaNuAbRBa6FpTYsq6he/NTzE4wRTKq2LgPmwLCFn17a6OXBUkusU7OYXWr90ML1sqMCqygqu427npkopEDpY2AdJFaXhKytyK6FKhi+M0OITPvFqWPCdm38SXAE2Kf0TZ4JkSMoC697uCUDQeIuIwfH91gIXim6PWOudQps1/wF++u2+gseCgdj6+F0/hXL3TsFKe0O/6m/ItvOa1PpuIZfeP5laGH1KMG8ZbKXTMbxnHdONjDh8bw8cgGzEMAuRUOwToN1a5Br+oLcQlQAzPCNd1N4p7g8CTBZ7o/Y= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DS0PR11MB7309.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(136003)(396003)(346002)(376002)(39860400002)(366004)(230922051799003)(451199024)(1800799012)(64100799003)(186009)(6506007)(26005)(966005)(6486002)(44832011)(5660300002)(478600001)(6666004)(6512007)(66946007)(316002)(66476007)(66556008)(6916009)(4326008)(8676002)(8936002)(7116003)(41300700001)(2906002)(86362001)(82960400001)(38100700002); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?N/rF5tRrihr/wJbCuQjqNYi/kakzoxKcuYLNEQFV4XBU8vpUEdqqu72N+KK9?= =?us-ascii?Q?wTxJDT+cnOjNRIGonfrnku8CY23YYLVY/xzntTWMo2Y93tP4vksNpiOqLYHO?= =?us-ascii?Q?KcFumwZTcKqPKhPv5Hb1UHyBnHsP9GXTqBkZqQP7HrPTKagtP4lFKTHAj39B?= =?us-ascii?Q?TB7oKwHUUlncgUEWGYMReAbM5gxbKa5NH3QSkntLETMSgUYMHmYM/nT8q8M7?= =?us-ascii?Q?m42I3v8T5IKo7gjxn6jXFjtFelKlyPgNiqsg3NkoyZ0e3gxAdPD7Y5lGF5q1?= =?us-ascii?Q?2cp5hfiIj0qLugGDWo5teEyqc4RYbpotqH9Jc9aTcJPvo4H/HdYEQE37+ALK?= =?us-ascii?Q?1wz/w4XEHO6et6jCXSBraUC7bxw9CthpVHeb358ODKXEjj6ymYvr2ohD9fRE?= =?us-ascii?Q?ZFv73DUTT6V0ztagh4zVtGTvWj3R2PSLjCxprQl/1vB8dPzYhlf4vMISXkn5?= =?us-ascii?Q?SF9gLTSaZE5FH/XQxQJMYnDhCwcOBeBeGK9IUnhJ3LSoy3CWrADicvAiItFk?= =?us-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XjdjH1ZPTnUGxhJ?= =?us-ascii?Q?ZUGbWmhAXUTAcRVFGFL+Hb+P1fFRhT0rTKfncASrlvIQdlb2aQUA98HqBSYV?= =?us-ascii?Q?aRy6H0BrvcR4zuralbMOzi5NxVrvMUaafnNpj3kgAWfCV20bs6fLsnpt+Zio?= =?us-ascii?Q?9BHFJL3GqEtYFTxOtevN78JnMRe5cFtpeXg/TXfo9d4DxJ6fS5wgvpu1/7xx?= =?us-ascii?Q?HQ=3D=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 97975775-5294-4ae2-dd6f-08dc1808c9f1 X-MS-Exchange-CrossTenant-AuthSource: DS0PR11MB7309.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2024 09:35:20.8445 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: EQd/32J+8b0TKTJE9lpaspo0fjD1dcejF5+7JPoTYnuhWabkAromF0LYkDk+LLRyIGK2hGO4PnX2UGBoOXd9caLSpLs8ca+JPOO/ylZk6t4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB6956 X-OriginatorOrg: intel.com 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 Wed, Jan 17, 2024 at 06:28:11PM -0800, Stephen Hemminger wrote: > DPDK will not build on FreeBSD 14.0 >=20 > [2/2] Generating kernel/freebsd/nic_uio with a custom command > FAILED: kernel/freebsd/nic_uio.ko=20 > /usr/bin/make -f ../kernel/freebsd/BSDmakefile.meson KMOD_OBJDIR=3Dkernel= /freebsd KMOD_SRC=3D../kernel/freebsd/nic_uio/nic_uio.c KMOD=3Dnic_uio 'KMO= D_CFLAGS=3D-I/home/shemminger/dpdk/build -I/home/shemminger/dpdk/config -in= clude rte_config.h' CC=3Dclang > clang -O2 -pipe -include rte_config.h -fno-strict-aliasing -Werror -D_K= ERNEL -DKLD_MODULE -nostdinc -I/home/shemminger/dpdk/build -I/home/shemmin= ger/dpdk/config -include /home/shemminger/dpdk/build/kernel/freebsd/opt_glo= bal.h -I. -I/usr/src/sys -I/usr/src/sys/contrib/ck/include -fno-common -fn= o-omit-frame-pointer -mno-omit-leaf-frame-pointer -fdebug-prefix-map=3D./ma= chine=3D/usr/src/sys/amd64/include -fdebug-prefix-map=3D./x86=3D/usr/src/sy= s/x86/include -fdebug-prefix-map=3D./i386=3D/usr/src/sys/i386/include -= MD -MF.depend.nic_uio.o -MTnic_uio.o -mcmodel=3Dkernel -mno-red-zone -mno-= mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -= fwrapv -fstack-protector -Wall -Wstrict-prototypes -Wmissing-prototypes -Wp= ointer-arith -Wcast-qual -Wundef -Wno-pointer-sign -D__printf__=3D__freebsd= _kprintf__ -Wmissing-include-dirs -fdiagnostics-show-option -Wno-unknown-pr= agmas -Wno-error=3Dtautological-compare -Wno-error=3Dempty-body -Wno-error= =3Dparentheses-equality -Wno-error=3Dunused-function -Wno-error=3Dpointer-s= ign -Wno-error=3Dshift-negative-value -Wno-address-of-packed-member -Wno-fo= rmat-zero-length -mno-aes -mno-avx -std=3Dgnu99 -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_mod= event, 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 impl= icit int [-Werror,-Wimplicit-int] > DRIVER_MODULE(nic_uio, pci, nic_uio_driver, nic_uio_devclass, nic_uio_mod= event, 0); > ^ Yes. I've sent out a patch last month for this: https://patches.dpdk.org/project/dpdk/patch/20231219112959.10440-1-bruce.ri= chardson@intel.com/ /Bruce