Building binaries with 64-bit math will resolve __moddi3() without a problem.
However, building a shared library will not link against libpcc.a to resolve the symbol.
Maybe we should build all functions in libpcc with PIC, and link shared libraries against libpcc.a too.
I cannot remember why I removed libpcc.a from the link line in cc.c. Maybe because the objects are not compiled PIC.