These lines seem to be suspicious to me. A lot of "No such file or directory". What can you tell from them?
[pid 3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/host/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/ prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory) [pid 3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/toolchain-_gcc-_-/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/ prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory) [pid 3669] execve("/home/claymore/OpenWRT/trunk/staging_dir/host/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/ prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory) [pid 3669] execve("/usr/lib/hardening-wrapper/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory) [pid 3669] execve("/usr/local/sbin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory) [pid 3669] execve("/usr/local/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = -1 ENOENT (No such file or directory) [pid 3669] execve("/usr/bin/sh", ["sh", "-c", "if make V=s -f /home/claymore/OpenWRT/trunk/include/prereq-build.mk check-working-gcc >/dev/null 2>/dev/null; then echo 'ok.'; else echo 'failed.'; echo \"Build dependency: Please reinstall the GNU C Compiler - it appears to be broken\" >> /home/claymore/OpenWRT/trunk/tmp/.prereq-error; fi"], [/* 106 vars */]) = 0 On 10 November 2015 at 07:19, Paul Fertser <fercer...@gmail.com> wrote: > Hannu Nyman <hannu.ny...@iki.fi> writes: > > If you are really interested, check the test command from lines 39-40 > > manually: > > echo 'int main(int argc, char **argv) { return 0; }' | gcc -x c -o $ > > (TMP_DIR)/a.out - > > Looking at "strace -f -s99999 make" is often providing enough clues too. > > -- > Be free, use free (http://www.gnu.org/philosophy/free-sw.html) software! > mailto:fercer...@gmail.com > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > -- Carlos Miguel Ferreira Researcher at Telecommunications Institute Aveiro - Portugal Work E-mail - c...@av.it.pt Skype & GTalk -> carlosmf...@gmail.com LinkedIn -> http://www.linkedin.com/in/carlosmferreira
_______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel