This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
egcs 1.1b Bug - Howto?
- To: egcs at cygnus dot com
- Subject: egcs 1.1b Bug - Howto?
- From: Markus Klink <markus at wotan dot econ dot surrey dot ac dot uk>
- Date: Wed, 18 Nov 1998 11:48:26 +0000
- Organization: University of Surrey
Deat "List",
I am currently writing on a program which uses quite a lot of libraries
and now I have to suspect a compiler bug in egcs 1.1b. The problem is
that I get a segmentation fault in after or while leaving main(). So far
I have found that the crucial part has something to do with a variable
definition. If I define it in main, thumbs up, everything is ok.
If I define it in a subroutine main crashes later on? How can I debug
this situation better, or is it best to upgrade to egcs1.1.1?
BTW, the behaviour is exactly the same on a Linux and a Sun 2.5 egcs
1.1b. One of the libraries I use is mysqlclient, but I do not know about
particular problems with mysql and egcs.
Can you point me in the right direction?
Markus
--
Markus Klink
Department of Economics
University of Surrey
email: markus@wotan.econ.surrey.ac.uk
http://wotan.econ.surrey.ac.uk/~markus