This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Qt3 breakage since 1.5.19


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

René Berber wrote:
> Or the change exposed a bug in Qt.

Either way, it was working in 1.5.18 (didn't I already say I'd be
unhappy if my qt3 was broken with 1.5.19?).

> The library is as close as it gets to a regular library, I separated the debug
> info, it's just not optimized.
> 
> It would be interesting to test a rebuilt regular library, have you done that?

Actually, now that you mention it...

I was in the middle of building kdelibs-3.5.1 when gcc choked on
uic-generated code (this happened with both 3.3.4 and 3.3.5).  So I went
back to rebuild 3.3.4, and now it won't finish either.

g++ -c -pipe -I/usr/include/postgresql/server
- -I/usr/include/postgresql/pgsql -I/usr/include/postgresql/pgsql/server
- -fno-exceptions -DPIC -Wall -W -O2 -D_REENTRANT  -DDESIGNER
- -DQT_INTERNAL_XML -DQT_INTERNAL_WORKSPACE -DQT_INTERNAL_ICONVIE
W -DQT_INTERNAL_TABLE -DQT_TABLET_SUPPORT -DQT_NO_DEBUG
- -DQT_THREAD_SUPPORT
- -I/home/Yaakov/src/kde/qt/3/qt-x11-free-3.3.4/.build/mkspecs/cygwin-g++
- -I. -I/usr/include/freetype2 -I../shared -I../uilib -I../../../include
- -I/usr/X11R6/include -I.moc/release-shared-mt/ -o ./listboxeditor.o
listboxeditor.cpp
listboxeditor.cpp:32:7: warning: no newline at end of file
listboxeditor.cpp: In constructor
'ListBoxEditorBase::ListBoxEditorBase(QWidget*, const char*, bool, uint)':
listboxeditor.cpp:32: error: expected identifier at end of input
listboxeditor.cpp:32: error: expected `(' at end of input
listboxeditor.cpp:32: error: expected `{' at end of input
listboxeditor.cpp: At global scope:
listboxeditor.cpp:32: warning: unused parameter 'parent'
listboxeditor.cpp:32: warning: unused parameter 'name'
listboxeditor.cpp:32: warning: unused parameter 'modal'
listboxeditor.cpp:32: warning: unused parameter 'fl'
listboxeditor.cpp:32: warning: unused parameter 'parent'
listboxeditor.cpp:32: warning: unused parameter 'name'
listboxeditor.cpp:32: warning: unused parameter 'modal'
listboxeditor.cpp:32: warning: unused parameter 'fl'
make: *** [listboxeditor.o] Error 1

Looking at the generated listboxeditor.cpp (and at the KDE package), it
seems that uic doesn't compile .ui files correctly, resulting in the
above gcc errors.

Running the uic command to generate this code in gdb, I get a bunch of
SIGSEGV in pthread_mutex* functions in cygwin1.dll, then:

Program received signal SIGSEGV, Segmentation fault.
0x713f33a4 in QRealMutexPrivate::QRealMutexPrivate ()
   from
/home/Yaakov/src/kde/qt/3/qt-x11-free-3.3.4/.build/bin/cygqt-mt-3.dll

The offending code is in src/tools/qmutex_unix.cpp (which has absolutely
no changes from 3.3.4 to 3.3.5).

> All those "mutex lock failure" point to the threads implementation.  If you want
> to go from "what changed in Cygwin's dll" forward, it has to be something in
> threads.
> 
> Going the other way, what I tried is using gdb trying to look at what breaks the
> program.  The worst part is that under gdb they run fine many times, then break
> (with the debug library).
>
> Yet another approach could be to do the porting of the newer 3.x/4.x version.

Same story with 3.3.5, but it's still hard-masked unstable on Gentoo, so
I'm holding it back (at least until I see how KDE 3.5 works with it).
Qt4 is totally different and incompatible with qt3 (but will be parallel
installable, once I get working on it).  Let's get this working first,
though.


Yaakov
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFD4sdZpiWmPGlmQSMRApURAKC4SeiVPZJFe9Fbg3U9MjBvl5jDTgCfX9NI
sIjdGmnQKbGmTS5nwhAklVo=
=NNJm
-----END PGP SIGNATURE-----

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]