[Lsb-infrastructure] libXt libchk fails on 32-bit
Wichmann, Mats D
mats.d.wichmann at intel.com
Fri Apr 25 10:30:58 PDT 2008
I was staring myself blind at why the 32-bit
platforms started failing size checks on *Class
elements in libXt, when the missing_data.txt files
in stub_libs are massaging the stubs to be correct.
It finally dawned on me that the size checks are
coming from data fields built in to libchk instead,
and the stub_libs issue was a blind.
See:
http://www.linux-foundation.org/build/libchk/sles10/ia32/libchk.output.d
esktop.txt
http://www.linux-foundation.org/build/libchk/sles10/ppc32/libchk.output.
desktop.txt
http://www.linux-foundation.org/build/libchk/sles10/s390/libchk.output.d
esktop.txt
each of these shows 12 entries, eleven named *Class
plus XtCXtToolkitError, which show a size of 8 was
expected while 4 was found. If we look in libchk's
libXt_so_6.c there's no architecture differences here,
all of these are set to a size of 8 regardless, while
these clearly are 4 in the libraries on a typical
32-bit system. The odd thing is why this has just
now started failing? Maybe these never had checks
generated for them before... ah, I look at the 3.2 branch
and see the sizes in the libchk tables were set to 0 before,
which I guess means don't check the size.
Num: Value Size Type Bind Vis Ndx Name
209: 02473cfc 4 OBJECT GLOBAL DEFAULT 23
applicationShellWidgetClass
221: 02475054 4 OBJECT GLOBAL DEFAULT 23
vendorShellWidgetClass
240: 02473360 4 OBJECT GLOBAL DEFAULT 23 widgetClass
278: 024739cc 4 OBJECT GLOBAL DEFAULT 23 shellWidgetClass
341: 02473088 4 OBJECT GLOBAL DEFAULT 23 compositeWidgetClass
346: 02473814 4 OBJECT GLOBAL DEFAULT 23 rectObjClass
358: 02473364 4 OBJECT GLOBAL DEFAULT 23 coreWidgetClass
366: 02473da0 4 OBJECT GLOBAL DEFAULT 23
sessionShellWidgetClass
381: 02473b10 4 OBJECT GLOBAL DEFAULT 23 wmShellWidgetClass
590: 024735b8 4 OBJECT GLOBAL DEFAULT 23 hookObjectClass
594: 02473c58 4 OBJECT GLOBAL DEFAULT 23
topLevelShellWidgetClass
602: 02473bb8 4 OBJECT GLOBAL DEFAULT 23
transientShellWidgetClass
609: 024731a4 4 OBJECT GLOBAL DEFAULT 23 constraintWidgetClass
622: 02473a70 4 OBJECT GLOBAL DEFAULT 23
overrideShellWidgetClass
638: 02473774 4 OBJECT GLOBAL DEFAULT 23 objectClass
647: 024736e0 4 OBJECT GLOBAL DEFAULT 23 XtCXtToolkitError
More information about the lsb-infrastructure
mailing list