I am running into an issue with both gcc-8.3.0 and gcc-9.2.0 where a null-pointer function call is being done within __do_global_dtors_aux() which is defined in crtstuff.c . I have attempted to build GCC using the following export: export CFLAGS_FOR_TARGET="-g -save-temps -fverbose-asm" but the assembly file crtstuff.s do not contain the function __do_global_dtors_aux() even-though its source file crtstuff.c has its definition. Any idea ?