From nobody Sun Dec 1 13:40:30 2024 X-Original-To: net@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 4Y1SjH67tgz5ffWh for ; Sun, 01 Dec 2024 13:40:35 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) 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 "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y1SjG6x0wz4fnt for ; Sun, 1 Dec 2024 13:40:34 +0000 (UTC) (envelope-from mike.jakubik@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20230601 header.b=gsfaaH+O; spf=pass (mx1.freebsd.org: domain of mike.jakubik@gmail.com designates 2607:f8b0:4864:20::f2d as permitted sender) smtp.mailfrom=mike.jakubik@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-qv1-xf2d.google.com with SMTP id 6a1803df08f44-6d89a727a19so6393916d6.0 for ; Sun, 01 Dec 2024 05:40:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1733060432; x=1733665232; darn=freebsd.org; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=rloY3JO2fcHtRumymXouTJc1Lt48VnOSW+oyfVf/Mhc=; b=gsfaaH+O2KSgDROfpLphNgy/RGLnk4edkmWiMyNSAquG4SIxPFCsaXzE4en27G+WNi 0lEG1KSNtX9TuWC7KqPlyZCXdi37rKNYhNgXyTghtuFklShqO8Tpf/AhwyPwuDcN5qVP B2f0zFJnvBlVKKfIowfkMFYEnGp6P1f8gyWXoQ2To2KN0HDjmIskrQDfArLhhSpeemYe Dqlf5GUfbzGhl6TGi6P90OMZxyLa7l2yJaaKmwSdm+KHJAJccLK+7t1K8tI3bSHu/kSv yoQ+7K2CDvpPOXUR7TCqezbgmwW7W3ZvDQYBwMITHPtaRSssarPe2DY73hWELA8nPkqd aqfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1733060432; x=1733665232; h=content-transfer-encoding:content-language:to:subject:from :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=rloY3JO2fcHtRumymXouTJc1Lt48VnOSW+oyfVf/Mhc=; b=CwaPvozKO17ZYWsxeXSqf+O/aUNlWo554em01w/LMoyP1e23xhAWGVmRIV90fHil6+ 3PTTeG9P56LnZrFF3RW6kQHyPEcy/54rOY4L+Shyi3sMtur9tQYj8ilFlYxA2gk+AP6W zIpRnPvMvAE9/3LJc2xEL2CGGzzUSE2tODHXmPrVnKv/Z+Tme6CpC9nrYcQoXVYLkTF0 oYUaE+eWWIo3qWazwBTr5FK7kdW5pIoC4UId4ATZAPfC2176AQ927OiaIGqln7Vkp174 +Miver9uCYBYqXF0jYegJcPz5RjXLM2RxoIHliBDTvsTjA6n9I564eZYM1kmZQqU7z/g pWTA== X-Gm-Message-State: AOJu0YxeJHY/W+jNp+JQudm9RmbhfPuWjSGzT0d3XeAkZC/ZxpVJV3fq +xwv1KvcPcb79AF6Eg53Xbx8ksgHeVWadnTuafex+ozfbPMa1nXfmSTeCw== X-Gm-Gg: ASbGncseM6pPTbe67LRsuzYQW1uIVB96F3Oztydwk+cHh9hh9nrm0gB1omCs3abkjTX 7gNqUPqKXxPLL2ToOhjpIC6Ii+Gkm+4Grq03SZa8SU3TkreukmPTRIP2F1G1QgCP5kYdQFETh6q vfdoE1PD04SDUNyLR9TfDldcmJrcP0ZwbMikv55cCeieega/GUWG45ddibOl8E4rWRW7naymHR0 0uF7CO3m6kcZxp0EN8gK+mqnQ1x80cMSBchvdbKsXPt2xgNkGSANN9Isha5pX3Fqx3DgXCmA0qM KErnWGDs8BAHMN97TJD200iNpt94YTSJqv5Nc1cd0ZM7isrKaXs= X-Google-Smtp-Source: AGHT+IF3AmM2ITWYV2gQFhFejyFNv1B8b4iEOw0QCP9YsPVES9LRjEHmL7weQ76itEFXsLAOreTfww== X-Received: by 2002:a05:6214:dc7:b0:6d8:88c2:af5f with SMTP id 6a1803df08f44-6d888c2b26amr195199806d6.1.1733060432404; Sun, 01 Dec 2024 05:40:32 -0800 (PST) Received: from [192.168.100.177] (pool-99-233-217-110.cpe.net.cable.rogers.com. [99.233.217.110]) by smtp.gmail.com with ESMTPSA id 6a1803df08f44-6d881c4d3fcsm29817746d6.28.2024.12.01.05.40.31 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 01 Dec 2024 05:40:32 -0800 (PST) Message-ID: Date: Sun, 1 Dec 2024 08:40:30 -0500 List-Id: Networking and TCP/IP with FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-net List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-net@FreeBSD.org MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Mike Jakubik Subject: FreeBSD Port: net/realtek-re-kmod To: net@freebsd.org Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spamd-Result: default: False [-2.20 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_SPAM_SHORT(0.79)[0.788]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20230601]; MIME_GOOD(-0.10)[text/plain]; XM_UA_NO_VERSION(0.01)[]; RCVD_TLS_LAST(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; ARC_NA(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; RCPT_COUNT_ONE(0.00)[1]; FREEMAIL_FROM(0.00)[gmail.com]; MIME_TRACE(0.00)[0:+]; TAGGED_FROM(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; TO_DN_NONE(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; FREEMAIL_ENVFROM(0.00)[gmail.com]; PREVIOUSLY_DELIVERED(0.00)[net@freebsd.org]; MID_RHS_MATCH_FROM(0.00)[]; MLMMJ_DEST(0.00)[net@freebsd.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::f2d:from] X-Rspamd-Queue-Id: 4Y1SjG6x0wz4fnt X-Spamd-Bar: -- Hello, Seems like it wont compile on recent current, noticed about  2 days ago and /usr/src/sys/sys/mbuf.h hasnt been touched it seems. 15.0-CURRENT FreeBSD 15.0-CURRENT #0 main-56043cbfdd: Thu Nov 21 20:30:44 EST 2024 [root@fbsd15 /usr/ports/net/realtek-re-kmod]# make MAKE_JOBS_UNSAFE=yes ===>  Building for realtek-re-kmod-1100.00_1 Warning: Object directory not changed from original /usr/ports/net/realtek-re-kmod/work/rtl_bsd_drv-ea4ed1e cc  -O2 -pipe -fno-strict-aliasing -DENABLE_INTERRUPT_MITIGATIN -Werror -D_KERNEL -DKLD_MODULE -nostdinc   -include /usr/ports/net/realtek-re-kmod/work/rtl_bsd_drv-ea4ed1e/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.if_re.o -MTif_re.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 -Wswitch -Wno-error=tautological-compare -Wno-error=empty-body -Wno-error=parentheses-equality -Wno-error=unused-function -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 if_re.c -o if_re.o if_re.c:1270:37: error: incomplete definition of type 'struct ifnet' 1270 |         sc->re_rx_desc_buf_sz = (ifp->if_mtu > ETHERMTU) ? ifp->if_mtu: ETHERMTU; |                                  ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:1270:63: error: incomplete definition of type 'struct ifnet' 1270 |         sc->re_rx_desc_buf_sz = (ifp->if_mtu > ETHERMTU) ? ifp->if_mtu: ETHERMTU; |                                                            ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:4562:60: error: incomplete definition of type 'struct ifnet' 4562 |                 printf("if_drv_flags\t0x%08x\n", sc->re_ifp->if_drv_flags); |                                                  ~~~~~~~~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:4622:43: error: call to undeclared function 'IF_LLADDR'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] 4622 |                 printf("dev_addr\t%6D\n", IF_LLADDR(sc->re_ifp), ":"); |                                           ^ if_re.c:4622:43: error: format specifies type 'void *' but the argument has type 'int' [-Werror,-Wformat] 4622 |                 printf("dev_addr\t%6D\n", IF_LLADDR(sc->re_ifp), ":"); |                                   ~~~     ^~~~~~~~~~~~~~~~~~~~~ if_re.c:4662:32: error: incomplete definition of type 'struct ifnet' 4662 |                 if ((sc->re_ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) { |                      ~~~~~~~~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5522:12: error: incomplete definition of type 'struct ifnet' 5522 |         ifp->if_softc = sc; |         ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5529:12: error: incomplete definition of type 'struct ifnet' 5529 |         ifp->if_mtu = ETHERMTU; |         ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5530:12: error: incomplete definition of type 'struct ifnet' 5530 |         ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST; |         ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5531:12: error: incomplete definition of type 'struct ifnet' 5531 |         ifp->if_ioctl = re_ioctl; |         ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5532:12: error: incomplete definition of type 'struct ifnet' 5532 |         ifp->if_output = ether_output; |         ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5533:12: error: incomplete definition of type 'struct ifnet' 5533 |         ifp->if_start = re_start; |         ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5538:20: error: incomplete definition of type 'struct ifnet' 5538 |                 ifp->if_hwassist |= CSUM_TCP | CSUM_UDP; |                 ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5540:20: error: incomplete definition of type 'struct ifnet' 5540 |                 ifp->if_hwassist |= RE_CSUM_FEATURES; |                 ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5541:12: error: incomplete definition of type 'struct ifnet' 5541 |         ifp->if_capabilities = IFCAP_HWCSUM | IFCAP_HWCSUM_IPV6; |         ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5544:20: error: incomplete definition of type 'struct ifnet' 5544 |                 ifp->if_hwassist |= CSUM_TSO; |                 ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5545:20: error: incomplete definition of type 'struct ifnet' 5545 |                 ifp->if_capabilities |= IFCAP_TSO; |                 ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5549:20: error: incomplete definition of type 'struct ifnet' 5549 |                 ifp->if_hwassist &= ~(CSUM_IP6_TSO | |                 ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ if_re.c:5552:20: error: incomplete definition of type 'struct ifnet' 5552 |                 ifp->if_capabilities &= ~(IFCAP_TSO6 | IFCAP_HWCSUM_IPV6); |                 ~~~^ /usr/src/sys/sys/mbuf.h:139:9: note: forward declaration of 'struct ifnet' 139 |         struct ifnet *ifp;              /* network interface tag belongs to */ |                ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. *** Error code 1 Stop. make: stopped making "all" in /usr/ports/net/realtek-re-kmod/work/rtl_bsd_drv-ea4ed1e *** Error code 1 Stop. make: stopped making "all" in /usr/ports/net/realtek-re-kmod [root@fbsd15 /usr/ports/net/realtek-re-kmod]#