Modify

Opened 3 years ago

Closed 3 years ago

#18235 closed defect (duplicate)

ifwinfo fails to build under gcc-4.9-linaro

Reported by: Diffie Owned by: developers
Priority: highest Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: gcc-4.9, iwinfo Cc:

Description

recent commit of iwinfo will not build in todays trunk r43092, below is the output from make:

make[3]: Entering directory `/mnt/hd/backup/openwrt-cc/trunk/package/network/utils/iwinfo'
CFLAGS="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/usr/include -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/include " CXXFLAGS="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/include -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/usr/include -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/include " LDFLAGS="-L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/lib " make -j1 -C /mnt/hd/backup/openwrt-cc/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/libiwinfo-2014-10-27.1/. AR=mips-openwrt-linux-uclibc-ar AS="mips-openwrt-linux-uclibc-gcc -c -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE" LD=mips-openwrt-linux-uclibc-ld NM=mips-openwrt-linux-uclibc-nm CC="mips-openwrt-linux-uclibc-gcc" GCC="mips-openwrt-linux-uclibc-gcc" CXX="mips-openwrt-linux-uclibc-g++" RANLIB=mips-openwrt-linux-uclibc-ranlib STRIP=mips-openwrt-linux-uclibc-strip OBJCOPY=mips-openwrt-linux-uclibc-objcopy OBJDUMP=mips-openwrt-linux-uclibc-objdump SIZE=mips-openwrt-linux-uclibc-size CROSS="mips-openwrt-linux-uclibc-" ARCH="mips" FPIC="-fpic" CFLAGS="-Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE" LDFLAGS="-L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/lib" BACKENDS=" nl80211" ;
make[4]: Entering directory `/mnt/hd/backup/openwrt-cc/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/libiwinfo-2014-10-27.1'
rm -f *.o libiwinfo.so iwinfo.so iwinfo
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -std=gnu99 -fstrict-aliasing -Iinclude -DUSE_NL80211 -fpic -c -o iwinfo_utils.o iwinfo_utils.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -std=gnu99 -fstrict-aliasing -Iinclude -DUSE_NL80211 -fpic -c -o iwinfo_wext.o iwinfo_wext.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -std=gnu99 -fstrict-aliasing -Iinclude -DUSE_NL80211 -fpic -c -o iwinfo_wext_scan.o iwinfo_wext_scan.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -std=gnu99 -fstrict-aliasing -Iinclude -DUSE_NL80211 -fpic -c -o iwinfo_lib.o iwinfo_lib.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -std=gnu99 -fstrict-aliasing -Iinclude -DUSE_NL80211 -fpic -c -o iwinfo_nl80211.o iwinfo_nl80211.c
iwinfo_nl80211.c: In function 'nl80211_phy_idx_from_uci_macaddr':
iwinfo_nl80211.c:269:2: warning: too many arguments for format [-Wformat-extra-args]

snprintf(buf, sizeof(buf), "/sys/class/ieee80211/*", opt); //

iwinfo_nl80211.c:269:2: warning: too many arguments for format [-Wformat-extra-args]
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -std=gnu99 -fstrict-aliasing -Iinclude -DUSE_NL80211 -fpic -c -o iwinfo_lua.o iwinfo_lua.c
mips-openwrt-linux-uclibc-gcc -Os -pipe -mno-branch-likely -march=74kc -mtune=74kc -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -msoft-float -Wformat -Werror=format-security -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include/libnl-tiny -I/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/include -D_GNU_SOURCE -std=gnu99 -fstrict-aliasing -Iinclude -DUSE_NL80211 -fpic -c -o iwinfo_cli.o iwinfo_cli.c
mips-openwrt-linux-uclibc-gcc -luci -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/lib -shared -lnl-tiny -o libiwinfo.so iwinfo_utils.o iwinfo_wext.o iwinfo_wext_scan.o iwinfo_lib.o iwinfo_nl80211.o
/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libuci.so: warning: the use of mktemp' is dangerous, better use mkstemp'
mips-openwrt-linux-uclibc-gcc -luci -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/lib -shared -L. -liwinfo -llua -o iwinfo.so iwinfo_lua.o
/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libuci.so: warning: the use of mktemp' is dangerous, better use mkstemp'
mips-openwrt-linux-uclibc-gcc -luci -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/usr/lib -L/mnt/hd/backup/openwrt-cc/trunk/staging_dir/toolchain-mips_34kc_gcc-4.9-linaro_uClibc-0.9.33.2/lib -L. -liwinfo -lnl-tiny -o iwinfo iwinfo_cli.o
/mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/usr/lib/libuci.so: warning: the use of mktemp' is dangerous, better use mkstemp'
iwinfo_cli.o: In function `main':
iwinfo_cli.c:(.text.startup+0x12c): undefined reference to `iwinfo_backend_by_name'
collect2: error: ld returned 1 exit status
make[4]: * [compile] Error 1
make[4]: Leaving directory `/mnt/hd/backup/openwrt-cc/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/libiwinfo-2014-10-27.1'
make[3]:
* /mnt/hd/backup/openwrt-cc/trunk/build_dir/target-mips_34kc_uClibc-0.9.33.2/libiwinfo-2014-10-27.1/.built Error 2
make[3]: Leaving directory `/mnt/hd/backup/openwrt-cc/trunk/package/network/utils/iwinfo'
make[2]: * [package/network/utils/iwinfo/compile] Error 2
make[2]: Leaving directory `/mnt/hd/backup/openwrt-cc/trunk'
make[1]:
* /mnt/hd/backup/openwrt-cc/trunk/staging_dir/target-mips_34kc_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory `/mnt/hd/backup/openwrt-cc/trunk'
make: * [world] Error 2
make V=99 60.93s user 15.18s system 78% cpu 1:37.15 total

Attachments (1)

kidkraft toys.jpg (121.4 KB) - added by Slavon 3 years ago.
Bobby

Download all attachments as: .zip

Change History (2)

comment:1 Changed 3 years ago by nbd

  • Resolution set to duplicate
  • Status changed from new to closed

Changed 3 years ago by Slavon

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.