The build took 00h 01m 09s and was NOT successful.
The program in this build is written in the following languages, according to sloccount:
SLOC | Language |
---|---|
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:
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:
There were existing files in /sysroot, using those
CMD: sudo -u tuscan PATH=/sysroot/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 (Wed Apr 5 00:23:38 UTC 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
make -C tools
cp -f os/linux/Makefile.6 /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/Makefile
make[1]: Entering directory '/tmp/rt3562sta/src/rt3562sta-linux-r3/tools'
gcc -g bin2h.c -o bin2h
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'
make[1]: Leaving directory '/tmp/rt3562sta/src/rt3562sta-linux-r3/tools'
/tmp/rt3562sta/src/rt3562sta-linux-r3/tools/bin2h
/tmp/rt3562sta/src/rt3562sta-linux-r3/tools/bin2h: error while loading shared libraries: /usr/lib/libc.so: invalid ELF header
make: *** [Makefile:250: build_tools] Error 127
make: *** Waiting for unfinished jobs....
CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_md5.o
CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_sha2.o
CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/crypt_hmac.o
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
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
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
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
CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../common/cmm_data.o
/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: clang-3.8remove extraneous parentheses around the comparison to silence this warning
: warning: optimization flag '-falign-jumps=1' is not supported
clang-3.8: warning: optimization flag '-falign-loops=1' is not supported
if ((j == idx))
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: note: use '=' to turn this equality comparison into an assignment
if ((j == idx))
^~
=
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
1 warning generated.
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
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
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
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))
^~
=
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/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))
^~
=
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
2 warnings generated.
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
/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; \
^~~
2 warnings generated.
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
1 warning generated.
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
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
/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)
^~
=
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
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
/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)
^~
=
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
1 warning generated.
CC [M] /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_main_dev.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:291: /tmp/rt3562sta/src/rt3562sta-linux-r3/os/linux/../../os/linux/rt_linux.o] Error 1
make[2]: *** Waiting for unfinished jobs....
4 warnings generated.
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...