The reason for removing math.h is that undefining __GLIBC__ does not take effect. By default, sim will use the toolchain's math library and undef __GLIBC__ in the source file. Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>