In Kernel Exploitation Stage, Compiler do matter in fact.
They compile exploit to execute, and the system can excute it with specific compiler.
Changing some line in kernel exploit code in 37292.c for clang compiler, not gcc.
# lib = system("gcc -fPIC -shared -o /tmp/ofs-lib.so /tmp/ofs-lib.c -ldl -w");
lib = system("cc -fPIC -shared -o /tmp/ofs-lib.so /tmp/ofs-lib.c -ldl -w");
If not compiled by the compiler that the system has, the exploit will not work!!!
GNU Compiler Collection is the compiler produced by the GNU Project.
Clang; including C, is also a compiler for C++, Objective-C, and objective-C++ programming languages.
Turbo C is one of the basic and popular compilers for the C programming language. This was first introduced in 1987
The Tiny C Compiler is designed to work on slow computers with little disk space. This is an ARM processor C compiler.