<div dir="ltr"><div><div>Ok... this is going to be impossible. The problem is not only in procd but in other system programs.<br></div>For example, rpcd is showing the same problems. See bellow.<br></div>PS: I added Jo-Philipp to CC<br><div><br>make[1]: Entering directory '/home/ArkHDD/OpenWRT/15.05'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/libs/toolchain'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "libc" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "libgcc" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "libatomic" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "libssp" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "libstdcpp" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "libpthread" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "libthread-db" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install.clean; fi; echo "librt" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/toolchain.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/libs/toolchain'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/libs/libjson-c'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libjson-c.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libjson-c.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libjson-c.default.install.clean; fi; echo "libjson-c" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libjson-c.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/libs/libjson-c'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/utils/lua'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install.clean; fi; echo "liblua" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install.clean; fi; echo "lua" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/lua.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/utils/lua'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/libs/libubox'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean; fi; echo "libubox" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean; fi; echo "libblobmsg-json" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean; fi; echo "jshn" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install.clean; fi; echo "libjson-script" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libubox.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/libs/libubox'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/system/uci'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install.clean; fi; echo "uci" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install.clean; fi; echo "libuci" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install.clean; fi; echo "libuci-lua" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/uci.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/system/uci'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/libs/libnl-tiny'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libnl-tiny.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libnl-tiny.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libnl-tiny.default.install.clean; fi; echo "libnl-tiny" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/libnl-tiny.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/libs/libnl-tiny'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/network/utils/iwinfo'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install.clean; fi; echo "libiwinfo" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install.clean; fi; echo "libiwinfo-lua" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/iwinfo.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/network/utils/iwinfo'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/system/ubus'<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean; fi; echo "libubus" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean; fi; echo "libubus-lua" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean; fi; echo "ubus" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install<br>if [ -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean ]; then rm -f /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install.clean; fi; echo "ubusd" >> /home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/pkginfo/ubus.default.install<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/system/ubus'<br>make[2]: Entering directory '/home/ArkHDD/OpenWRT/15.05/package/system/rpcd'<br>CFLAGS="-O3 -pipe -mtune=atom -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/usr/include -I/home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/include -I/home/ArkHDD/OpenWRT/15.05/staging_dir/toolchain-x86_64_gcc-4.8-linaro_glibc-2.21/usr/include -I/home/ArkHDD/OpenWRT/15.05/staging_dir/toolchain-x86_64_gcc-4.8-linaro_glibc-2.21/include " CXXFLAGS="-O3 -pipe -mtune=atom -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/usr/include -I/home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/include -I/home/ArkHDD/OpenWRT/15.05/staging_dir/toolchain-x86_64_gcc-4.8-linaro_glibc-2.21/usr/include -I/home/ArkHDD/OpenWRT/15.05/staging_dir/toolchain-x86_64_gcc-4.8-linaro_glibc-2.21/include " LDFLAGS="-L/home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/usr/lib -L/home/ArkHDD/OpenWRT/15.05/staging_dir/target-x86_64_glibc-2.21/lib -L/home/ArkHDD/OpenWRT/15.05/staging_dir/toolchain-x86_64_gcc-4.8-linaro_glibc-2.21/usr/lib -L/home/ArkHDD/OpenWRT/15.05/staging_dir/toolchain-x86_64_gcc-4.8-linaro_glibc-2.21/lib " make   -C /home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/. AR="x86_64-openwrt-linux-gnu-gcc-ar" AS="x86_64-openwrt-linux-gnu-gcc -c -O3 -pipe -mtune=atom -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-gnu-ld NM="x86_64-openwrt-linux-gnu-gcc-nm" CC="x86_64-openwrt-linux-gnu-gcc" GCC="x86_64-openwrt-linux-gnu-gcc" CXX="x86_64-openwrt-linux-gnu-g++" RANLIB="x86_64-openwrt-linux-gnu-gcc-ranlib" STRIP=x86_64-openwrt-linux-gnu-strip OBJCOPY=x86_64-openwrt-linux-gnu-objcopy OBJDUMP=x86_64-openwrt-linux-gnu-objdump SIZE=x86_64-openwrt-linux-gnu-size CROSS="x86_64-openwrt-linux-gnu-" ARCH="x86_64" ;<br>make[3]: Entering directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>make[4]: Entering directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>make[5]: Entering directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>make[5]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>[ 12%] Built target file_plugin<br>make[5]: Entering directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>make[5]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>[ 25%] Built target iwinfo_plugin<br>make[5]: Entering directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>make[5]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>[ 87%] Built target rpcd<br>make[5]: Entering directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>make[5]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>make[5]: Entering directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>[100%] Building C object CMakeFiles/rpcsys_plugin.dir/sys.c.o<br>/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/sys.c: In function 'rpc_cgi_password_set':<br>/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/sys.c:116:8: error: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Werror=unused-result]<br>   chdir("/");<br>        ^<br>/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/sys.c:125:8: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]<br>   write(fds[1], blobmsg_data(tb[RPC_P_PASSWORD]),<br>        ^<br>/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/sys.c:127:8: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]<br>   write(fds[1], "\n", 1);<br>        ^<br>/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/sys.c:131:8: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]<br>   write(fds[1], blobmsg_data(tb[RPC_P_PASSWORD]),<br>        ^<br>/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/sys.c:133:8: error: ignoring return value of 'write', declared with attribute warn_unused_result [-Werror=unused-result]<br>   write(fds[1], "\n", 1);<br>        ^<br>cc1: all warnings being treated as errors<br>CMakeFiles/rpcsys_plugin.dir/build.make:57: recipe for target 'CMakeFiles/rpcsys_plugin.dir/sys.c.o' failed<br>make[5]: *** [CMakeFiles/rpcsys_plugin.dir/sys.c.o] Error 1<br>make[5]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>CMakeFiles/Makefile2:168: recipe for target 'CMakeFiles/rpcsys_plugin.dir/all' failed<br>make[4]: *** [CMakeFiles/rpcsys_plugin.dir/all] Error 2<br>make[4]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>Makefile:116: recipe for target 'all' failed<br>make[3]: *** [all] Error 2<br>make[3]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd'<br>Makefile:94: recipe for target '/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/.built' failed<br>make[2]: *** [/home/ArkHDD/OpenWRT/15.05/build_dir/target-x86_64_glibc-2.21/rpcd/.built] Error 2<br>make[2]: Leaving directory '/home/ArkHDD/OpenWRT/15.05/package/system/rpcd'<br>package/Makefile:191: recipe for target 'package/system/rpcd/compile' failed<br>make[1]: *** [package/system/rpcd/compile] Error 2<br>make[1]: Leaving directory '/home/ArkHDD/OpenWRT/15.05'<br>/home/ArkHDD/OpenWRT/15.05/include/<a href="http://toplevel.mk:181">toplevel.mk:181</a>: recipe for target 'package/system/rpcd/compile' failed<br>make: *** [package/system/rpcd/compile] Error 2<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 22 October 2015 at 22:30, Carlos Ferreira <span dir="ltr"><<a href="mailto:carlosmf.pt@gmail.com" target="_blank">carlosmf.pt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div>Daniel<br></div>Your patch did not work without some simple modifications.<br></div>Instead of having <br><span class=""><i>inline __attribute__((always_inline)) int ignore(int x) {return x;}<br></i></span></div>at procd.h, I had to add a<br><i>static inline __attribute__((always_inline)) int ignore(int x) {return x;}<br></i></div>at the begining of both coldplug.c and early.c. <br></div><div>I did this because early.c was not including procd.h<br><br></div><div>After the change, the rest of the patch (adding ignore()) worked and procd compiled.<br><br></div><div>Thanks for the help and effort. The fix should be submitted to repo so that the x86 with glibc variant may be compilable. <br></div><div><br></div></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On 22 October 2015 at 17:04, Daniel Gimpelevich <span dir="ltr"><<a href="mailto:daniel@gimpelevich.san-francisco.ca.us" target="_blank">daniel@gimpelevich.san-francisco.ca.us</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>On Thu, 2015-10-22 at 17:54 +0200, Felix Fietkau wrote:<br>
> On 2015-10-21 01:34, Daniel Golle wrote:<br>
> > Hi!<br>
> ><br>
> > This has been an argument going on between the gcc and the glibc people<br>
> > for about 10 years now.<br>
> > See<br>
> > <a href="https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509" rel="noreferrer" target="_blank">https://gcc.gnu.org/bugzilla/show_bug.cgi?id=25509</a><br>
> ><br>
> > It seems like commit b6618ffa which added the symlinks silently broke<br>
> > things when building with glibc.<br>
> > Don't ask me why glibc enabled warn_unused_result for symlink(3) but<br>
> > doesn't for found mount(2) or mkdir(3)...<br>
> ><br>
> > A way around it would be to take things as they are and simply make<br>
> > sure to surpress the warning as shown in<br>
> > <a href="http://www.redhat.com/archives/rhl-devel-list/2007-March/msg00692.html" rel="noreferrer" target="_blank">http://www.redhat.com/archives/rhl-devel-list/2007-March/msg00692.html</a><br>
</span>[snip]<br>
<span>> inline functions should be static. the always_inline part is irrelevant<br>
> here.<br>
><br>
> - Felix<br>
<br>
</span>Maybe it can just be typecast to void? This kind of issue was one of the<br>
last things I expected. I first learned C before ANSI or ISO had even<br>
draft standards, and I guess it still shows.<br>
<div><div>_______________________________________________<br>
openwrt-devel mailing list<br>
<a href="mailto:openwrt-devel@lists.openwrt.org" target="_blank">openwrt-devel@lists.openwrt.org</a><br>
<a href="https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel" rel="noreferrer" target="_blank">https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br></div></div><span class="">-- <br><div><div dir="ltr"><div><br></div><div>Carlos Miguel Ferreira</div><div>Researcher at Telecommunications Institute</div><div>Aveiro - Portugal</div><div>Work E-mail - <a href="mailto:cmf@av.it.pt" target="_blank">cmf@av.it.pt</a></div><div>Skype & GTalk -> <a href="http://carlosmf.pt" target="_blank">carlosmf.pt</a>@<a href="http://gmail.com" target="_blank">gmail.com</a></div><div>LinkedIn -> <a href="http://www.linkedin.com/in/carlosmferreira" target="_blank">http://www.linkedin.com/in/carlosmferreira</a></div></div></div>
</span></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><br></div><div>Carlos Miguel Ferreira</div><div>Researcher at Telecommunications Institute</div><div>Aveiro - Portugal</div><div>Work E-mail - <a href="mailto:cmf@av.it.pt" target="_blank">cmf@av.it.pt</a></div><div>Skype & GTalk -> <a href="http://carlosmf.pt" target="_blank">carlosmf.pt</a>@<a href="http://gmail.com" target="_blank">gmail.com</a></div><div>LinkedIn -> <a href="http://www.linkedin.com/in/carlosmferreira" target="_blank">http://www.linkedin.com/in/carlosmferreira</a></div></div></div>
</div>