Skip to contentSkip to conversation

package/rtl8723bu: bump to 2026-10-27 version

PATCH Applied Giulio Benetti 2 participants 8 messages Oct 27 – Nov 6

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 package/rtl8723bu: bump to 2026-10-27 version

This version allows to build up to Linux version 7.2 if -Wno-error is passed to USER_EXTRA_CFLAGS. This is done because starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").

---
V1->V2:
* rewritten commit log to describe the root cause of tweaking CFLAGS

---
 package/rtl8723bu/rtl8723bu.hash | 2 +-
 package/rtl8723bu/rtl8723bu.mk   | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)
package/rtl8723bu/rtl8723bu.hash +1 -1
index e230485226..4b2b71ddb2 100644
@@ -1,2 +1,2 @@
 # Locally computed
-sha256  22d81a21318cdae23ab6a65bed7c24d7cc98e7d1afef7a200804761c72036019  rtl8723bu-ac3d2f564bdf6816f1e3a3384524dc1a966f78a3.tar.gz
+sha256  eaebe07d38931408c8f5dedb3a8c61e251862e0b8859b899d193f9d5cb77d748  rtl8723bu-8292ef94965fb61d3052ff2bf068fcd830e665c1.tar.gz
package/rtl8723bu/rtl8723bu.mk +3 -2
index f1c4eda4ed..4175d02d52 100644
@@ -4,13 +4,14 @@
 #
 ################################################################################
 
-RTL8723BU_VERSION = ac3d2f564bdf6816f1e3a3384524dc1a966f78a3
+RTL8723BU_VERSION = 8292ef94965fb61d3052ff2bf068fcd830e665c1
 RTL8723BU_SITE = $(call github,benetti-engineering,rtl8723bu,$(RTL8723BU_VERSION))
 RTL8723BU_LICENSE = GPL-2.0, proprietary (*.bin firmware blobs)
 
 RTL8723BU_MODULE_MAKE_OPTS = \
 	KVER=$(LINUX_VERSION_PROBED) \
-	KSRC=$(LINUX_DIR)
+	KSRC=$(LINUX_DIR) \
+	USER_EXTRA_CFLAGS="-Wno-error"
 
 define RTL8723BU_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 1/1 package/rtl8188eu: fix build failure using gcc >= 14

Starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").
So let's workaround this by passing -Wno-error to USER_EXTRA_CFLAGS.

---
V1->V2:
* rewritten commit log as pointed by Thomas Petazzoni

---
 package/rtl8188eu/rtl8188eu.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
package/rtl8188eu/rtl8188eu.mk +5 -1
index 5f378e0b6e..6ce398933a 100644
@@ -8,7 +8,11 @@ RTL8188EU_VERSION = cca7c28087db740d7d745e81e4096c9eb9084f9a
 RTL8188EU_SITE = $(call github,benetti-engineering,rtl8188eu,$(RTL8188EU_VERSION))
 RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob)
 RTL8188EU_LICENSE_FILES = COPYING
-RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
+
+RTL8188EU_EXTRA_CFLAGS = -Wno-error
+
+RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m \
+			     USER_EXTRA_CFLAGS="$(RTL8188EU_EXTRA_CFLAGS)"
 
 define RTL8188EU_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_NET)
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v2] package/rtl8188eu: fix build failure using gcc >= 14

Quoted 8 lines · Giulio Benetti

Starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").
So let's workaround this by passing -Wno-error to USER_EXTRA_CFLAGS.

Applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH v2] package/rtl8188eu: fix build failure using gcc >= 14

In reply to Giulio Benetti

In reply of:

Quoted 8 lines

Starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").
So let's workaround this by passing -Wno-error to USER_EXTRA_CFLAGS.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 14 lines

---
V1->V2:
* rewritten commit log as pointed by Thomas Petazzoni

---
 package/rtl8188eu/rtl8188eu.mk | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
package/rtl8188eu/rtl8188eu.mk +0 -0
index 5f378e0b6e..6ce398933a 100644
@@ -8,7 +8,11 @@ RTL8188EU_VERSION = cca7c28087db740d7d745e81e4096c9eb9084f9a
 RTL8188EU_SITE = $(call github,benetti-engineering,rtl8188eu,$(RTL8188EU_VERSION))
 RTL8188EU_LICENSE = GPL-2.0, proprietary (rtl8188eufw.bin firmware blob)

