Karim BELABAS on Mon, 17 Jun 2002 20:34:50 +0200 (MEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: failure of 2.2.3 build on HP-UX


On Mon, 17 Jun 2002, Ilya Zakharevich wrote:

> Since I know very little of HPUX, I have no clue about these:
>
>   a) USE_GETRUSAGE STACK_CHECK HAS_TIOCGWINSZ are falsely set to 1;

This one should be easy to fix. What happens when you compile by hand, e.g
config/has_getrusage.c ? (using the same flags as for gp)

Maybe the gp code has a missing '#define _INCLUDE_POSIX_SOURCE' somewhere ?
[ it was very necessary last time I built on HP ]

>   b) after undefining, making gp-dyn gives:
>
>    /bin/ld: DP relative code in file kernel.o - shared library must be position
>    independent.  Use +z or +Z to recompile.

I don't think you can build position-independant code using the current
assembler micro-kernel (I'd be overjoyed to be proved wrong here). With the
portable build (kernel = none), it should be OK.

    Karim.
-- 
Karim Belabas                    Tel: (+33) (0)1 69 15 57 48
Dép. de Mathematiques, Bat. 425  Fax: (+33) (0)1 69 15 60 19
Université Paris-Sud             Email: Karim.Belabas@math.u-psud.fr
F-91405 Orsay (France)           http://www.math.u-psud.fr/~belabas
--
PARI/GP Home Page: http://www.parigp-home.de/