[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

linker bug on alpha



Hi,

I'm the maintainer of python-qt4 and currently trying to get the latest
version (4.4.2) into testing. 

python-qt4 is notorious for its size and the problems it causes for
compilers, this time it seems it hit alpha. The buildd log[0] says
g++ -shared -Wl,--version-script=QtGui.exp -o QtGui.so sipQtGuipart0.o  ...
sipQtGuipart28.o:/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:173: relocation truncated to fit: GPREL16 against symbol `sipAPI_QtGui' defined in .sbss section in sipQtGuipart0.o
sipQtGuipart28.o:/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:173: relocation truncated to fit: GPREL16 against symbol `sipNm_QtGui_count' defined in .sdata section in sipQtGuipart0.o
sipQtGuipart28.o:/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:178: relocation truncated to fit: GPREL16 against symbol `sipModuleAPI_QtGui_QtCore' defined in .sbss section in sipQtGuipart0.o
sipQtGuipart28.o:/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:2542: relocation truncated to fit: GPREL16 against symbol `sip_QtGui_qt_metaobject' defined in .sbss section in sipQtGuipart0.o
sipQtGuipart28.o: In function `meth_QFormLayout_sender':
/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:3040: relocation truncated to fit: GPREL16 against symbol `sipAPI_QtGui' defined in .sbss section in sipQtGuipart0.o
sipQtGuipart28.o: In function `meth_QFormLayout_sender':
/build/buildd/python-qt4-4.4.2/sip/QtCore/qobject.sip:463: relocation truncated to fit: GPREL16 against symbol `sipAPI_QtGui' defined in .sbss section in sipQtGuipart0.o
sipQtGuipart28.o: In function `meth_QFormLayout_sender':
/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:3055: relocation truncated to fit: GPREL16 against symbol `sipAPI_QtGui' defined in .sbss section in sipQtGuipart0.o
/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:3055: relocation truncated to fit: GPREL16 against symbol `sipNm_QtGui_sender' defined in .sdata section in sipQtGuipart0.o
sipQtGuipart28.o: In function `forceConvertTo_QFontDatabase':
/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:12230: relocation truncated to fit: GPREL16 against symbol `sipAPI_QtGui' defined in .sbss section in sipQtGuipart0.o
/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:12232: relocation truncated to fit: GPREL16 against symbol `sipAPI_QtGui' defined in .sbss section in sipQtGuipart0.o
sipQtGuipart28.o: In function `forceConvertTo_QFontDialog':
/build/buildd/python-qt4-4.4.2/dbg-build-2.4/QtGui/sipQtGuipart28.cpp:7603: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
make[2]: *** [QtGui.so] Error 1

As far as I understand the documentation, GPREL16 should only be used
with -msmall-data, which is implied by -fpic. If -fPIC is used,
-mlarge-data is implied. 

I've also filed a bug with gcc-4.2 [1]

The build failure only occurs for the debug build, not the normal one.
Should I just scrap the debug packages on alpha, or is there something
else I could do?


thanks for your help,


Torsten


[0]
http://buildd.debian.org/fetch.cgi?pkg=python-qt4;ver=4.4.2-3;arch=alpha;stamp=1214932614
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=488869
-- 
.: Torsten Marek
.: http://shlomme.diotavelli.net
.: torsten@diotavelli.net -- GnuPG: 1024D/A244C858

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Reply to: