Date: Thu, 16 Jun 2011 09:40:08 GMT From: Guillem Jover <guillem@debian.org> To: freebsd-geom@FreeBSD.org Subject: Re: kern/157879: [libgeom] ABI change without version bump in 8.2 Message-ID: <201106160940.p5G9e8wZ005509@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/157879; it has been noted by GNATS. From: Guillem Jover <guillem@debian.org> To: bug-followup@FreeBSD.org, kaduk@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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106160940.p5G9e8wZ005509>