void __assert(const char *expression,
              const char *filename,
              int line);

There is no default implementation of __assert. Keeping __assert out of the library means that you can can customize its behaviour without rebuilding the library. You must implement this function where expression is the stringized expression, filename is the filename of the source file and line is the linenumber of the failed assertion.