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

2008-07-01 Thread Torsten Marek
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 unstablewww.debian-multimedia.org 
  500 unstableftp.de.debian.org 
  500 experimentalwww.debian-multimedia.org 
1 experimentalftp.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



signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Bug#431608: Same for python-qt4

2007-07-19 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

I've just encountered the same problem while (trying to) build PyQt4, but
generally gcc 4.2 seems to be *a lot* slower than 4.1.

best,

Torsten
- --
Torsten Marek <[EMAIL PROTECTED]>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGn87QfMVFHqJEyFgRAoWQAKC0sOMLpLHn+Z40znO8lNQv7t68pACdESxz
/IEn2zNQ5tOALZRk4iwVPwc=
=O6B0
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#431608: Some statistics

2007-07-29 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi,

compiling parts of python-qt4 yields the following results:

g++ 4.1.3: 13,71s user 0,26s sys
gcc-snapshot: 1m59,38s user 0,69s sys

The preprocessed source code used above is rather large, please get it from 
here:
http://diotavelli.net/files/sipQtCorepart0.E.bz2

best,

Torsten
- --
Torsten Marek <[EMAIL PROTECTED]>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrPzPfMVFHqJEyFgRAgalAJ9LciHbMeViSKlv2xheRH1vnRrYNACfcqj/
HZkagUVrf5QWznUwEVBHdOg=
=Ramb
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#431608: Some statistics

2007-07-29 Thread Torsten Marek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Matthias Klose schrieb:
> Torsten Marek writes:
>> compiling parts of python-qt4 yields the following results:
>>
>> g++ 4.1.3: 13,71s user 0,26s sys
>> gcc-snapshot: 1m59,38s user 0,69s sys
> 
> thanks, the report is forwarded. Would it be possible to let sip-qt*
> to use g++-4.1 explicitely?

Hi,

I wouldn't know a reason why that should be a problem for the time being. I'll
also talk to upstream if they are aware of the problems.

best,

Torsten

- --
Torsten Marek <[EMAIL PROTECTED]>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGrQNNfMVFHqJEyFgRAuXpAKDC2LW/8ElVEc3f/hdMWVxlWm5hoACePNJj
K/ncE1bUVMs3OXctC4tAtH4=
=g+Cb
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]