configure and OpenBSD

Torbjorn Granlund tege at swox.com
Tue Oct 25 10:46:53 CEST 2005


HIRAMATSU Yoshifumi <hiramatu at boreas.dti.ne.jp> writes:

  Hello,
  
  GMP's configure.in has x86 OpenBSD specific definition around
  line 2040.
  
  case $host in
   *-*-openbsd*)
      GMP_DEFINE(_GLOBAL_OFFSET_TABLE_,__GLOBAL_OFFSET_TABLE_)
      ;;
  esac
  
  But how about removing this? OpenBSD ports tree has a patch to
  remove this define that intends to fix problem on i386/ELF
  platform.
  
We need to know when OpenBSD changed from __GLOBAL_OFFSET_TABLE_
(with double underscore) to _GLOBAL_OFFSET_TABLE_.  If we just
change this, GMP will not work on old OpenBSD.

-- 
Torbjörn


More information about the gmp-discuss mailing list