package/rtl8188eu/rtl8188eu.mk RTL8188EU_VERSION = cca7c28087db740d7d745e81e4096c9eb9084f9a · line 18

Quoted 10 lines
package/rtl8188eu/rtl8188eu.mk +5 -1
 RTL8188EU_LICENSE_FILES = COPYING
-RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m
+
+RTL8188EU_EXTRA_CFLAGS = -Wno-error
+
+RTL8188EU_MODULE_MAKE_OPTS = CONFIG_RTL8188EU=m \
+			     USER_EXTRA_CFLAGS="$(RTL8188EU_EXTRA_CFLAGS)"
 
 define RTL8188EU_LINUX_CONFIG_FIXUPS
 	$(call KCONFIG_ENABLE_OPT,CONFIG_NET)

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#4 lore raw

PATCH v2 1/1 package/rtl8812au-aircrack-ng: fix build failure using gcc >= 14

In reply to Giulio Benetti

Starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").
So let's workaround this by passing -Wno-error to USER_EXTRA_CFLAGS.

---
V1->v2:
* rewritten commit log as pointed by Thomas Petazzoni

---
 package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk +1 -3
index 7981a382b1..f8c62608ef 100644
@@ -13,9 +13,7 @@ RTL8812AU_AIRCRACK_NG_EXTRA_CFLAGS = \
 	-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
 	-DCONFIG_IOCTL_CFG80211 \
 	-DRTW_USE_CFG80211_STA_EVENT \
-	-Wno-error=address \
-	-Wno-error=array-bounds \
-	-Wno-error=cast-function-type
+	-Wno-error
 
 RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \
 	CONFIG_PLATFORM_I386_PC=n \
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw

Re: [Buildroot] [PATCH v2] package/rtl8812au-aircrack-ng: fix build failure using gcc >= 14

Quoted 8 lines · Giulio Benetti

Starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").
So let's workaround this by passing -Wno-error to USER_EXTRA_CFLAGS.

Applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#6 lore raw

Re: [Buildroot] [PATCH v2] package/rtl8812au-aircrack-ng: fix build failure using gcc >= 14

In reply to Giulio Benetti

In reply of:

Quoted 8 lines

Starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").
So let's workaround this by passing -Wno-error to USER_EXTRA_CFLAGS.

Applied to 2025.02.x, 2026.08.x. Thanks

Quoted 12 lines

---
V1->v2:
* rewritten commit log as pointed by Thomas Petazzoni

---
 package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk +0 -0
index 7981a382b1..f8c62608ef 100644

package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk RTL8812AU_AIRCRACK_NG_EXTRA_CFLAGS = \ · line 19

Quoted 10 lines
package/rtl8812au-aircrack-ng/rtl8812au-aircrack-ng.mk +1 -3
@@ -13,9 +13,7 @@ RTL8812AU_AIRCRACK_NG_EXTRA_CFLAGS = \
 	-DCONFIG_$(call qstrip,$(BR2_ENDIAN))_ENDIAN \
 	-DCONFIG_IOCTL_CFG80211 \
 	-DRTW_USE_CFG80211_STA_EVENT \
-	-Wno-error=address \
-	-Wno-error=array-bounds \
-	-Wno-error=cast-function-type
+	-Wno-error
 
 RTL8812AU_AIRCRACK_NG_MODULE_MAKE_OPTS = \
 	CONFIG_PLATFORM_I386_PC=n \

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#7 lore raw
In reply to Giulio Benetti
Quoted 9 lines · Giulio Benetti

This version allows to build up to Linux version 7.2 if -Wno-error is passed to USER_EXTRA_CFLAGS. This is done because starting with gcc 14, several C diagnostics which were previously warnings are errors by default. In particular, -Wincompatible-pointer-types was changed to a permanent error by GCC commit:
r14-6037-g9715c545d33b3a32ddc1ae817ba9356ade1fb9df
("c: Turn -Wincompatible-pointer-types into a permerror").

Applied to master, thanks!

Best regards,

Thomas Petazzoni

Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot