From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5AC9F389682E; Mon, 12 Apr 2021 08:21:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5AC9F389682E From: "marcandre.lureau at gmail dot com" To: libabigail@sourceware.org Subject: [Bug default/27715] Fails to detect GObjectClass ABI changes Date: Mon, 12 Apr 2021 08:21:56 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: marcandre.lureau at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Apr 2021 08:21:56 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D27715 --- Comment #2 from Marc-Andr=C3=A9 Lureau --- Reproducer: https://gitlab.gnome.org/GNOME/glib/ meson setup build && ninja -C build DESTDIR=3D/tmp/old ninja -C build install Modify a base class: diff --git a/gobject/gtypemodule.h b/gobject/gtypemodule.h index 5c4025063..f15f18a32 100644 --- a/gobject/gtypemodule.h +++ b/gobject/gtypemodule.h @@ -80,7 +80,6 @@ struct _GTypeModuleClass void (*reserved1) (void); void (*reserved2) (void); void (*reserved3) (void); - void (*reserved4) (void); }; ninja -C build DESTDIR=3D/tmp/new ninja -C build install abidiff --headers-dir1 /tmp/old/usr/include/glib-2.0/gobject --headers-dir2 /tmp/new/usr/include/glib-2.0/gobject/ --fail-no-debug-info --no-added-sym= s=20=20=20 /tmp/old/usr/lib64/libgobject-2.0.so.0.6900.0 /tmp/new/usr/lib64/libgobject-2.0.so.0.6900.0 The starting point is that GTypeModuleClass isn't being used explicitely by functions. Yet it is the base class / vfunc / private of objects and should have ABI stability. --=20 You are receiving this mail because: You are on the CC list for the bug.=