Le 17/08/2014 23:46, Timothy Pearson a �crit : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA224 > >> Hello, I'm currently building TDE 3.5.13.2 for openbsd. >> I've managed to build tdelibs, but it looks like I have problems at >> runtime. >> >> Every binary that is linked to "libkdecore.so.4.2" crashes at exit time. >> For example, I can run the "kde-config" command and get the expected >> result in the terminal, but it always gives an "abort" instead of >> quitting gracefully. >> Same behaviour with "meinproc", or "makekdewidgets" among others ... >> Other programs not using libkdecore, such as the "dcop*" commands, have >> no problem. >> Pure QT3 binaries (such as QT3 designer) have no problems. Arts-related >> programs have no problem. >> >> Here are some GDB backtraces. The crash occurs in different location >> every time, but is always "abort". >> Everything is built with debug symbols. >> >> Any help would be appreciated. > Looks like those crashes are all related to the mutex destructors. Is > there any chance you can try to build a more modern version of TDE such as > 3.5.13.2 or, even better, R14 from GIT? The mutexes received much needed > fixes during the R14 cycle. > > Thanks! > > Tim > After a few testing, a short answer: TQT3 will not build under openbsd ... See output below: --- This is the Qt/X11 Open Source Edition. You are licensed to use this software under the terms of the GNU General Public License (GPL) versions 2 or 3. Creating qmake. Please wait... g++ -c -o qstring.o -pipe -O2 -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -I/usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/include/qmake -I/usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/include -I/usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/mkspecs/openbsd-g++ -DHAVE_QCONFIG_CPP /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp: In destructor 'TQStringData::~TQStringData()': /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp:1079: error: 'LINUX_MEMLOCK_LIMIT_BYTES' was not declared in this scope /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp:1079: error: 'munlock' was not declared in this scope /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp: In member function 'void TQString::setSecurityUnPaged(bool)': /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp:5957: error: 'LINUX_MEMLOCK_LIMIT_BYTES' was not declared in this scope /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp:5957: error: 'munlock' was not declared in this scope /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp:5963: error: 'LINUX_MEMLOCK_LIMIT_BYTES' was not declared in this scope /usr/ports/pobj/tqt3-3.5.0/trinity-tqt3-14.0.0~pre203+85e2ff9c/src/tools/qstring.cpp:5963: error: 'mlock' was not declared in this scope Makefile:99: recipe for target 'qstring.o' failed gmake: *** [qstring.o] Error 1 qmake failed to build. Aborting. --- Francois