Help to analyse "Please reinstall the GNU C Compiler (4.8 or later)"


building OpenWrt (master) I get this error: Please reinstall the GNU C Compiler (4.8 or later) - it appears to be broken.

I do not think my compiler is missing or broken. Thus I like to figure out why the error is generated.

The error in triggered in

Since my Makefile Foo is weak, can anyone give me an isolated Makefile to perform this check?

Fwiw, this runs well and without problems:

echo 'int main(int argc, char **argv) { return 0; }' | gcc -x c -o a.out -