The LONG_MAX != LLONG_MAX check in _itowa.c is failing for me because nothing includes <limits.h> first (so the preprocessor treats them both as zero). This is i686-pc-linux-gnu. Adding #include <limits.h> there and in _itoa.c fixes it for me. -- Daniel Jacobowitz CodeSourcery