AIX/xlc test failures for gmp-5.0.1

Peter O'Gorman pogma at thewrittenword.com
Sun Nov 28 17:01:01 CET 2010


On Sun, Nov 28, 2010 at 10:20:43AM +0100, Paul Zimmermann wrote:
> > How did you track down the xlc bug?  Did you manage to make the compiler
> > emit usable debug symbols?
> 
> in fact Peter did isolate the problem himself. He might give more details how
> he managed to do that.
> 

Unfortunately it was not the same system, the MPFR 3.0 compiler bug is
on HPUX/IA-64 with HP cc. With a lot of hints from Vincent and Paul I
realized the problem was in pow.c and that I could change a macro
definition to make the problem appear and disappear, so I simply did:

#undef MACRO
#define MACRO definition_with_no_problem

at the top of pow.c, and

#undef MACRO
#define MACRO definition_with_problem

in the middle. And moved them as necessary to keep showing the issue
until I was left with just one line.

The issue with GMP on AIX/xlc is harder because there is no combination
of options or macro definitions that I have found that cause success.
Torbjorn has access to an AIX system and is intimate with the code,
if he's unable to debug it, I don't think I have much hope. :(

Peter
-- 
Peter O'Gorman
pogma at thewrittenword.com


More information about the gmp-bugs mailing list