Failure building on HP-UX with more than 2 threads (internal bug #4308)

Mișu Moldovan misu.moldovan at proatria.com
Wed Dec 6 16:21:13 UTC 2017


La 06.12.2017 16:25, Torbjörn Granlund a scris:
> 
> IIUC, you here somewhere issue a command "make" which reads the MAKE and
> PARALLEL environment variables, then that command fails.
> 
> Unfortunately, we do not support parallel builds except with GNU make.
> I will check to so that this is properly documented in our manual.

Tried using the native compiler with "gmake -j", but it never returns 
after launching the first job.  For example, with "-j 4" this happens:

configure: summary of build options:

   Version:           GNU MP 6.1.2
   Host type:         itanium2-hp-hpux11.31
   ABI:               32
   Install prefix:
   Compiler:          /opt/aCC/bin/cc -w
   Static libraries:  yes
   Shared libraries:  no

Compiling...
/opt/aCC/bin/cc -w `test -f 'gen-fac.c' || echo './'`gen-fac.c -o gen-fac
/opt/aCC/bin/cc -w `test -f 'gen-fib.c' || echo './'`gen-fib.c -o gen-fib
/opt/aCC/bin/cc -w `test -f 'gen-bases.c' || echo './'`gen-bases.c -o 
gen-bases -lm
/opt/aCC/bin/cc -w `test -f 'gen-trialdivtab.c' || echo 
'./'`gen-trialdivtab.c -o gen-trialdivtab -lm


And nothing comes back...  The same for zlib, so it's nothing special to 
GMP.  While with native make we can build with more threads to speed up 
the builds, and only with GMP we are limited to 2 threads, because of 
the reported issue.

Have you had more luck with the native HP-UX compiler and GNU make for 
parallel builds?

Thanks,
  --
Mișu Moldovan - misu.moldovan at proatria.com
Pro:Atria Ltd - http://www.proatria.com
Tel: +44 (0) 1963 441311

The Old Exchange, South Cadbury, YEOVIL, BA22 7ET, UK
Registered in England - Company No: 4213930.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3587 bytes
Desc: Semn��tur�� criptografic�� S/MIME
URL: <https://gmplib.org/list-archives/gmp-bugs/attachments/20171206/9863268c/attachment.bin>


More information about the gmp-bugs mailing list