Article View: gnu.gcc.help
Article #51395Strange compile problems using DJGPP's gnu++ and DV/X
From: Michael J. Findler
Date: Fri, 28 May 1993 14:38
Date: Fri, 28 May 1993 14:38
49 lines
2476 bytes
2476 bytes
I am having a really strange problem using DJGPP's gnu++ compiler and DV/X.
I am porting a program from an SGI x-window program that I wrote from
scratch. When I try to compile the *exact* same code multiple times, it
will compile and link but will run to completion only itermittantly. Attached
is a .log file of ten make sessions (using qmake). The file was made
successfully every time, but died at different locations on each run. The
makes were done one after the next without any intervening calls. The
.log file was edited for space.
Any suggestions on why this could be happening?
thanks in advance,
mike
//////////////////////////////////////////////////////
////////// first attempt (and 3rd, 5th-9th)
gcc @response.fil -lmrm -lxm -lxt -lxext -lxmu -lx -lsys -lpc -lc -lm -o menu
strip menu
aout2exe menu
menu
Main::app_context 4386820
Main::Toplevel 0x438404
Segmentation violation in pointer 0x00000fff at 40:b45f9
Exception 14 (0xe) at eip=b45f9
E:\DJGPP\BIN\QMAKE.EXE: Error code 1
E:\DJGPP\BIN\QMAKE.EXE: 'menu.exe' removed.
////////// second attempt (and 10th)
gcc @response.fil -lmrm -lxm -lxt -lxext -lxmu -lx -lsys -lpc -lc -lm -o menu
strip menu
aout2exe menu
menu
XIO: fatal IO error 38 (unknown error) on X server ":0.0"
after 2 requests (0 known processed) with 0 events remaining
////////// fourth attempt
gcc @response.fil -lmrm -lxm -lxt -lxext -lxmu -lx -lsys -lpc -lc -lm -o menu
strip menu
aout2exe menu
menu
Main::app_context 4386820
Main::Toplevel 0x438404
Main::MainWindow 0x448404
Segmentation violation in pointer 0x00000005 at 40:78155
Exception 14 (0xe) at eip=78155
E:\DJGPP\BIN\QMAKE.EXE: Error code 1
E:\DJGPP\BIN\QMAKE.EXE: 'menu.exe' removed.
Technical Details
Message-ID:
<1993May28.143802.26880@ennews.eas.asu.edu>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!asuvax!ennews!enuxha.eas.asu.edu!mfindlerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,2429c007fdf10804,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-05-28 08:02:41 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!gatech!asuvax!ennews!enuxha.eas.asu.edu!mfindler From: mfindler@enuxha.eas.asu.edu (Michael J. Findler) Subject: Strange compile problems using DJGPP's gnu++ and DV/X Message-ID: <1993May28.143802.26880@ennews.eas.asu.edu> Keywords: random compiler errors Sender: news@ennews.eas.asu.edu (USENET News System) Organization: Arizona State University Date: Fri, 28 May 1993 14:38:02 GMT Lines: 52