bug-gmp
[Top][All Lists]
Advanced

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

Re: gmp 4.1 on OpenBSD


From: Christian Weisgerber
Subject: Re: gmp 4.1 on OpenBSD
Date: Wed, 16 Oct 2002 01:38:19 +0200
User-agent: Mutt/1.4i

Kevin Ryde:

> > OpenBSD/sparc64 is a true 64-bit platform.  Currently, gmp's configure
> > script doesn't recognize OpenBSD/sparc64 and falls back to a Linux-
> > inspired 32-bit default that builds but doesn't work.
> 
> Is that because 32-bits isn't supported at all?

Yes.  OpenBSD/sparc64 is a pure 64-bit platform.  There is no support
for native 32-bit executables at all.

> Do we need a gcc_64_cflags set to "-m64 -mptr64" or something?

No.

> > 2.
> > OpenBSD/i386 is still an a.out platform and it does require GSYM_PREFIX
> > ('_') for _GLOBAL_OFFSET_TABLE_, cf. mpn/x86/README.
> 
> I'm pretty sure we built successfully in the past on openbsd 2.8.
> Maybe that was before _GLOBAL_OFFSET_TABLE_ got into the asm code.

Probably.  When tracking this down I looked at gmp-3.1.1, and there
was no reference to _GLOBAL_OFFSET_TABLE_ in the asm code.

-- 
Christian "naddy" Weisgerber                          address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]