|
From: | Jim Way |
Subject: | [Bug-gplusplus] The compiler gets a fatal signal. |
Date: | Thu, 14 Sep 2000 10:47:30 -0700 |
This is my first time reporting a problem. If I've done it wrong, please correct me gently. PROBLEM: The compiler gets a fatal signal (STATUS_ACCESS_VIOLATION). COMPILATION: ccppc -O2 -mcpu=860 -ansi -nostdinc -DRW_MULTI_THREAD -D_REENTRANT -fvolatile -fno-builtin -fno-for-scope -ID:\Tornado2\target\proj\Tomahawk\Tomahawk_romCompress -ID:\Tornado2\targ et\config\tomahawk -ID:\Tornado2\target\h -DSTANDALONE -ID:\Tornado2\target\config\comps\s rc -ID:\Tornado2\target\src\drv -DCPU=PPC860 -DPRJ_BUILD -DVX_WORKS_ENVIRONMENT -fsigned-c har -ID:\Work\Tomahawk -c D:\work\Tomahawk\ShowBug.cpp (D:\Tornado2\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-960 126\cc1plus.ex e 1000) Exception: STATUS_ACCESS_VIOLATION (D:\Tornado2\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-960 126\cc1plus.ex e 1000) Dumping stack trace to cc1plus.exe.core ccppc: Internal compiler error: program cc1plus got fatal signal 0 make: *** [ShowBug.o] Error 0x1 Done. VERSION: gcc 2.7.2 provided with WindRiver Tornado II / VxWorks 5.4 PLATFORM: Windows NT 4.0 SP 6, crosscompiling for Motorola PPC860T processor. FILES ATTACHED: ShowBug.cpp tomahawk.h CString.h (all other include files seem to be compiler includes, but I can provide if needed.) cc1plus.exe.core is the "stack trace" from the compiler execution. OTHER COMMENTS: 1. The offending line is the third from the bottom, where pMsg = new CMvcMessage.... If this is commented out, the compile occurs successfully. 2. If -O0 is used instead of -O2, the compile occurs successfully. 3. Microsoft VC++ 6.0 compiles successfully (probably not a helpful factoid). 4. I've tried with and without explicit casts, with and without the fourth parameter. No change. Please let me know if there is anything further I can do to assist you. If this would be better handled by WindRiver, please let me know and I will attempt to find a responsible person there. Thanks! Jim ----------------------------------------- Jim Way, Software Engineer Datum Austin (Austron Inc.) voice: 512.721.4170 fax : 512.990.9712 email: jwayATdatumDOTcom (no spam please) -----------------------------------------
ShowBug.cpp
Description: Binary data
tomahawk.h
Description: Binary data
CString.h
Description: Binary data
cc1plus.exe.core
Description: Binary data
[Prev in Thread] | Current Thread | [Next in Thread] |