From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 005052EFD0 for ; Sun, 10 Sep 2000 05:38:39 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.8.7/8.8.7) id FAA22777 for axp-list@listman.redhat.com; Sun, 10 Sep 2000 05:38:39 -0400 Received: from alpha.eijk.nl (d10179.dtk.chello.nl [213.46.10.179]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id FAA22772 for ; Sun, 10 Sep 2000 05:38:37 -0400 Received: from chello.nl (stefan.eijk.nl [192.168.1.10]) by alpha.eijk.nl (8.11.0/8.8.7) with ESMTP id e8A9YP102970; Sun, 10 Sep 2000 11:34:25 +0200 Message-ID: <39BB5632.5E6E92AC@chello.nl> Date: Sun, 10 Sep 2000 11:36:50 +0200 From: Stefan van der Eijk X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-1mdk i686) X-Accept-Language: en MIME-Version: 1.0 To: "Christopher C. Chimelis" Cc: "axp-list@redhat.com" Subject: Re: Compiling Qt2.2 and uic segfaults... References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors > > 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 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