Wrong syntax in mpn/vax

Paul_Koning at Dell.com Paul_Koning at Dell.com
Mon Jul 16 23:27:04 CEST 2012

I ran into two more issues when I tried "make check".  There's a bug in the NetBSD/vax library loader (ld.elf_so) that affects two of the assembly language files.  Also, there were too many underscores in the function names in those files.  The attached diff is the consolidated change for all this.

With those changes, I can run "make check".  It fails one test, the other 32 work.  The failing test is for mpn_get_d.  The reason for the failure is that it goes through a code path that assumes IEEE float, and VAX isn't using IEEE.  There seems to be code in get_d.c for non-IEEE, but that is in the #else path of a #if 1 statement...


-----Original Message-----
From: tg at gmplib.org [mailto:tg at gmplib.org] 
Sent: Friday, July 13, 2012 4:17 PM
To: Koning, Paul
Cc: gmp-bugs at gmplib.org
Subject: Re: Wrong syntax in mpn/vax

<Paul_Koning at Dell.com> writes:

  The assembly files for VAX need repair; the register syntax it uses isn't the right one for GNU as. It wants leading % on register names.
  The attached patch cures this.

Have you make a complete build after having made these changes, including a "make check"?  On what sort of system?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmpvax.diff
Type: application/octet-stream
Size: 13530 bytes
Desc: gmpvax.diff
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20120716/093f9c89/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gmp.log
Type: application/octet-stream
Size: 1032 bytes
Desc: gmp.log
URL: <http://gmplib.org/list-archives/gmp-bugs/attachments/20120716/093f9c89/attachment-0001.obj>

More information about the gmp-bugs mailing list