* Qt-1.40 Segfaults
@ 1998-09-17 20:24 Kirk Vogelsang
1998-09-17 20:26 ` Simon Kenyon
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Kirk Vogelsang @ 1998-09-17 20:24 UTC (permalink / raw)
To: axp-list
I've just compiled Qt-1.40. It compiled with no errors or
warnings, but anything that gets linked to libqt segfaults.
I've tried configure'ing w/ both linux-g++-shared and
linux-g++-static.
Here's what I'm using:
Pretty Stock RedHat 5.1 runnin 2.0.34 onna UDB.
gcc -v:
Reading specs from /local/gnu/packages/libstdc++-2.8.1.1/lib/
gcc-lib/alpha-unknown-linux-gnu/2.8.1/specsgcc version 2.8.1
ld -v:
GNU ld version 2.8 (with BFD 2.8)
Has anyone else experienced this problem?
TIA.
-----
Kirk M. Vogelsang <kvogelsa@ccs.neu.edu>
Northeastern University College of Computer Science
http://www.ccs.neu.edu/home/kvogelsa
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: Qt-1.40 Segfaults 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 2 siblings, 0 replies; 11+ messages in thread From: Simon Kenyon @ 1998-09-17 20:26 UTC (permalink / raw) To: axp-list i think the answer is to use qt-1.33 i had to revert to get anything that uses qt to work (kde springs to mind :-) -- simon ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 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 2 siblings, 0 replies; 11+ messages in thread From: Jochen Kuepper @ 1998-09-18 8:39 UTC (permalink / raw) To: axp-list, Kirk Vogelsang On Thu, 17 Sep 1998 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. > >I've tried configure'ing w/ both linux-g++-shared and >linux-g++-static. Well, shared does not work for Qt-1.40. RTH found an linker bug causing that and is working on it, I guess (hope). Static does work for me, using egcs-1.0 and egcs-1.1 and binutils-2.9.1.0.10. >gcc -v: >Reading specs from /local/gnu/packages/libstdc++-2.8.1.1/lib/ >gcc-lib/alpha-unknown-linux-gnu/2.8.1/specsgcc version 2.8.1 > >ld -v: >GNU ld version 2.8 (with BFD 2.8) Probaly you should upgrade these and build a static version then :-( Greetings, Jochen ----------------------------------------------------------------------- Jochen K"upper Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de Institut f"ur Physikalische Chemie I Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D"usseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen ----------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 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 2 siblings, 1 reply; 11+ messages in thread From: Bret Orsburn @ 1998-09-25 16:13 UTC (permalink / raw) To: axp-list; +Cc: kvogelsa 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. Here's a recent posting about a bug fix. This fixed a problem I was having with libOB.so from ORBacus 3.0. ---- Bret Orsburn borsburn@codonics.com ---------------------------------------------------------------------- > Subject: binutils 2.9.1.0.13 is released. > Date: Fri, 18 Sep 1998 09:01:14 -0700 (PDT) > From: hjl@lucon.org (H.J. Lu) > To: linux-gcc@vger.rutgers.edu (linuxgcc) > CC: kjahds@kjahds.com (Kenneth Albanowski), > lmfken@lmf.ericsson.se (Kenneth Osterberg), ian@lasermoon.co.uk, > mat@lcs.mit.edu (Mat Hostetter), > doughera@lafcol.lafayette.edu (Andy Dougherty), > brian@mathworks.com (Brian Bourgault), > craig@metrolink.com (Craig Groeschel), imp@village.org (Warner Losh), > robf@Willows.Com (Rob Farnum), meissner@cygnus.com (Michael Meissner), > rfg@monkeys.com (Ron Guilmette), roell@xinside.com (Thomas Roell), > linux-binutils-in@polstra.com (John Polstra), > galenh@micron.net (Galen Hazelwood), > ralf@mailhost.uni-koblenz.de (Ralf Baechle), egcs@cygnus.com, > libc-hacker@cygnus.com (GNU C Library) > > This release fixes an alpha bug and a PPC bug. > > -- > H.J. Lu (hjl@gnu.org) > --- > This is the beta release of binutils 2.9.1.0.13 for Linux, which is > based on binutils 2.9.1 plus Linux/ARM support, some x86 assembler > changes, some PPC bug fixes, some alpha bug fixes and an exception > frame optimization bug fix. > > Due to the exception frame optimization bug fix, it is highly > recommended that you recompile all your C++ codes. Otherwise, > exception handling may not work right when an exception is thrown. > > Since I no longer have machine running libc 5, starting from this > release, there will be no pre-compiled binaries for libc 5. > > I am planing to release this to the public as the final public release > for binutils 2.9.1.0.x based on binutils 2.9.1 and the current 16-bit > x86 assembler changes. The future release will be based on the binutils > snapshot, which has a different approach for 16-bit x86 assembly code. > Please test it as much as you can. > > There was some problem on Linux/alpha. The binaries generated by the > new binituls may not run correctly on Linux/alpha. It turned out it was > a bug in the alpha dynamic linker in glibc 2.0.6. The current glibc 2.1 > and glibc 2.0.7 should be ok. > > This release should work on linux/x86/alpha. There are some ELF bug > fixes. But I don't know if it fixes all the bugs reported on > linux/sparc, Linux/MIPS and linux/PPC. I'd like to hear reports on them. > I'd like to release it to public soon. Please test it as much as you > can. > > Please report any bugs related to binutils 2.9.1.0.13 to hjl@lucon.org. > > Changes from binutils 2.9.1.0.12: > > 1. An ELF/alpha bug fix for creating large shared libraries. > 2. An ELF/PPC bug fix. > > Changes from binutils 2.9.1.0.11: > > 1. Use the real fix from Ian for the exception frame optimization bug. > > Changes from binutils 2.9.1.0.10: > > 1. Fix an exception frame optimization bug. > > Changes from binutils 2.9.1.0.9: > > 1. Fix another -Bsymbolic bug for Linux/alpha. > > Changes from binutils 2.9.1.0.7: > > 1. Fix -Bsymbolic for Linux/alpha. > 2. Fix a 16bit x86 gas bug. > > Changes from binutils 2.9.1.0.6: > > 1. Fix various ARM bugs. > > Changes from binutils 2.9.1.0.5: > > 1. A MIPS assembler ".align" bug is fixed. > 2. bfd.h, bfd.h and bfdlink.h are included in the binary package. > > Changes from binutils 2.9.1.0.4: > > 1. 2 x86 16bit mode assembler bugs, "ret" and "movb $35,0x4(%di)", are > fixed. > > IMPORTANT: > The .plt format that the Alpha was using was not thread safe. So I > changed it. The new format is *not* binary compatible with the old, > thus you must use glibc 2.0.4 to get an ld.so that can understand it. > > Note that the new ld.so knows how to deal with the old .plt format, so > old libraries will still work, but they should be relinked eventually > for performance reasons. > > The file list: > > 1. binutils-2.9.1.0.13.tar.gz. Source code. > 2. binutils-2.9.1.0.12-2.9.1.0.13.diff.gz. Patch against the previous > beta source code. > 3. binutils-2.9.1.0.13-glibc.x86.tar.gz. Precompiled Linux/x86 binaries > for libc 6 (glibc 2.0.5c or above). > 4. binutils-2.9.1.0.13-alpha.tar.gz. Precompiled Linux/alpha binaries > for glibc 2.0.7 or above. > > The primary ftp sites for the compiler/C library: > > 1. ftp://tsx-11.mit.edu/pub/linux/packages/GCC > 2. ftp://sunsite.unc.edu/pub/Linux/GCC > > The beta directory is in private/tofu under the GCC directory. > > Most of my stuff can also be found at > > ftp://ftp.yggdrasil.com/private/hjl > ftp://ftp.kernel.org/pub/linux/devel/gcc > > To install the binary package, please follow the procedure very closely. > Please backup/save all the files you are instructed to delete and you > should do > > gzip -dc binutils-2.9.1.0.13-glibc.x86.tar.gz | tar tvvf - > or > gzip -dc binutils-2.9.1.0.13-alpha.tar.gz | tar tvvf - > > to see what is in there. > > Please do back up before you remove things. > > To install for libc 6 (glibc 2.0.5c or above), PLEASE DO > > 1. su root > 2. cd / > 3. rm -f /usr/bin/encaps /usr/bin/nm > 4. gzip -dc binutils-2.9.1.0.13-glibc.x86.tar.gz | tar xvvf - > 5. ldconfig > > Now you have the new gas/binutils under /usr/bin and > /usr/ix86-linuxaout/bin. You have to use > > /usr/ix86-linuxaout/bin/as > > and > > /usr/ix86-linuxaout/bin/ld -m i386linux > > if you want to use a.out as and ld directly. > > To install for alpha, PLEASE DO > > 1. su root > 2. cd / > 3. gzip -dc binutils-2.9.1.0.13-alpha.tar.gz | tar xvvf - > 4. ldconfig > > I have changed the target names for Linux/x86 and Linux/x86 (a.out) > to ix86-linux and ix86-linuxaout respectively. The precompiled > binaries are installed under /usr/ix86-linux and /usr/ix86-linuxaout. > You should make appropriate symbolic links if you have a different > name for the Linux/x86 target, like i586-unknown-linux. > > The target name for Linux/alpha is alpha-linux. The precompiled alpha > binaries are installed under /usr/alpha-linux. You should make > appropriate symbolic links if you have a different name for the > Linux/alpha target, like alpha-redhat-linux. > > If you have an old linux library in the a.out format and you cannot > obtain the newer version in the ELF format for whatever reason, you > can try "objcopy --remove-leading-char" on the a.out library and see > if it can link with your code in ELF. > > Thanks. > > H.J. Lu > hjl@lucon.org > 09/17/98 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 1998-09-25 16:13 ` Bret Orsburn @ 1998-09-25 16:36 ` Jochen Kuepper 1998-09-25 17:45 ` Kirk Vogelsang 0 siblings, 1 reply; 11+ messages in thread From: Jochen Kuepper @ 1998-09-25 16:36 UTC (permalink / raw) To: axp-list, Bret Orsburn; +Cc: kvogelsa 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. Greetings, Jochen ----------------------------------------------------------------------- Jochen K"upper Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de Institut f"ur Physikalische Chemie I Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D"usseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen ----------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 1998-09-25 16:36 ` Jochen Kuepper @ 1998-09-25 17:45 ` Kirk Vogelsang 1998-09-25 18:32 ` Jonathan Vafai ` (2 more replies) 0 siblings, 3 replies; 11+ messages in thread From: Kirk Vogelsang @ 1998-09-25 17:45 UTC (permalink / raw) To: axp-list 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 ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 1998-09-25 17:45 ` Kirk Vogelsang @ 1998-09-25 18:32 ` Jonathan Vafai 1998-09-25 18:39 ` Herwin Jan Steehouwer 1998-09-28 8:41 ` Qt-1.40 Segfaults Jochen Kuepper 2 siblings, 0 replies; 11+ messages in thread From: Jonathan Vafai @ 1998-09-25 18:32 UTC (permalink / raw) To: axp-list > 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 > > > This looks like an egcs-1.1b problem tho, not an ld problem. > Yes- On egcs-1.1b, I get the same error on compiling KDE. -Jon ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 1998-09-25 17:45 ` Kirk Vogelsang 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 2 siblings, 2 replies; 11+ messages in thread From: Herwin Jan Steehouwer @ 1998-09-25 18:39 UTC (permalink / raw) To: axp-list On Fri, 25 Sep 1998, Kirk Vogelsang wrote: > 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? YESS egcs 1.1b is not working ! use 1.0.3a !! > > I grabbed egcs-1.1b from prophet.dodds.net and grabbed binutils-2.9.1.0.13-alpha.tar.gz <snip> Herwin Jan > > ----- > Kirk M. Vogelsang <kvogelsa@ccs.neu.edu> > Northeastern University College of Computer Science > http://www.ccs.neu.edu/home/kvogelsa > > -- --- Herwin Jan Steehouwer herwinjs@palet.nl http://www.caiw.nl/~herwinjs steehouwer@kde.org KDE developer http://www.kde.org ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 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 1 sibling, 0 replies; 11+ messages in thread From: Kirk Vogelsang @ 1998-09-25 20:09 UTC (permalink / raw) To: axp-list On Fri, 25 Sep 1998, Herwin Jan Steehouwer wrote: > YESS egcs 1.1b is not working ! use 1.0.3a !! Any chance of finding a g++ rpm for it? It won't compile on my machine. ----- Kirk M. Vogelsang <kvogelsa@ccs.neu.edu> Northeastern University College of Computer Science http://www.ccs.neu.edu/home/kvogelsa ^ permalink raw reply [flat|nested] 11+ messages in thread
* qt-1.41 seems to work ok (Re: Qt-1.40 Segfaults) 1998-09-25 18:39 ` Herwin Jan Steehouwer 1998-09-25 20:09 ` Kirk Vogelsang @ 1998-09-26 2:32 ` Yung Shing Gene 1 sibling, 0 replies; 11+ messages in thread From: Yung Shing Gene @ 1998-09-26 2:32 UTC (permalink / raw) To: axp-list On Fri, 25 Sep 1998, Herwin Jan Steehouwer 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? > > > YESS egcs 1.1b is not working ! use 1.0.3a !! > Hi, Just to report that I've compiled qt-1.41-beta (with shared libs) without problems and so far the example apps that come with it work fine. Haven't tried compiling KDE or anything that large yet though. my setup: binutils-2.9.1.0.13 glibc-2.0.7 egcs-1.1a rgds, --shing (shing@cz3.nus.edu.sg) ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Qt-1.40 Segfaults 1998-09-25 17:45 ` Kirk Vogelsang 1998-09-25 18:32 ` Jonathan Vafai 1998-09-25 18:39 ` Herwin Jan Steehouwer @ 1998-09-28 8:41 ` Jochen Kuepper 2 siblings, 0 replies; 11+ messages in thread From: Jochen Kuepper @ 1998-09-28 8:41 UTC (permalink / raw) To: axp-list, Kirk Vogelsang On Fri, 25 Sep 1998 Kirk Vogelsang wrote: >Mind if I ask what compiler your using? depends. egcs-1.1 usually. But there _are_ problems with 1.1. You should use egcs-1.0.3 for Qt / KDE, since you are asking. Greetings, Jochen ----------------------------------------------------------------------- Jochen K"upper Heinrich-Heine-Universit"at D"usseldorf jochen@uni-duesseldorf.de Institut f"ur Physikalische Chemie I Universit"atsstr. 1, Geb 26.43 Raum 02.29 phone ++49-211-8113681 40225 D"usseldorf fax ++49-211-8115195 Germany http://www-public.rz.uni-duesseldorf.de/~jochen ----------------------------------------------------------------------- ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1998-09-28 8:41 UTC | newest] Thread overview: 11+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 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
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox