You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried to cross build first unsuccessfully. I was obliged to add USER_EXTRA_CFLAGS with -Wno-error=attributes -Wno-error=address-of-packed-member -Wno-error=missing-attributes -Wno-error=restrict
in order to not block for each warning.
... In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_DIG.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_DynamicTxPower.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_PathDiv.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/PhyDM_Adaptivity.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_RaInfo.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_CfoTracking.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_DynamicBBPowerSaving.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_NoiseMonitor.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_PowerTracking.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_ACS.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_DynamicTxPower.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/rtl8812a/HalHWImg8812A_FW.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/PhyDM_Adaptivity.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/rtl8812a/HalHWImg8812A_MAC.o
The text was updated successfully, but these errors were encountered:
Hi,
I tried to cross build first unsuccessfully. I was obliged to add USER_EXTRA_CFLAGS with -Wno-error=attributes -Wno-error=address-of-packed-member -Wno-error=missing-attributes -Wno-error=restrict
in order to not block for each warning.
... In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_DIG.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_DynamicTxPower.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_PathDiv.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/PhyDM_Adaptivity.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_RaInfo.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_CfoTracking.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_DynamicBBPowerSaving.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_NoiseMonitor.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_PowerTracking.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/phydm_ACS.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_DynamicTxPower.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/rtl8812a/HalHWImg8812A_FW.o In file included from ./include/linux/kernel.h:11, from ./include/linux/list.h:8, from ./include/linux/preempt.h:10, from ./include/linux/spinlock.h:50, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service_linux.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/osdep_service.h:41, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/include/drv_types.h:32, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_types.h:211, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/phydm_precomp.h:24, from ../rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/hal/OUTSRC/PhyDM_Adaptivity.c:25: ./include/linux/log2.h:22:1: warning: ignoring attribute ‘noreturn’ because it conflicts with attribute ‘const’ [-Wattributes] 22 | int ____ilog2_NaN(void); | ^~~ CC [M] /install/armadeus-git/buildroot/output/build/rtl8821au-4235b0ec7d7220a6364586d8e25b1e8cb99c36f1/./hal/OUTSRC/rtl8812a/HalHWImg8812A_MAC.o
The text was updated successfully, but these errors were encountered: