Keep in mind that "Sanity Checks" are just that.
A simple check that tests the compiler/linker basically works and what tools/binaries are used.
Typically "Sanity Checks" are in no way a comprehensive diagnostic tool.
Now,.. make check or make test may be more thorough tool but the output may need thought and research to discern
what the results mean.
Plainly put, what errors or warnings are considered: expected, unimportant, informational, a serious concern,
or a fatal error requiring urgent attention before moving on ...
Even if all these checks pass, while my give a level of confidence, does not necessarily mean everything is all good.
I recommend sending all output to a file for careful review.
For Example:
make 2>&1 | tee gcc_make.log
Of course adjust the above to the task
Also see here for more on logging:
Creating Log Files During Installation
Please post back with any concerns.
Hope that helps.
Tim