From nobody Mon Feb 27 21:14:48 2023 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PQYDC5QHCz3t8vx for ; Mon, 27 Feb 2023 21:14:51 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com [IPv6:2607:f8b0:4864:20::f2d]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PQYDB3tSFz3FHB for ; Mon, 27 Feb 2023 21:14:50 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=hardenedbsd.org header.s=google header.b=AQCCADGY; spf=pass (mx1.freebsd.org: domain of shawn.webb@hardenedbsd.org designates 2607:f8b0:4864:20::f2d as permitted sender) smtp.mailfrom=shawn.webb@hardenedbsd.org; dmarc=none Received: by mail-qv1-xf2d.google.com with SMTP id f1so5411976qvx.13 for ; Mon, 27 Feb 2023 13:14:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hardenedbsd.org; s=google; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=/H+nvkWpEFo2wqXMpwts909OnWWfA84p1rWJqLiRBEk=; b=AQCCADGYk74bFWPcGz2nGboPXdPxBjYFQNOWwoKqsM9Yl/o2XUjU211XQyp467jZ8P s39OCaiKt9L2i1KGLNQKDnX3cwf6p4UiKD2D2nKUV882wWG+XZ+zined5nFo42aztkP+ r/vfa/x2pRKIeN2a28767e3I6nKmkS9uQUHjD1/CJREglnZuNGpCppfs+Ska2dUd+5f8 yFbEEHYP+AUiuK9gRo+k6kcc9MKc+qCv9Q+lCBtagIbWV+EBfhmkyvGJBbNwZt5fOHAx rmNuvDgPFczWr/E0MS7IXCMcjUGXw1KurRhuSlfUr3o0B5bkh2Z6u5SXUmJHa8CiLBP7 sx0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=/H+nvkWpEFo2wqXMpwts909OnWWfA84p1rWJqLiRBEk=; b=ZZXM9KT9g62vWLnHe6VW1Mh9mzwM251cfjMgI3/ZJ7EI26FqAIOrep8OH85I8xxOZl 5vCDFPD15D7wZxXVxojMyrbS7WHsm8vm4EDqpSVdLprg1FjdCYk106HOxLJxxiYyVBsM 5XTRCd8fTH4b3sX8tqXkKnwpenYLWtpih3iie8P6UQxbgFzVaRscINDG29vreGtZ2gqM 4fiz51WrcnG4nuMn5+dWFByKRiyNadfmfuP9kgQ3ImK8U6CDWKdtTo4ASqfseFSopOqC 6Ne1WQI0eCF8tBepCqlXwMHGsjdP1KzXJwnfb5/dy20dogOgrIeQdSuDuoHMiqlTYM+s BqLA== X-Gm-Message-State: AO0yUKXjNL9BJfOZwqgAll7Z0jkmn/P5eONkagKsh9OpPu0SyWxqIAfi PzG3eobNYNIoXAWPRef4t9NrGA== X-Google-Smtp-Source: AK7set/zeTEZFmh7tmrLfHSN/ei5FYtkXmxaK/Ah4tTds8sMWmOlcY722rQGwpUIdJu/QlvkBtrWsQ== X-Received: by 2002:a05:6214:238e:b0:56e:9551:196a with SMTP id fw14-20020a056214238e00b0056e9551196amr1680978qvb.1.1677532489671; Mon, 27 Feb 2023 13:14:49 -0800 (PST) Received: from mutt-hbsd (pool-100-16-219-215.bltmmd.fios.verizon.net. [100.16.219.215]) by smtp.gmail.com with ESMTPSA id t136-20020a37aa8e000000b0073b967b9b35sm5575261qke.106.2023.02.27.13.14.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 13:14:49 -0800 (PST) Date: Mon, 27 Feb 2023 16:14:48 -0500 From: Shawn Webb To: Dimitry Andric Cc: FreeBSD User , FreeBSD CURRENT Subject: Re: NanoBSD: CURRENT unable to compile 13-STABLE : error: a function definition without a prototype is deprecated ... in C Message-ID: <20230227211448.r3gzkgzjfnbkg6zl@mutt-hbsd> X-Operating-System: FreeBSD mutt-hbsd 14.0-CURRENT-HBSD FreeBSD 14.0-CURRENT-HBSD X-PGP-Key: https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/blob/master/Shawn_Webb/03A4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc References: <20230227192011.08f7aa8e@thor.intern.walstatt.dynvpn.de> <20230227204041.oage2knrjb4o3dr6@mutt-hbsd> List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="fmet3ezoquqnjfyk" Content-Disposition: inline In-Reply-To: <20230227204041.oage2knrjb4o3dr6@mutt-hbsd> X-Spamd-Result: default: False [-5.10 / 15.00]; SIGNED_PGP(-2.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; MID_RHS_NOT_FQDN(0.50)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[hardenedbsd.org:s=google]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2d:from]; MIME_TRACE(0.00)[0:+,1:+,2:~]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[hardenedbsd.org:+]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; ARC_NA(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; DMARC_NA(0.00)[hardenedbsd.org]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; RCVD_VIA_SMTP_AUTH(0.00)[] X-Rspamd-Queue-Id: 4PQYDB3tSFz3FHB X-Spamd-Bar: ----- X-ThisMailContainsUnwantedMimeParts: N --fmet3ezoquqnjfyk Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Feb 27, 2023 at 03:40:41PM -0500, Shawn Webb wrote: > On Mon, Feb 27, 2023 at 08:57:19PM +0100, Dimitry Andric wrote: > > On 27 Feb 2023, at 19:19, FreeBSD User wrote: > > >=20 > > > Running recent CURRENT as host (FreeBSD 14.0-CURRENT #23 main-n261147= -b8bb73ab724b: Sun Feb 26 > > > 17:39:38 CET 2023 amd64), and nanoBSD (recent 13-STABLE, git stable/1= 3). > > >=20 > > > Building an appliance based on 13-STABLE sources, a customized kernel= via nanoBSD, since a > > > couple of weeks for now building the sources fails in kernel sources: > > >=20 > > > [...] > > > --- modules-all --- > > > --- all_subdir_an --- > > > /pool/home/ohartmann/Projects/router/router/apu2c4/src/sys/dev/an/if_= an_pci.c:143:1: error: a > > > function definition without a prototype is deprecated in all versions= of C and is not > > > supported in C2x [-Werror,-Wdeprecated-non-prototype] > > > [..] > > >=20 > > > Disabling all wireless options in the kernel config starts dropping e= rrors of a similar kind > > > on other kernel places. > > >=20 > > > Compiling on FBSD 13-STABLE seems to be all right. > > >=20 > > > Can this be fixed. please? What causes the error and how can this be = resolved if the subtree > > > of FreeBSD's sources is a submodule? > >=20 > > Not sure what you mean with "subtree is a submodule", but this is likely > > caused by skipping the cross-tools stage somehow. Do you have any > > specific make.conf or src.conf settings for that? >=20 > FWIW, HardenedBSD is also impacted by this. We set > WITH_SYSTEM_COMPILER and WITH_SYSTEM_LINKER by default, which I think > might be a contributing factor. The reason for not hitting the error in that particular file in 14-CURRENT is because the an(4) driver was removed by FreeBSD in commit 663b174b5b5387948bfa94131a08f6259d2926cc from 07 June 2021. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --fmet3ezoquqnjfyk Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmP9HUEACgkQ/y5nonf4 4fqleg//eymw23K4bHTkeIt4U7MowTXxP4y9n9XijfHtOnQyDfoGU2snTL4tCUGR Go6G7PMZHbw25CWPv97z038m8srJ9CHO2zUUgs6Sf/KLoLrhubAUhGmtG1RSgBWp a+VIXqQlnsDgFqr1E+FD+vBQVZMuqCDrGS1mxhYHRbul7v2YGAR2j9YTl3jDACFY FwUblea8COrL/HNH82jIj6mSOIkL5dWxmVMcRwwIQor0iTry8rhtyB1yNtwQIM5r JHXh/Y8IHqREUh/zmF93h+cjB+SPFPFzSVKdIwTEkSDQkNgVQBptx7waxCCtM3hD hMrrDzVX1kVmP9JsF4K/LnAqsHUfjJCiNrkt/JQVEZGe28Z2e9YIJ4MVaQjOn3mr df8+wf9qClgxCAW1hjNlJUSGe06TcsnScQHLHE9kKGXIPFb+bC7XLzpgmePB+ElH VrJqMg/2dGhr17Au25u34U0K8SjFfmNmZgORmko3qJLC/A1cIWUAA9K2HYVuYTDw e9ETdEfC+egI1xrivUAsk49jufRuUZqcIgq5vwsKqSnNgGL5P9SKR0Zjl23EYDrD iRaNofBJ6lQMnwm9Nt/uD6pIbobBKDLvsNTFXtJKmpA8ayK/SKIUab9Z5yzggHF5 +R200yqGjOS8BYiVcwkgLinrB61TZrdQYVcf/MfTTHmKwsDGh88= =gkyB -----END PGP SIGNATURE----- --fmet3ezoquqnjfyk--