Menu

#262 Darwin install_name vs linux soname (ABI compatibility policy?)

1.13.1
open
nobody
None
1
2015-08-11
2014-12-14
No

config/Makefile.linux has LDFLAGS.SO including:

-Wl,-soname=$(LIB.SONAME)

where LIB.SONAME includes the version-string (via $(SO_MAJOR) from config/version) of $(GLEW_MAJOR).$(GLEW_MINOR)

config/Makefile.darwin has LDFLAGS.SO including:

-install_name $(GLEW_DEST)/lib/$(LIB.SHARED)

where LIB.SHARED includes (via $(SO_VERSION)=$(GLEW_VERSION) from config/version) $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO)

Seems inconsistent that the same linker concept (the formal runtime library) would be different on different platforms. Is darwin a special platform on which glew is not promising to retain backward compatibility even between micro-versions? Or should Makefile.darwin* be using a derivative of SO_MAJOR instead of SO_VERSION?

Discussion

  • Nigel Stewart

    Nigel Stewart - 2015-01-24
    • Group: 1.12.0 --> 1.12.1
     
  • Nigel Stewart

    Nigel Stewart - 2015-08-11
    • Group: 1.12.1 --> 1.13.1
     
MongoDB Logo MongoDB