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

Bug#488869: [gcc-4.2] alpha-only compilation failure with -fPIC and relocation



Package: gcc-4.2
Severity: normal

--- Please enter the report below this line. ---

Hi,

python-qt4 fails on alpha [0] with the following error:

g++ -shared -Wl,--version-script=QtGui.exp -o QtGui.so sipQtGuipart0.o sipQtGuipart1.o sipQtGuipart2.o sipQtGuipart3.o sipQtGuipart4.o sipQtGuipart5.o sipQtGuipart6.o sipQtGuipart7.o sipQtGuipart8.o sipQtGuipart9.o sipQtGuipart10.o sipQtGuipart11.o sipQtGuipart12.o sipQtGuipart13.o sipQtGuipart14.o sipQtGuipart15.o sipQtGuipart16.o sipQtGuipart17.o sipQtGuipart18.o sipQtGuipart19.o sipQtGuipart20.o sipQtGuipart21.o sipQtGuipart22.o sipQtGuipart23.o sipQtGuipart24.o sipQtGuipart25.o sipQtGuipart26.o sipQtGuipart27.o sipQtGuipart28.o sipQtGuipart29.o sipQtGuipart30.o sipQtGuipart31.o sipQtGuipart32.o sipQtGuipart33.o sipQtGuipart34.o sipQtGuipart35.o sipQtGuipart36.o sipQtGuipart37.o sipQtGuipart38.o sipQtGuipart39.o -L/usr/lib -L/usr/X11R6/lib -lQtGui -lQtCore
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

This is the debug part of the build, the normal build (with -O1) works just fine. The man page says that -fPIC automatically
enables -mlarge-data, and thus GPREL32 instead of GPREL16.


best,


Torsten

[0] http://buildd.debian.org/fetch.cgi?pkg=python-qt4;ver=4.4.2-3;arch=alpha;stamp=1214932614

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.25.4-shl1

Debian Release: lenny/sid
  500 unstable        www.debian-multimedia.org 
  500 unstable        ftp.de.debian.org 
  500 experimental    www.debian-multimedia.org 
    1 experimental    ftp.de.debian.org 

--- Package information. ---
Depends                     (Version) | Installed
=====================================-+-=====================
gcc-4.2-base           (= 4.2.4-2+b1) | 
cpp-4.2                (= 4.2.4-2+b1) | 
binutils         (>= 2.17cvs20070426) | 2.18.50.20080507-1
libgcc1             (>= 1:4.2.4-2+b1) | 1:4.3.1-3
libc6                      (>= 2.7-1) | 2.7-12

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


Reply to: