Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stefan van der Eijk <s.vandereijk@chello.nl>
To: "Christopher C. Chimelis" <chris@debian.org>
Cc: "axp-list@redhat.com" <axp-list@redhat.com>
Subject: Re: Compiling Qt2.2 and uic segfaults...
Date: Sun, 10 Sep 2000 11:36:50 +0200	[thread overview]
Message-ID: <39BB5632.5E6E92AC@chello.nl> (raw)
In-Reply-To: Pine.LNX.4.21.0009100433560.32120-100000@spawn.hockeyfiend.com

> > Could you send me the buildoutputs of the compilation? I'm trying to get
> > uic to compile too, I'm wondering which flags you used to compile.

> Turns out that I spoke too soon.  Compiling uic statically works fine, but
> a dynamically-linked binary segfaults on exit.  I've tried a few things to
> see what the problem is (gdb, upgrading to glibc 2.1.9x, etc) and nothing
> works so far.  I think I might've found something interesting, though, WRT
> the destructor functions of a few of the classes, and am trying it
> now.  If I manage to fix it, I'll forward the information/patch here (and
> to you directly).
Thanks!!!

> I'm working with the Debian maintainer to fix this over the weekend.
I've been trying to get qt2 to compile for some time now (I'm helping
out with Mandrake's alpha distro).

I don't know if this may help, but here's the track that we've been
pursueing (note: I'm not a programmer, I just enjoy making some packages
;-) ).

The current mandrake qt2 packge (from "cooker", the mandrake "rawhide")
produces the following buildoutput:

http://d10179.dtk.chello.nl/build/cooker/alpha/problem/qt2-2.2-2mdk.src.rpm.txt
spec file: http://d10179.dtk.chello.nl/~stefan/files/qt2.spec.orig

It exits with:

g++  -c -I/data/users/cooker/RPM/BUILD/qt-copy/include
-I/usr/X11R6/include -O2 
-mieee -frtti -fexceptions -fPIC -DQT_BUILTIN_GIF_READER=1
-DQT_NO_IMAGEIO_MNG  
-I/data/users/cooker/RPM/BUILD/qt-copy/src/3rdparty/zlib
-I/data/users/cooker/RP
M/BUILD/qt-copy/src/3rdparty/libpng -I/usr/X11R6/include  -o
kernel/moc_qnetwork
protocol.o kernel/moc_qnetworkprotocol.cpp
kernel/moc_qnetworkprotocol.cpp: In function `static class QMetaObject *
QNetwor
kProtocol::staticMetaObject()':
kernel/moc_qnetworkprotocol.cpp:141: Internal compiler error in
`gen_reload_inhi
', at insn-emit.c:5550
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/faq.html#bugreport> for
instructions.
make[1]: *** [kernel/moc_qnetworkprotocol.o] Error 1
make[1]: Leaving directory `/data/users/cooker/RPM/BUILD/qt-copy/src'
make: *** [sub-src] Error 2
Bad exit status from /users/cooker/tmp/rpm-tmp.15140 (%build)

We then removed some of the optimalisations (seems that the -o2 is
causing the problems), and it completes the qt part. Then on the tools
part make segfaults:

buildout: http://d10179.dtk.chello.nl/~stefan/files/qt2.spec.out
spec file: http://d10179.dtk.chello.nl/~stefan/files/qt2.spec

make[4]: Leaving directory
`/data/users/stefan/RPM/BUILD/qt-copy/tools/designer'
make designer
make[4]: Entering directory
`/data/users/stefan/RPM/BUILD/qt-copy/tools/designer'
if [ -d designer ]; then cd designer ; make; fi
make[5]: Entering directory
`/data/users/stefan/RPM/BUILD/qt-copy/tools/designer/designer'
/data/users/stefan/RPM/BUILD/qt-copy/bin/uic listboxeditor.ui -o
listboxeditor.h
make[5]: *** [listboxeditor.h] Segmentation fault
make[5]: *** Deleting file `listboxeditor.h'
make[5]: Leaving directory
`/data/users/stefan/RPM/BUILD/qt-copy/tools/designer/designer'
make[4]: *** [designer] Error 2
make[4]: Leaving directory
`/data/users/stefan/RPM/BUILD/qt-copy/tools/designer'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/data/users/stefan/RPM/BUILD/qt-copy/tools/designer'
make[2]: *** [designer] Error 2
make[2]: Leaving directory `/data/users/stefan/RPM/BUILD/qt-copy/tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/data/users/stefan/RPM/BUILD/qt-copy/tools'
make: *** [sub-tools] Error 2
Bad exit status from /users/stefan/tmp/rpm-tmp.69836 (%build)

The make version is: make-3.79.1-5mdk

In the mean time, I've managed to compile a qt2 package without the
tools included, and installed it. When I'm compiling an application that
requires qt (say licq) it freaks out:

http://d10179.dtk.chello.nl/build/cooker/alpha/problem/licq-0.85-20mdk.src.rpm.txt

make  all-recursive
make[1]: Entering directory
`/data/users/cooker/RPM/BUILD/licq-0.85/plugins/qt-gui'
Making all in src
make[2]: Entering directory
`/data/users/cooker/RPM/BUILD/licq-0.85/plugins/qt-gui/src'
/usr/lib/qt2/bin/moc ./adduserdlg.h -o adduserdlg.moc
BUG IN DYNAMIC LINKER ld.so: dl-version.c: 210: _dl_check_map_versions:
Assertion `needed != ((void *)0)' failed!
make[2]: *** [adduserdlg.moc] Error 127
make[2]: Leaving directory
`/data/users/cooker/RPM/BUILD/licq-0.85/plugins/qt-gui/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/data/users/cooker/RPM/BUILD/licq-0.85/plugins/qt-gui'
make: *** [all-recursive-am] Error 2
Bad exit status from /users/cooker/tmp/rpm-tmp.80394 (%build)

> Once we figure it out, he's going to forward the fix upstream as well.
Great!!

Stefan




  reply	other threads:[~2000-09-10  9:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-09 22:02 Compiling Qt2.2 and uic segfaults Christopher C. Chimelis
2000-09-09 22:25 ` Christopher C. Chimelis
2000-09-10  7:48   ` Stefan van der Eijk
2000-09-10  8:36     ` Christopher C. Chimelis
2000-09-10  9:36       ` Stefan van der Eijk [this message]
2000-09-10 10:33         ` Christopher C. Chimelis
2000-10-13 18:03           ` Stefan van der Eijk
2000-10-13 18:07             ` Christopher C. Chimelis
2000-10-13 19:11               ` Stefan van der Eijk
2000-10-13 19:19                 ` Christopher C. Chimelis
2000-10-13 20:03                   ` Stefan van der Eijk
2000-10-13 20:17                     ` Christopher C. Chimelis
2000-10-13 19:13               ` Mark Arrasmith
2000-09-10  8:38     ` Christopher C. Chimelis
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