Package: lesstif2
Version: 1:0.95.0-2
Severity: grave

Hi,

I'm not sure what exactly changed between 0.94.4-2 and 0.95.0-2, but
when I start xpdf I get the following warning:
xpdf: Symbol `_XmStrings' has different size in shared object, consider 
re-linking

And when closing it:
XtUngrabButton(drawArea,3,0)

I don't get either message with 0.94.4-2.

What I see in in 0.94.4-2:
0000000000127540 g    DO .rodata        00000000000049c5  Base _XmStrings

And in 0.95.0-1:
0000000000126520 g    DO .rodata        0000000000004e1b  Base _XmStrings

As you can the size changed from 0x49c5 to 0x4e1b.

When comparing the header files, I see things like:
+#ifndef XmRTopItemPosition
+#define XmRTopItemPosition ((char *)&_XmStrings[12602])
+#endif
 #ifndef XmNtearOffTitle
-#define XmNtearOffTitle ((char *)&_XmStrings[12602])
+#define XmNtearOffTitle ((char *)&_XmStrings[12618])
 #endif
-#ifndef XmCTearOffTitle
-#define XmCTearOffTitle ((char *)&_XmStrings[12615])
+#ifndef XmNTearOffTitle
+#define XmNTearOffTitle ((char *)&_XmStrings[12631])

(There are a few 100 of those changes.)


This looks like a clear ABI change to me.  Specially if the header file
itself says:
 * Stuff that points to the _XmStrings array.
 *
 * This should be in sync with lib/Xm-2.1/XmStrDefs.c, and binary compatibility
 * with *Motif versions may suffer if this is modified without proper care.


Kurt



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to