Xref: news2.mv.net comp.os.linux.development.apps:20399 comp.os.msdos.djgpp:6842 From: broeker AT I_should_put_my_domain_in_etc_NNTP_INEWS_DOMAIN (Hans-Bernhard Broeker) Newsgroups: comp.os.msdos.djgpp,comp.os.linux.development.apps Subject: Re: Librgx and g++ apps segfault under Linux Followup-To: comp.os.msdos.djgpp,comp.os.linux.development.apps Date: 5 Aug 1996 12:44:38 GMT Organization: I need to put my ORGANIZATION here. Lines: 16 Message-ID: <4u4qbm$8rn@news.rwth-aachen.de> References: NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Ed Doolittle (dolittle AT weniac DOT math DOT toronto DOT edu) wrote: > I've been writing some basic graphics programs under Linux 2.0 using > g++ and libgrx (the Linux port of the djgpp graphics library). [...] > Furthermore, the example program cliptest from the Grx package > compiled with gcc works fine, but when compiled with g++ it > segfaults on exit, which leads me to believe that there is a problem > in the interaction between libgrx and g++. Could well be that bad, but well known bug of g++ (and only g++, not gcc) not correctly handling packed structures. To get closer to it, could you (Ed Doolittle, that is) please debug the programs at least to that extent that you find out what kind of instructions are actually crashing? Hans-Bernhard Broeker (Aachen, Germany)