Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Kirk Vogelsang <kvogelsa@ccs.neu.edu>
To: axp-list@redhat.com
Subject: Re: Qt-1.40 Segfaults
Date: Fri, 25 Sep 1998 13:45:27 -0400 (EDT)	[thread overview]
Message-ID: <Pine.GSO.4.03.9809251332360.64-100000@polaris.ccs.neu.edu> (raw)
In-Reply-To: <9809251837580I.09832@bacchus.pc1.uni-duesseldorf.de>

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


  reply	other threads:[~1998-09-25 17:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-17 20:24 Qt-1.40 Segfaults Kirk Vogelsang
1998-09-17 20:26 ` Simon Kenyon
1998-09-18  8:39 ` Jochen Kuepper
1998-09-25 16:13 ` Bret Orsburn
1998-09-25 16:36   ` Jochen Kuepper
1998-09-25 17:45     ` Kirk Vogelsang [this message]
1998-09-25 18:32       ` Jonathan Vafai
1998-09-25 18:39       ` Herwin Jan Steehouwer
1998-09-25 20:09         ` Kirk Vogelsang
1998-09-26  2:32         ` qt-1.41 seems to work ok (Re: Qt-1.40 Segfaults) Yung Shing Gene
1998-09-28  8:41       ` Qt-1.40 Segfaults Jochen Kuepper
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox