RE: Request fix in gmp.h

2021-04-08 Thread Randall S. Becker
On April 2, 2021 3:08 PM, Marc Glisse wrote:
> On Fri, 2 Apr 2021, Randall S. Becker wrote:
> 
> > I have found a compile issue while porting to the HPE NonStop Server
> > platform.
> >
> > Please add the following line to gmp.h around line 267 to account for
> > differences in stdio.h on this platform. Otherwise, all tests pass.
> 
> We already did a while ago...
> 
> https://gmplib.org/repo/gmp/rev/d610a42e8ba4

Thanks. What release? I downloaded the latest tarball. Hg is not available
on this platform.

___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Request fix in gmp.h

2021-04-02 Thread Randall S. Becker
Hi GMP Team,

 

I have found a compile issue while porting to the HPE NonStop Server
platform. 

 

Please add the following line to gmp.h around line 267 to account for
differences in stdio.h on this platform. Otherwise, all tests pass.

 

  || defined (_STDIO) /* HPE NonStop x86 */ \

 

Thanks,

Randall

 

--

Randall S. Becker

ITUGLIB Process Designer, Repository Manager, Occasional Porting Dude

+1.416.984.9826

NonStop developer since approximately 2112884442

UNIX developer since approximately 421664400

-- In my real life, I talk too much.

 

___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


RE: Problems compiling on HPE NonStop

2020-12-11 Thread Randall S. Becker
On December 11, 2020 4:20 AM, Torbjörn wrote:
> To: Randall S. Becker 
> Cc: gmp-bugs@gmplib.org
> Subject: Re: Problems compiling on HPE NonStop
> 
> OK, I see a pretty garbled output from the configure run (which incidentally
> seem to trigger some elementary limitations of the sed command).  I also
> see an error message, which I understand comes from a compiler which
> presumably is c99 compiant.
> 
> The error message makes little sense.  The function __gmpz_inp_str_nowhite
> is declared in the included file gmp-impl.h.  If it ends up not being 
> declared,
> that must be due to the fact that we never ported GMP to "nonstop",
> resulting in that gmp-impl.h does not detect that stdio.h was included.
> 
> You need to debug the sed problem and see if you can generalise the stdio.h
> detection mechanism of the include files.

The c99 compiler is pretty compliant, if I a bit strict.
The sed issue is pretty common on the platform but does not seem to block any 
other Open Source configure script. It looks like a ^M issue but I can't figure 
out how or why yet. We're on GNU sed 4.2.2, which I admit is 8 years old - 
outside of my control.

The issue seems to be in stdio.h, which exists. I think the critical missing 
line is as follows in gmp-h.in, which needs to be added.

  || defined (_STDIO) /* HPE NonStop */ \

With that change, compiles succeed, with a few warnings about the _dummy 
variable. make check all passes. I think we could consider GMP "ported" now.

Thanks,
Randall

___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Problems compiling on HPE NonStop

2020-12-11 Thread Randall S. Becker
ric/powlo.c to mpn/powlo.c

config.status: linking mpn/generic/sec_powm.c to mpn/sec_powm.c

config.status: linking mpn/generic/sec_mul.c to mpn/sec_mul.c

config.status: linking mpn/generic/sec_sqr.c to mpn/sec_sqr.c

config.status: linking mpn/generic/sec_div.c to mpn/sec_div_qr.c

config.status: linking mpn/generic/sec_div.c to mpn/sec_div_r.c

config.status: linking mpn/generic/sec_pi1_div.c to mpn/sec_pi1_div_qr.c

config.status: linking mpn/generic/sec_pi1_div.c to mpn/sec_pi1_div_r.c

config.status: linking mpn/generic/sec_aors_1.c to mpn/sec_add_1.c

config.status: linking mpn/generic/sec_aors_1.c to mpn/sec_sub_1.c

config.status: linking mpn/generic/sec_invert.c to mpn/sec_invert.c

config.status: linking mpn/generic/trialdiv.c to mpn/trialdiv.c

config.status: linking mpn/generic/remove.c to mpn/remove.c

config.status: linking mpn/generic/logops_n.c to mpn/and_n.c

config.status: linking mpn/generic/logops_n.c to mpn/andn_n.c

config.status: linking mpn/generic/logops_n.c to mpn/nand_n.c

config.status: linking mpn/generic/logops_n.c to mpn/ior_n.c

config.status: linking mpn/generic/logops_n.c to mpn/iorn_n.c

config.status: linking mpn/generic/logops_n.c to mpn/nior_n.c

config.status: linking mpn/generic/logops_n.c to mpn/xor_n.c

config.status: linking mpn/generic/logops_n.c to mpn/xnor_n.c

config.status: linking mpn/generic/copyi.c to mpn/copyi.c

config.status: linking mpn/generic/copyd.c to mpn/copyd.c

config.status: linking mpn/generic/zero.c to mpn/zero.c

config.status: linking mpn/generic/sec_tabselect.c to mpn/sec_tabselect.c

config.status: linking mpn/generic/comb_tables.c to mpn/comb_tables.c

config.status: linking mpn/generic/add_n_sub_n.c to mpn/add_n_sub_n.c

config.status: linking mpn/generic/gmp-mparam.h to gmp-mparam.h

config.status: executing libtool commands

configure: summary of build options:

 

  Version:   GNU MP 6.2.1

  Host type: nse-tandem-nskJ06

  ABI:   standard

  Install prefix:/usr/local

  Compiler:  cc -c99

  Static libraries:  yes

  Shared libraries:  no

 

Compiler c99

uname -a: NONSTOP_KERNEL hpitug J06 22 NSE-L NSE NSE-L NonStop Kernel

./config.guess output: nse-tandem-nskJ06

 

--

Randall S. Becker

ITUGLIB Process Designer, Repository Manager, Occasional Porting Dude

+1.416.984.9826

NonStop developer since approximately 2112884442

UNIX developer since approximately 421664400

-- In my real life, I talk too much.

 

___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs