Looking at the INSTALL file that ships with the perl source, it appears that -Duse64bitall switches on 64 bit ints and longs, and the use of 64bit pointers ... but doesn't switch on -Duselongdouble. If you want the extra precision that -Duselongdouble provides it seems that you have to specify either -Duselongdouble or -Dusemorebits.
It could be interesting to know if there were any compiler flags (other than the ones already stated) specified by the OP.