Hi,
I'm trying to build the current master build with:
gcc v8.2, glibc, -O2, binutils 2.32
System: Arch Linux (latest).
I have spotted this issue and added the three lines into the Makefile.
No luck. Log is showing not much:
> configure.ac:7: installing './compile'
> configure.ac:6: installing './missing'
> parallel-tests: installing './test-driver'
> autoreconf: Leaving directory `.'
> (cd /home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0/./; if [ -x ./configure ]; then find /home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0/ -name config.guess | xargs -r chmod u+w; find /home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0/ -name config.guess | xargs -r -n1 cp --remove-destination /home/user/openwrt/openwrt/scripts/config.guess; find /home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0/ -name config.sub | xargs -r chmod u+w; find /home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0/ -name config.sub | xargs -r -n1 cp --remove-destination /home/user/openwrt/openwrt/scripts/config.sub; AR="arm-openwrt-linux-gnueabi-gcc-ar" AS="arm-openwrt-linux-gnueabi-gcc -c -O2 -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libiconv-stub/include -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libintl-stub/include -ffile-prefix-map=/home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0=irqbalance-1.6.0 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=arm-openwrt-linux-gnueabi-ld NM="arm-openwrt-linux-gnueabi-gcc-nm" CC="arm-openwrt-linux-gnueabi-gcc" GCC="arm-openwrt-linux-gnueabi-gcc" CXX="arm-openwrt-linux-gnueabi-g++" RANLIB="arm-openwrt-linux-gnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-gnueabi-strip OBJCOPY=arm-openwrt-linux-gnueabi-objcopy OBJDUMP=arm-openwrt-linux-gnueabi-objdump SIZE=arm-openwrt-linux-gnueabi-size CFLAGS="-O2 -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libiconv-stub/include -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libintl-stub/include -ffile-prefix-map=/home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0=irqbalance-1.6.0 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CXXFLAGS="-O2 -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libiconv-stub/include -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libintl-stub/include -ffile-prefix-map=/home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0=irqbalance-1.6.0 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro " CPPFLAGS="-I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/include -I/home/user/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-9.3.0_glibc_eabi/usr/include -I/home/user/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-9.3.0_glibc_eabi/include -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libiconv-stub/include -I/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libintl-stub/include " LDFLAGS="-L/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib -L/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/lib -L/home/user/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-vfpv4_gcc-9.3.0_glibc_eabi/usr/lib -L/home/user/openwrt/openwrt/staging_dir/toolchain-arm_cortex-a15+neon-
> vfpv4_gcc-9.3.0_glibc_eabi/lib -L/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libiconv-stub/lib -Wl,-rpath-link=/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libiconv-stub/lib -L/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libintl-stub/lib -Wl,-rpath-link=/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libintl-stub/lib -znow -zrelro -lpthread -lintl " GLIB2_LIBS="/home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libglib-2.0.a /home/user/openwrt/openwrt/staging_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/usr/lib/libiconv-stub/lib/libiconv.a" ./configure --target=arm-openwrt-linux --host=arm-openwrt-linux --build=x86_64-pc-linux-gnu --program-prefix="" --program-suffix="" --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --sysconfdir=/etc --datadir=/usr/share --localstatedir=/var --mandir=/usr/man --infodir=/usr/info --disable-nls --disable-numa --with-libcap_ng=no --with-systemd=no --without-irqbalance-ui --enable-static=glib2 ; fi; )
> configure: WARNING: unrecognized options: --disable-nls
> configure: loading site script /home/user/openwrt/openwrt/include/site/arm
> checking for a BSD-compatible install... /bin/install -c
> checking whether build environment is sane... yes
> checking for arm-openwrt-linux-strip... arm-openwrt-linux-gnueabi-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 build system type... x86_64-pc-linux-gnu
> checking host system type... arm-openwrt-linux-gnu
> checking how to print strings... printf
> checking for style of include used by make... GNU
> checking for arm-openwrt-linux-gcc... arm-openwrt-linux-gnueabi-gcc
> checking whether the C compiler works... no
> configure: error: in `/home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0':
> configure: error: C compiler cannot create executables
> See `config.log' for more details
> make[2]: *** [Makefile:72: /home/user/openwrt/openwrt/build_dir/target-arm_cortex-a15+neon-vfpv4_glibc_eabi/irqbalance-1.6.0/.configured_a17fb5ef857664f03cd0ce37cc5ea591] Error 77
> make[2]: Leaving directory '/home/user/openwrt/openwrt/feeds/packages/utils/irqbalance'
> time: package/feeds/packages/irqbalance/compile#5.20#0.57#6.65
Anyone an idea?