On Fri, Jul 10, 2020 at 7:08 AM Kunal Chauhan via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > *Jul 10 12:44:42 madlte1 kernel: vRSC[13038]: segfault at 0 ip > 00007f2110c99076 sp 00007f210ccea698 error 4 in libc-2.17.so > <http://libc-2.17.so>[7f2110b67000+1b6000]* Here is an explanation of the kernel message. https://utcc.utoronto.ca/~cks/space/blog/linux/KernelSegfaultMessageMeaning Try compiling your program with -g and then running it inside gdb. This will show you where it is failing which should make it easier to find the problem. Jim