Problems building on HP-UX 11.31/IA

Marc Glisse marc.glisse at inria.fr
Sun Aug 25 18:48:06 CEST 2013


On Fri, 23 Aug 2013, Albert Chin wrote:

> (Accidentally sent to gmp-devel).
>
> I tried building gmp-5.1.2 on HP-UX 11.31/IA and ran into a problem:
>  $ tar Jxf gmp-5.1.2.tar.xz
>  $ cd gmp-5.1.2
>  gmp-5.1.2$ ./configure M4=/opt/fsw/m414/bin/gm4 --enable-cxx
>  ...
>    Version:           GNU MP 5.1.2
>    Host type:         itanium2-hp-hpux11.31
>    ABI:               32
>    Install prefix:    /usr/local
>    Compiler:          cc
>    Static libraries:  yes
>    Shared libraries:  yes
>  gmp-5.1.2$ gmake
>  ...
>  /opt/fsw/m414/bin/gm4  -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm >tmp-add_n.s
>   cc -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n +O3 tmp-add_n.s +Z -DPIC -o .libs/add_n.o
>  tmp-add_n.s:116: error 4032: must be in a bundle

Hello,

it seems that you are using HP's compiler. Does it work better if you use 
gcc and more precisely the GNU binutils? Just checking if this is a minor 
syntax difference between the two asm or something worse.

Does it help if you manually add some '{' and '}' in the obvious places in 
mpn/ia64/aors_n.asm ? (assuming this is the file tmp-add_n.s is generated 
from)

-- 
Marc Glisse


More information about the gmp-bugs mailing list