From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 14429 invoked from network); 25 Sep 1998 17:46:07 -0000 Received: from mail.redhat.com (199.183.24.239) by mail2.redhat.com with SMTP; 25 Sep 1998 17:46:07 -0000 Received: from amber.ccs.neu.edu (root@amber.ccs.neu.edu [129.10.116.51]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id NAA29693 for ; Fri, 25 Sep 1998 13:46:04 -0400 Received: from polaris.ccs.neu.edu (kvogelsa@polaris.ccs.neu.edu [129.10.116.161]) by amber.ccs.neu.edu (8.8.6/8.8.6) with ESMTP id NAA29317 for ; Fri, 25 Sep 1998 13:45:28 -0400 (EDT) Date: Fri, 25 Sep 1998 13:45:27 -0400 (EDT) From: Kirk Vogelsang To: axp-list@redhat.com Subject: Re: Qt-1.40 Segfaults In-Reply-To: <9809251837580I.09832@bacchus.pc1.uni-duesseldorf.de> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Northeastern University College of Computer Science http://www.ccs.neu.edu/home/kvogelsa