[Lsb-infrastructure] possible toolchain issue on ppc32?

Wichmann, Mats D mats.d.wichmann at intel.com
Wed Apr 16 10:40:15 PDT 2008


Stew Benedict wrote:
> lsb-test-xts5 has recently started failing on ppc32. We discounted it
> initially as just one of the transient issues we hit occasionally,
> but I tried a manual build today and see this:
> 
> + lsbcc -DX11_t -DTRANS_CLIENT -DUNIXCONN -DXT_X_RELEASE=6 -O -I.
> -I/opt/lsb-tet3-lite/inc/tet3 -I/usr/include/X11
> -I/usr/X11R6/include/X11 
> -I/nethome/stewb/tmp/rpm-build/BUILD/lsb-test-xts5-5.1.5/xts5/include
> -DNeedFunctionPrototypes=1 -DXTESTEXTENSION -c -o Test.o Test.c
> warning: dangerous include path /usr/include/X11
> + lsbcc -DX11_t -DTRANS_CLIENT -DUNIXCONN -L/usr/X11R6/lib -o Test
> Test.o /opt/lsb-tet3-lite/lib/tet3/tcm.o
>
/nethome/stewb/tmp/rpm-build/BUILD/lsb-test-xts5-5.1.5/xts5/lib/libxtest
.a
>
/nethome/stewb/tmp/rpm-build/BUILD/lsb-test-xts5-5.1.5/xts5/lib/libxtest
lsbcc.a
>
/nethome/stewb/tmp/rpm-build/BUILD/lsb-test-xts5-5.1.5/xts5/lib/libXtTes
t.a
> /opt/lsb-tet3-lite/lib/tet3/libapi.a -lXaw -lXmu -lXpm -lXtst -lXext
> -lXt -lX11
> /usr/bin/ld: dynamic variable `objectClassRec' is zero size
> /usr/bin/ld: Test.o(.text+0x8ee): unresolvable R_PPC_ADDR16_HA
> relocation against symbol `objectClassRec'
> /usr/bin/ld: Test.o(.text+0x8f2): unresolvable R_PPC_ADDR16_LO
> relocation against symbol `objectClassRec'
> /usr/bin/ld: Test.o(.text+0x8f6): unresolvable R_PPC_ADDR16_LO
> relocation against symbol `objectClassRec'
> /usr/bin/ld: Test.o(.text+0x1f12): unresolvable R_PPC_ADDR16_HA
> relocation against symbol `objectClassRec'
> /usr/bin/ld: Test.o(.text+0x1f16): unresolvable R_PPC_ADDR16_LO
> relocation against symbol `objectClassRec'
> /usr/bin/ld: final link failed: Nonrepresentable section on output
> collect2: ld returned 1 exit status
> 
> test being built is xts5/tset/Xt14/objctobjct, which uses
> objectClassRec quite extensively
> 
> Mats took a look at buildenv, and we didn't see anything immediately
> that would be leading to this.

In a change from the LSB 3.2 branch, the four architectures ppc* and
s390* end up with a zero size for this data symbol in stub libXt.so. 
The symbol is in missing_data.txt for ia32 and ia64, not for the
other architectures.  I can work with this by simply making this
addition, but I want to do a little more digging to make sure everything
else is okay (there are no other symbols that end up just missing a
size entirely).



More information about the lsb-infrastructure mailing list