kern/157879: [libgeom] ABI change without version bump in 8.2

Guillem Jover guillem at debian.org
Thu Jun 16 09:40:08 UTC 2011


The following reply was made to PR kern/157879; it has been noted by GNATS.

From: Guillem Jover <guillem at debian.org>
To: bug-followup at FreeBSD.org, kaduk at mit.edu
Cc:  
Subject: Re: kern/157879: [libgeom] ABI change without version bump in 8.2
Date: Thu, 16 Jun 2011 11:25:34 +0200

 --mP3DRpeJDSE+ciuQ
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 
 Hi!
 
 The ‘struct gprovider’ got two new members in the middle of a public
 struct, so this might cause programs built against the old headers to
 access the wrong member with the new library or the other way around.
 That's exactly what happened to us at least with grub2.
 
 I'm attaching the trivial patch we are using in Debian GNU/kFreeBSD.
 
 thanks,
 guillem
 
 --mP3DRpeJDSE+ciuQ
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="libgeom_abi_bump.patch"
 
 Index: lib/libgeom/Makefile
 ===================================================================
 --- lib/libgeom/Makefile	(revision 223144)
 +++ lib/libgeom/Makefile	(working copy)
 @@ -1,6 +1,7 @@
  # $FreeBSD$
  
  LIB=	geom
 +SHLIB_MAJOR=	1
  SHLIBDIR?= /lib
  SRCS+=	geom_getxml.c
  SRCS+=	geom_stats.c
 
 --mP3DRpeJDSE+ciuQ--


More information about the freebsd-geom mailing list