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

Re: Qt-1.40 Segfaults



On Fri, 25 Sep 1998, Jochen Kuepper wrote:

> On Fri, 25 Sep 1998 Bret Orsburn wrote:
> >Kirk Vogelsang wrote:
> >> 
> >> I've just compiled Qt-1.40.  It compiled with no errors or
> >> warnings, but anything that gets linked to libqt segfaults.
> >
> >If libqt is very large, it could be tickling an ld bug for shared libs with a
> >.got section in excess of 64KB.
> 
> Yep. This bugfix in binutils-2.9.1.0.13 from RTH also makes Qt-1.40 working
> ok as a shared lib.

Mind if I ask what compiler your using?

I grabbed egcs-1.1b from prophet.dodds.net and grabbed binutils-2.9.1.0.13-alpha.tar.gz
from ftp.yggdrasil.com:/private/hjl.  Here's the glibc info:

glibc-devel-2.0.7-19     glibc-debug-2.0.7-19
glibc-profile-2.0.7-19   glibc-2.0.7-19

A static libqt builds ok, but I get:

[kirk@lysithea:/roost/src/Xapps/qt-1.40/examples/tetrix]
13:35:40> make                                              
g++ -c -I/roost/src/Xapps/qt-1.40/include -O2 -fno-strength-reduce -o gtetrix.o gtetrix.cpp
/roost/src/Xapps/qt-1.40/bin/moc qdragapp.cpp -o qdragapp.moc
g++ -c -I/roost/src/Xapps/qt-1.40/include -O2 -fno-strength-reduce -o qdragapp.o qdragapp.cpp
qdragapp.moc: In method `void QDragger::initMetaObject()':
In file included from qdragapp.cpp:499:
qdragapp.moc:60: Internal compiler error 980331.
qdragapp.moc:60: Please submit a full bug report to `egcs-bugs@cygnus.com'.
make: *** [qdragapp.o] Error 1

No problem, it's only one of the examples.  But I also get (from kdelibs-1.0):

...
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../kdecore -I../kfile -I/local/Xapps/packages/qt-1.40/include -I/usr/Xp
/local/Xapps/packages/qt-1.40/include/qtextstream.h: In function `class QTSManip setw(int)':
In file included from /local/Xapps/packages/qt-1.40/include/qtstream.h:3,
                 from ../kdecore/kconfigdata.h:35,
                 from ../kdecore/kconfigbase.h:71,
                 from ../kdecore/kconfig.h:53,
                 from ../kdecore/kapp.h:173,
                 from kcontrol.h:32,
                 from kcontrol.cpp:26:
/local/Xapps/packages/qt-1.40/include/qtextstream.h:213: Internal compiler error 980331.
/local/Xapps/packages/qt-1.40/include/qtextstream.h:213: Please submit a full bug report to `egcs-bugs@cy.
make[2]: *** [kcontrol.lo] Error 1
make[2]: Leaving directory `/import/src/kde/kdelibs-1.0/kdeui'

This looks like an egcs-1.1b problem tho, not an ld problem.  

Whaddya think?

-----
Kirk M. Vogelsang <kvogelsa@ccs.neu.edu>
Northeastern University College of Computer Science
http://www.ccs.neu.edu/home/kvogelsa



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