Package: libqt-perl
Version: 3.008-1.2
Severity: serious

Attempting to build the latest version of libqt-perl on mipsel fails with
the following error:

/bin/sh ../../libtool --silent --mode=link mipsel-linux-g++ -Wnon-virtual-dtor 
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes 
-Wwrite-strings -O2 -fno-exceptions -fno-check-new -fno-common   -o 
libsmokeqt.la -rpath /usr/lib -version-info 3:1:2 -no-undefined 
-L/usr/X11R6/lib -L/usr/lib  -I.  smokedata.lo x_1.lo x_2.lo x_3.lo x_4.lo 
x_5.lo x_6.lo x_7.lo x_8.lo x_9.lo x_10.lo x_11.lo x_12.lo x_13.lo x_14.lo 
x_15.lo x_16.lo x_17.lo x_18.lo x_19.lo x_20.lo -lqt-mt -ldl -lresolv -lpng -lz 
-lm -lSM -lICE -lXext -lX11  -lSM -lICE -lpthread -lGLU -lGL  -lSM -lICE  
-L/usr/X11R6/lib -lX11 -lXext -lXmu -lXt -lXi  -lm 
.libs/smokedata.o(.text+0x69bc): In function    `init_qt_Smoke()':
: relocation truncated to fit: R_MIPS_GOT16 qt_Smoke
.libs/x_1.o(.text+0xa0): In function `xcall_QAccel(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 QAccel::qt_cast(char const*)
.libs/x_1.o(.text+0x168): In function `xcall_QAccel(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 
QAccel::QAccel[not-in-charge](QWidget*, char const*)
.libs/x_1.o(.text+0x284): In function `xcall_QAccel(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 QAccel::count() const
.libs/x_1.o(.text+0x838): In function `xcall_QAction(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 QAction::qt_cast(char const*)
.libs/x_1.o(.text+0x888): In function `xcall_QAction(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 QAction::qt_emit(int, QUObject*)
.libs/x_1.o(.text+0x900): In function `xcall_QAction(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 
QAction::QAction[not-in-charge](QObject*, char const*)
.libs/x_1.o(.text+0xed8): In function `xcall_QAction(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 
QAction::QAction[not-in-charge](QString const&, QString const&, QKeySequence, 
QObject*, char const*, bool)
.libs/x_1.o(.text+0x104c): In function `xcall_QAction(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 QAction::setIconSet(QIconSet 
const&)
.libs/x_1.o(.text+0x110c): In function `xcall_QAction(short, void*, 
Smoke::StackItem*)':
: relocation truncated to fit: R_MIPS_CALL16 QAction::text() const
.libs/x_1.o(.text+0x11f8): In function `xcall_QAction(short, void*, 
Smoke::StackItem*)':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status

A full build log is available at
<http://buildd.debian.org/fetch.php?&pkg=libqt-perl&ver=3.008-1.2&arch=mipsel&stamp=1105185861&file=log&as=raw>.

This points to a problem with the size of the symbol table in the library in
question, which is a common problem on mips and mipsel.  It is likely that
previous versions of this package also suffered from the bug, but that this
is the first time libqt-perl has been built since the linker began
treating relocation truncations as fatal errors.

The solution is to use -Wa,-xgot when building this library, to force the
use of a 32-bit symbol table.  Patch to follow ASAP.

Thanks,
-- 
Steve Langasek
postmodern programmer

Attachment: signature.asc
Description: Digital signature

Reply via email to