This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Problems loading gcc-compiled Qt/OpenGL program under IRIX
- To: gcc at gcc dot gnu dot org, qt-interest at trolltech dot com
- Subject: Problems loading gcc-compiled Qt/OpenGL program under IRIX
- From: Markus Svensén <svensen at cns dot mpg dot de>
- Date: Mon, 06 Aug 2001 12:22:20 +0200
- Newsgroups: comp.graphics.api.opengl,comp.sys.sgi.graphics
- Organization: http://www.cns.mpg.de/
Hello
I'm working on the development of a Qt/OpenGL software, primarily
intended for Linux, but with some hopes also for an Irix-port.
On Linux, it works fine, but on Irix it core dumps, giving various
excuses such as segmentation fault, illegal instruction ... In both
cases I'm using gcc 2.95.2. Since not a single instruction of my code
appears to be executed I've been trying to trace the loading process.
It gets to the point where rld.debug says:
2759976: 09:09:53 vm: call_init: calling initialization code of "vm" --
0x100a6f38 base aout marrk 1
2759976: 09:09:53 vm: execute_all_init_sections: finished running inits
Segmentation fault (core dumped)
I've checked other Qt/OpenGL programs that work, and there the loading
process instead continues as follows:
2706057: 12:14:24 example: call_init: calling initialization code of
"example" -- 0x10013568 base aout marrk 1
2706057: 12:14:24 example: execute_all_init_sections: finished running
inits
2706057: 12:14:24 example: dlopening -------- libGL.so mode 0x1 version
(null) l_flags 0x0 category 0x1 LIBDL_DLOPEN
2706057: 12:14:24 example: reference_count for /usr/lib32/libGL.so is 1
category 1
2706057: 12:14:24 example: do_dlopen_dependencies ref count for ...
I've been trying various compilation and loading flags, but this has
only resulted in different error messages before the core dump.
Any ideas, anyone?
Thanks
Markus Svensen
Max-Planck-Institute Email: svensen@cns.mpg.de
of Cognitive Neuroscience Phone: +49/0-341-9940 229
Postfach 500 355 Fax (not personal):
D-04303 LEIPZIG +49/0-341-9940 221
GERMANY