Build of rt3562sta with clang_glibc toolchain

The build took 00h 01m 47s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
85,402 ansic
462 makefile
85,864 total

The process tree of the build process is here.

Several sub-process invocations were improper; see the process tree for details. Summary:

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

Copied permanent toolchain into container-local sysroot
# /toolchain_root/sysroot --> /sysroot/sysroot
# /toolchain_root/lib --> /sysroot/lib
# /toolchain_root/sbin --> /sysroot/sbin
# /toolchain_root/lib64 --> /sysroot/lib64
# /toolchain_root/etc --> /sysroot/etc
# /toolchain_root/share --> /sysroot/share
# /toolchain_root/bin --> /sysroot/bin
# /toolchain_root/var --> /sysroot/var
# /toolchain_root/usr --> /sysroot/usr
# /toolchain_root/glibc-build --> /sysroot/glibc-build
# /toolchain_root/x86_64-pc-linux-gnu --> /sysroot/x86_64-pc-linux-gnu
# /toolchain_root/include --> /sysroot/include
# /toolchain_root/libexec --> /sysroot/libexec

CMD: sudo -u tuscan PATH=/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin CC=clang CXX=clang++ red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: rt3562sta 2.4.1.1_r3-12 (Thu Apr 13 16:07:04 UTC 2017)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# make -C tools
# make[1]: Entering directory '/tmp/rt3562sta/src/rt3562sta-linux-r3/tools'
# gcc -g bin2h.c -o bin2h
# make[1]: Leaving directory '/tmp/rt3562sta/src/rt3562sta-linux-r3/tools'
# /tmp/rt3562sta/src/rt3562sta-linux-r3/tools/bin2h
# cp -f os/linux/Makefile.6 /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/Makefile
# make -C /usr/lib/modules/4.6.3-1-ARCH/build SUBDIRS=/tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux modules
# make[1]: Entering directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_md5.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_sha2.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_hmac.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_aes.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_arc4.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/mlme.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wep.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/action.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/action.c:421:13: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((j == idx))
# ~~^~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/action.c:421:13: note: remove extraneous parentheses around the comparison to silence this warning
# if ((j == idx))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/action.c:421:13: note: use '=' to turn this equality comparison into an assignment
# if ((j == idx))
# ^~
# =
# 1 warning generated.
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_data.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rtmp_init.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_tkip.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_aes.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_sync.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/eeprom.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_sanity.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:1629:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((pHTPhyMode->ExtOffset == EXTCHA_BELOW))
# ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:1629:30: note: remove extraneous parentheses around the comparison to silence this warning
# if ((pHTPhyMode->ExtOffset == EXTCHA_BELOW))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:1629:30: note: use '=' to turn this equality comparison into an assignment
# if ((pHTPhyMode->ExtOffset == EXTCHA_BELOW))
# ^~
# =
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:1635:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# else if ((pHTPhyMode->ExtOffset == EXTCHA_ABOVE))
# ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:1635:35: note: remove extraneous parentheses around the comparison to silence this warning
# else if ((pHTPhyMode->ExtOffset == EXTCHA_ABOVE))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_info.c:1635:35: note: use '=' to turn this equality comparison into an assignment
# else if ((pHTPhyMode->ExtOffset == EXTCHA_ABOVE))
# ^~
# =
# 2 warnings generated.
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_cfg.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:559:30: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# (EapolKeyInfo.KeyDescVer == KEY_DESC_AES))
# ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:559:30: note: remove extraneous parentheses around the comparison to silence this warning
# (EapolKeyInfo.KeyDescVer == KEY_DESC_AES))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:559:30: note: use '=' to turn this equality comparison into an assignment
# (EapolKeyInfo.KeyDescVer == KEY_DESC_AES))
# ^~
# =
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:3197:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# (keyDescVer == KEY_DESC_AES))
# ~~~~~~~~~~~^~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:3197:16: note: remove extraneous parentheses around the comparison to silence this warning
# (keyDescVer == KEY_DESC_AES))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_wpa.c:3197:16: note: use '=' to turn this equality comparison into an assignment
# (keyDescVer == KEY_DESC_AES))
# ^~
# =
# 2 warnings generated.
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/dfs.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/spectrum.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/spectrum.c:1966:111: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
# ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~
# %lu
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:620:53: note: expanded from macro 'DBGPRINT'
# #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
# ^~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:616:16: note: expanded from macro 'DBGPRINT_RAW'
# printk Fmt; \
# ^~~
# 1 warning generated.
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rtmp_timer.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rt_channel.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_profile.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_asic.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_cmd.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/assoc.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/auth.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/auth_rsp.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:107:35: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((pAd->CommonCfg.BBPCurrentBW == BW_40)
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:107:35: note: remove extraneous parentheses around the comparison to silence this warning
# if ((pAd->CommonCfg.BBPCurrentBW == BW_40)
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:107:35: note: use '=' to turn this equality comparison into an assignment
# if ((pAd->CommonCfg.BBPCurrentBW == BW_40)
# ^~
# =
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:1702:54: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# else if ((pAddHtInfo->AddHtInfo.ExtChanOffset == EXTCHA_ABOVE))
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:1702:54: note: remove extraneous parentheses around the comparison to silence this warning
# else if ((pAddHtInfo->AddHtInfo.ExtChanOffset == EXTCHA_ABOVE))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:1702:54: note: use '=' to turn this equality comparison into an assignment
# else if ((pAddHtInfo->AddHtInfo.ExtChanOffset == EXTCHA_ABOVE))
# ^~
# =
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:1953:36: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((pAd->StaCfg.AuthMode == Ndis802_11AuthModeWPANone)
# ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:1953:36: note: remove extraneous parentheses around the comparison to silence this warning
# if ((pAd->StaCfg.AuthMode == Ndis802_11AuthModeWPANone)
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sync.c:1953:36: note: use '=' to turn this equality comparison into an assignment
# if ((pAd->StaCfg.AuthMode == Ndis802_11AuthModeWPANone)
# ^~
# =
# 3 warnings generated.
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sanity.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/rtmp_data.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:1355:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((pAd->StaActive.SupportedPhyInfo.bHtEnable == TRUE))
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:1355:49: note: remove extraneous parentheses around the comparison to silence this warning
# if ((pAd->StaActive.SupportedPhyInfo.bHtEnable == TRUE))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:1355:49: note: use '=' to turn this equality comparison into an assignment
# if ((pAd->StaActive.SupportedPhyInfo.bHtEnable == TRUE))
# ^~
# =
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:1656:23: warning: implicit conversion from enumeration type 'enum _Sst' to different enumeration type 'AUTH_STATE' (aka 'enum _AuthState') [-Wenum-conversion]
# pEntry->AuthState = SST_ASSOC;
# ~ ^~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:1797:49: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((pAd->StaActive.SupportedPhyInfo.bHtEnable == TRUE))
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:1797:49: note: remove extraneous parentheses around the comparison to silence this warning
# if ((pAd->StaActive.SupportedPhyInfo.bHtEnable == TRUE))
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:1797:49: note: use '=' to turn this equality comparison into an assignment
# if ((pAd->StaActive.SupportedPhyInfo.bHtEnable == TRUE))
# ^~
# =
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:2806:28: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((pAd->StaCfg.AuthMode == Ndis802_11AuthModeWPANone)
# ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:2806:28: note: remove extraneous parentheses around the comparison to silence this warning
# if ((pAd->StaCfg.AuthMode == Ndis802_11AuthModeWPANone)
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/connect.c:2806:28: note: use '=' to turn this equality comparison into an assignment
# if ((pAd->StaCfg.AuthMode == Ndis802_11AuthModeWPANone)
# ^~
# =
# 4 warnings generated.
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/wpa.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/ags.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.c:358:19: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
# if ((bWmmCapable == 1)
# ~~~~~~~~~~~~^~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.c:358:19: note: remove extraneous parentheses around the comparison to silence this warning
# if ((bWmmCapable == 1)
# ~ ^ ~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../sta/sta_cfg.c:358:19: note: use '=' to turn this equality comparison into an assignment
# if ((bWmmCapable == 1)
# ^~
# =
# 1 warning generated.
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/rtmp_init_inf.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_profile.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/sta_ioctl.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.o
# clang-3.8: warning: optimization flag '-falign-jumps=1' is not supported
# clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
# clang-3.8: warning: optimization flag '-fno-delete-null-pointer-checks' is not supported
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:482:18: warning: incompatible integer to pointer conversion passing 'sk_buff_data_t' (aka 'unsigned int') to parameter of type 'void *' [-Wint-conversion]
# NdisMoveMemory(GET_OS_PKT_DATATAIL(skb), pHeader802_3, HdrLen);
# ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:946:3: note: expanded from macro 'GET_OS_PKT_DATATAIL'
# (RTPKT_TO_OSPKT(_pkt)->tail)
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:440:61: note: expanded from macro 'NdisMoveMemory'
# #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
# ^~~~~~~~~~~
# ./arch/x86/include/asm/string_64.h:59:21: note: passing argument to parameter 'dest' here
# void *memmove(void *dest, const void *src, size_t count);
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:484:18: warning: incompatible integer to pointer conversion passing 'sk_buff_data_t' (aka 'unsigned int') to parameter of type 'void *' [-Wint-conversion]
# NdisMoveMemory(GET_OS_PKT_DATATAIL(skb), pData, DataSize);
# ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:946:3: note: expanded from macro 'GET_OS_PKT_DATATAIL'
# (RTPKT_TO_OSPKT(_pkt)->tail)
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:440:61: note: expanded from macro 'NdisMoveMemory'
# #define NdisMoveMemory(Destination, Source, Length) memmove(Destination, Source, Length)
# ^~~~~~~~~~~
# ./arch/x86/include/asm/string_64.h:59:21: note: passing argument to parameter 'dest' here
# void *memmove(void *dest, const void *src, size_t count);
# ^
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:634:2: warning: incompatible pointer to integer conversion assigning to 'sk_buff_data_t' (aka 'unsigned int') from 'PUCHAR' (aka 'unsigned char *') [-Wint-conversion]
# SET_OS_PKT_DATATAIL(pClonedPkt, pClonedPkt->data, pClonedPkt->len);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:950:34: note: expanded from macro 'SET_OS_PKT_DATATAIL'
# ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)(RTPKT_TO_OSPKT(_pkt)->data-(RTPKT_TO_OSPKT(_pkt)->head) + (_len))
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:656:15: warning: incompatible pointer to integer conversion assigning to 'sk_buff_data_t' (aka 'unsigned int') from 'unsigned char *' [-Wint-conversion]
# pOSPkt->tail = pOSPkt->data + pOSPkt->len;
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:677:2: warning: incompatible pointer to integer conversion assigning to 'sk_buff_data_t' (aka 'unsigned int') from 'PUCHAR' (aka 'unsigned char *') [-Wint-conversion]
# SET_OS_PKT_DATATAIL(pOSPkt, pOSPkt->data, pOSPkt->len);
# ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:950:34: note: expanded from macro 'SET_OS_PKT_DATATAIL'
# ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)(RTPKT_TO_OSPKT(_pkt)->data-(RTPKT_TO_OSPKT(_pkt)->head) + (_len))
# ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:950:83: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
# DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
# ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# %lu
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:620:53: note: expanded from macro 'DBGPRINT'
# #define DBGPRINT(Level, Fmt) DBGPRINT_RAW(Level, Fmt)
# ^~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/include/os/rt_linux.h:616:16: note: expanded from macro 'DBGPRINT_RAW'
# printk Fmt; \
# ^~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:1364:62: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
# pTask->kthread_task = kthread_run((cast_fn)fn, (void *)arg, pTask->taskName);
# ^~~~~~~~~~~~~~~
# include/linux/kthread.h:34:36: note: expanded from macro 'kthread_run'
# = kthread_create(threadfn, data, namefmt, ## __VA_ARGS__); \
# ^~~~~~~
# include/linux/kthread.h:14:55: note: expanded from macro 'kthread_create'
# kthread_create_on_node(threadfn, data, NUMA_NO_NODE, namefmt, ##arg)
# ^~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:1699:25: error: initializing 'struct net_device_ops *' with an expression of type 'const struct net_device_ops *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
# struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
# ^ ~~~~~~~~~~~~~~~~~~~
# /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.c:1736:25: error: initializing 'struct net_device_ops *' with an expression of type 'const struct net_device_ops *' discards qualifiers [-Werror,-Wincompatible-pointer-types-discards-qualifiers]
# struct net_device_ops *pNetDevOps = pNetDev->netdev_ops;
# ^ ~~~~~~~~~~~~~~~~~~~
# 7 warnings and 2 errors generated.
# make[2]: *** [scripts/Makefile.build:292: /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.o] Error 1
# make[1]: *** [Makefile:1429: _module_/tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux] Error 2
# make[1]: Leaving directory '/usr/lib/modules/4.6.3-1-ARCH/build'
# make: *** [Makefile:270: LINUX] Error 2
# ==> ERROR: A failure occurred in build().
# Aborting...