------- Comment #4 from sje at cup dot hp dot com 2010-05-05 20:54 ------- I have reproduced this failure, and the problem seems to be in GMP. You mention that you set ABI to 64. I noticed that if I built GMP with the HP compiler ABI is set to 32 and then when I built GCC with that GMP it failed in the manner you show in your report. When I built GMP with GCC, ABI was set to 64 and the compiler I built with that GMP worked fine. You might want to try rebuilding GMP with GCC.
Also, you mentioned that the HP Porting Center only has GCC 4.2.3, you can get newer pre-built GCC versions for HP-UX at http://www.hp.com/go/gcc (though these are all built in 32 bit mode). I was able to build GCC using HP C (in 32 bit mode) with no problems and no changes needed. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43941