Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#1107 - iperf fails to build on aarch64 with "g++-uc: command not found" #6521

Closed
openwrt-bot opened this issue Oct 24, 2017 · 1 comment
Closed
Labels

Comments

@openwrt-bot
Copy link

bjonglez:

iperf fails to build with latest trunk (r5128-15e8e5d7d4):

configure: WARNING: unrecognized options: --disable-nls configure: loading site script /home/bjonglez/lede/include/site/aarch64 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for aarch64-openwrt-linux-strip... aarch64-openwrt-linux-musl-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether to enable maintainer-specific portions of Makefiles... no checking whether the C++ compiler works... no configure: error: in `/home/bjonglez/lede/build_dir/target-aarch64_cortex-a53_musl/iperf-2.0.10': configure: error: C++ compiler cannot create executables See `config.log' for more details Makefile:51: recipe for target '/home/bjonglez/lede/build_dir/target-aarch64_cortex-a53_musl/iperf-2.0.10/.configured_68b329da9893e34099c7d8ad5cb9c940' failed make[3]: *** [/home/bjonglez/lede/build_dir/target-aarch64_cortex-a53_musl/iperf-2.0.10/.configured_68b329da9893e34099c7d8ad5cb9c940] Error 77 make[3]: Leaving directory '/home/bjonglez/lede/package/network/utils/iperf' package/Makefile:109: recipe for target 'package/network/utils/iperf/compile' failed make[2]: *** [package/network/utils/iperf/compile] Error 2 make[2]: Leaving directory '/home/bjonglez/lede' package/Makefile:105: recipe for target '/home/bjonglez/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile' failed make[1]: *** [/home/bjonglez/lede/staging_dir/target-aarch64_cortex-a53_musl/stamp/.package_compile] Error 2 make[1]: Leaving directory '/home/bjonglez/lede' /home/bjonglez/lede/include/toplevel.mk:207: recipe for target 'world' failed

config.log is full of the following:

./configure: line 3407: g++-uc: command not found

I suspect that iperf is just missing a dependency to ''package/libs/uclibc++/install'', but I couldn't find out how to add the dependency.

Here is my diffconfig:

CONFIG_TARGET_sunxi=y CONFIG_TARGET_sunxi_cortexa53=y CONFIG_TARGET_sunxi_cortexa53_Default=y CONFIG_OPENSSL_WITH_DEPRECATED=y CONFIG_OPENSSL_WITH_EC=y CONFIG_OPENSSL_WITH_NPN=y CONFIG_OPENSSL_WITH_PSK=y CONFIG_OPENSSL_WITH_SRP=y CONFIG_OPENVPN_mbedtls_ENABLE_DEF_AUTH=y CONFIG_OPENVPN_mbedtls_ENABLE_FRAGMENT=y CONFIG_OPENVPN_mbedtls_ENABLE_HTTP=y CONFIG_OPENVPN_mbedtls_ENABLE_LZ4=y CONFIG_OPENVPN_mbedtls_ENABLE_LZO=y CONFIG_OPENVPN_mbedtls_ENABLE_MULTIHOME=y CONFIG_OPENVPN_mbedtls_ENABLE_PF=y CONFIG_OPENVPN_mbedtls_ENABLE_PORT_SHARE=y CONFIG_OPENVPN_mbedtls_ENABLE_SERVER=y CONFIG_OPENVPN_mbedtls_ENABLE_SMALL=y CONFIG_OPENVPN_mbedtls_ENABLE_SOCKS=y CONFIG_OPENVPN_nossl_ENABLE_DEF_AUTH=y CONFIG_OPENVPN_nossl_ENABLE_FRAGMENT=y CONFIG_OPENVPN_nossl_ENABLE_HTTP=y CONFIG_OPENVPN_nossl_ENABLE_LZ4=y CONFIG_OPENVPN_nossl_ENABLE_LZO=y CONFIG_OPENVPN_nossl_ENABLE_MULTIHOME=y CONFIG_OPENVPN_nossl_ENABLE_PF=y CONFIG_OPENVPN_nossl_ENABLE_PORT_SHARE=y CONFIG_OPENVPN_nossl_ENABLE_SERVER=y CONFIG_OPENVPN_nossl_ENABLE_SMALL=y CONFIG_OPENVPN_nossl_ENABLE_SOCKS=y CONFIG_OPENVPN_openssl_ENABLE_DEF_AUTH=y CONFIG_OPENVPN_openssl_ENABLE_FRAGMENT=y CONFIG_OPENVPN_openssl_ENABLE_HTTP=y CONFIG_OPENVPN_openssl_ENABLE_LZ4=y CONFIG_OPENVPN_openssl_ENABLE_LZO=y CONFIG_OPENVPN_openssl_ENABLE_MULTIHOME=y CONFIG_OPENVPN_openssl_ENABLE_PF=y CONFIG_OPENVPN_openssl_ENABLE_PORT_SHARE=y CONFIG_OPENVPN_openssl_ENABLE_SERVER=y CONFIG_OPENVPN_openssl_ENABLE_SMALL=y CONFIG_OPENVPN_openssl_ENABLE_SOCKS=y CONFIG_PACKAGE_bmon=m CONFIG_PACKAGE_confuse=m CONFIG_PACKAGE_htop=m CONFIG_PACKAGE_iftop=m CONFIG_PACKAGE_iperf=m CONFIG_PACKAGE_iperf3=m CONFIG_PACKAGE_kmod-mii=y CONFIG_PACKAGE_kmod-tun=m CONFIG_PACKAGE_kmod-udptunnel4=m CONFIG_PACKAGE_kmod-udptunnel6=m CONFIG_PACKAGE_kmod-usb-net=y CONFIG_PACKAGE_kmod-usb-net-asix=y CONFIG_PACKAGE_kmod-wireguard=m CONFIG_PACKAGE_liblzo=m CONFIG_PACKAGE_libmbedtls=m CONFIG_PACKAGE_libmnl=m CONFIG_PACKAGE_libncurses=m CONFIG_PACKAGE_libnl-core=m CONFIG_PACKAGE_libnl-route=m CONFIG_PACKAGE_libopenssl=m CONFIG_PACKAGE_libpcap=m CONFIG_PACKAGE_openvpn-mbedtls=m CONFIG_PACKAGE_openvpn-nossl=m CONFIG_PACKAGE_openvpn-openssl=m CONFIG_PACKAGE_terminfo=m CONFIG_PACKAGE_uclibcxx=m CONFIG_PACKAGE_wireguard=m CONFIG_PACKAGE_wireguard-tools=m
@openwrt-bot
Copy link
Author

yousong:

The dependency on uclibcxx is always there through $(CXX_DEPENDS) defined in include/uclibcxx++.mk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant