HP-UX build problem
tege at swox.com
Fri May 19 22:57:02 CEST 2006
"zahradnicky at kppm.cz" <zahradnicky at kppm.cz> writes:
make reports the following error:
Making all in calc
bison -y -d ../../../demos/calc/calc.y
bison ends with "broken pipe" signal. bison -V produces
bison (GNU Bison) 2.0
Written by Robert Corbett and Richard Stallman.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Not GMP's fault that bison crashes. Even if the input were
invalid, bison shouldn't crash.
Perhaps there is a bug in bison, perhaps it is a HP-UX bug,
perhaps the compiler miscompiled bison.
If I change the main Makefile to not compile calc, I'm able to get make
done but make check ends with the errors
sent in the previous e-mail.
>But I guess that you're using the HP system compiler. That compiler
>is known to miscompile most of the code sent to it.
Configure has chosen gcc.
With 99% probability, this is a compiler bug.
You might want to try with a later gcc 3.4.x compiler. You might
want to try lowering the optimization level (-On).
More information about the gmp-bugs