From nobody Mon Feb 27 20:40:41 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 4PQXSr6LZQz3t6g3 for ; Mon, 27 Feb 2023 20:40:44 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) (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 4PQXSr1FN0z4Mj5 for ; Mon, 27 Feb 2023 20:40:44 +0000 (UTC) (envelope-from shawn.webb@hardenedbsd.org) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-x82a.google.com with SMTP id l13so8238124qtv.3 for ; Mon, 27 Feb 2023 12:40:44 -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=aq5os5k0XNxVma/22C6l0DnVHiJEr1XKvMVLk980Z1A=; b=feYTZTrOr2Nf4ACWmQkt74sB5/S87hS+ok1Z9Y9oQBPyS00XhqsOfugXovEnjX+zGg /SzJ7ugAcv/2Y/IazEVVRKLULCRCnhFydk5E70eylaGHodzXw1qDr4yuEwmNzwA1MszD RioWQoSAuqJGUqo88HM04SnLUPvlKslplG0IDPL7rSe1IHJhOwd1xpGzOldovA/I1BXo zQNoR+apNFqaZDdGh2YtwCsavciEms/owiVLIYmPgtOBibVQjRsHQRLsHsL3DEF59Hc+ iZfLZ9g0yKG5h6KTkjIArQslpQ3DlFl1sJqYPAhKu3Him8yP4cRYmgiD7f0b6Men4L/M SGQw== 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=aq5os5k0XNxVma/22C6l0DnVHiJEr1XKvMVLk980Z1A=; b=HZ7WQVU871yFsVPndKaNib5+Tqm2m7PZceuUVWeul/LeK8+/E8EFQefivjI7CjDdyK AU+qWN2y7qoi1U1BnIusVBWyk87fMUFHu2WYygcLa7TDpFIhdHRZ6ddl7zTdohFHgQD5 rckO7PNS1qCaYttDomUHmjvE8QlScavnOBsHBoUI3SmRhA29pFLOrpnUvU8N/WoTMCe9 vjqJwla0i/8k9RU6a+tBM/kH8pToVNEEJ9H/RfnZ5a1uBxVggYde+EjIERmH5fmeTD17 FfsF/qigJLqNBx0RhV6vegv86VKFQdkBLjXsQswNhPCieHebmF2qw7VYEqMJsww/MUyI igwg== X-Gm-Message-State: AO0yUKWy66xqLGmskNbHK/bHfP746KpwDaYXAESQyMu+EG/gr8j9w32H YB/Nv0/rgshIGNsOIpxzNoE1Yg== X-Google-Smtp-Source: AK7set9D2w33kFTmKIjf1U6MecXWkDFQc7hkosM/Xu9Ku2X0piMLMeIhNetf6M/toSib43pI3kAJsg== X-Received: by 2002:ac8:5784:0:b0:3b9:cc9b:1d9d with SMTP id v4-20020ac85784000000b003b9cc9b1d9dmr1715773qta.20.1677530443062; Mon, 27 Feb 2023 12:40:43 -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 j13-20020ac8664d000000b003b82489d8acsm5221357qtp.21.2023.02.27.12.40.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Feb 2023 12:40:42 -0800 (PST) Date: Mon, 27 Feb 2023 15:40:41 -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: <20230227204041.oage2knrjb4o3dr6@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> 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="wsxbnssms6o73xzn" Content-Disposition: inline In-Reply-To: X-Rspamd-Queue-Id: 4PQXSr1FN0z4Mj5 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-ThisMailContainsUnwantedMimeParts: N --wsxbnssms6o73xzn Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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-b= 8bb73ab724b: Sun Feb 26 > > 17:39:38 CET 2023 amd64), and nanoBSD (recent 13-STABLE, git stable/13). > >=20 > > Building an appliance based on 13-STABLE sources, a customized kernel v= ia 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 o= f C and is not > > supported in C2x [-Werror,-Wdeprecated-non-prototype] > > [..] > >=20 > > Disabling all wireless options in the kernel config starts dropping err= ors 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 re= solved 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? 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. Thanks, --=20 Shawn Webb Cofounder / Security Engineer HardenedBSD https://git.hardenedbsd.org/hardenedbsd/pubkeys/-/raw/master/Shawn_Webb/03A= 4CBEBB82EA5A67D9F3853FF2E67A277F8E1FA.pub.asc --wsxbnssms6o73xzn Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEA6TL67gupaZ9nzhT/y5nonf44foFAmP9FUMACgkQ/y5nonf4 4fqZAQ//eA6tcY7a3S/j5E1l5scDHf/L5IU6MWlb7kTKmugEqc2N4yyi9BcLZdcR Ou+RkliRQZkbtrEMok4vl/6lTxL7Mn4Qe9DQgfqex1iUZzM+bXnw+ClawcMFFQYJ rcTEFx33zS//wpE6Tc+khHe23FJ1MYtSvyOYP+zC5/0yGzj4iBxH0NgRcn2oU59u mU5yZhvh7h+linaoc3F4yeC7f9gLIH802RI+dYsTJLRojKK3Wox0M2AZPeyR0kkc C9u/CRI+/+Zz/PWOJ4a+/cFYnIQD0dHaxHeNeNy3+fqPY23re0BrUZCPOs5YBgok uCkwnizGFXvdEuHpnfQO23+rn3zOgggwYONwNRlJdjy4XiCVlPh1oP4Y1YOH1Blj tJPF04gF3xBjs/N/Ao4XLOD7twQuHOLAnvbQAng3PAUGRfepCn3NRNz11r/F6SXs PyX7W/0Wr2M0IT5Obx70FTuMyeDarh1VnejrItOe2VtweDa3suHDbACgCEZ8YM6/ B3wpGZ7z1xZdHDk3u12BrRREOWPz51JQjvv9foqKv7NRZwL4nr1YEZD5o2JZ6dMs B0WpzO+I6WsLV7Seqzp1ZL8DiG//4F/qX6s5zUZz9YE1M5D4dsGoux27LFpwb/+e Q1gsXrEh1ujBbOWYiRMux5uwm0yOw5tRNN9fIv1K8FlhmuuXhDo= =vYX2 -----END PGP SIGNATURE----- --wsxbnssms6o73xzn--