View Issue Details

IDProjectCategoryView StatusLast Update
0000473GCC - GNU C CompilerBugpublic2020-08-24 03:14
Reporterkenbb Assigned Topsmedley  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformAMD Athlon 64OSOS/2OS Version4.50
Summary0000473: 4.5.2 crash in cc1plus when compiling wxOS2 2.8.12
DescriptionP:/wxOS2-2.8.12/build/klb/bk-deps g++ -c -o basedll_appbase.o -I./.pch/wxprec_ba
sedll -D__WXPM__ -DWXBUILDING -I../../src/tiff -I../../src/jpeg -I../../src/
png -I../../src/zlib -I../../src/expat/lib -DwxUSE_GUI=0 -DWXMAKINGDLL_BASE -D
wxUSE_BASE=1 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -IP:/wxOS2-2.8.12/build/klb/
lib/wx/include/os2-ansi-release-2.8 -I../../include -DWX_PRECOMP -Zomf -Zmt -D__
ST_MT_ERRNO__ -Wall -Wundef -Wno-ctor-dtor-privacy -O2 ../../src/common/appbase.
cpp

Killed by SIGSEGV
pid=0xd7bd ppid=0xd7bc tid=0x0001 slot=0x0044 pri=0x0200 mc=0x0001
P:\OS2LINUX\USR\LOCAL452\LIBEXEC\GCC\I386-PC-OS2-EMX\4.5.2\CC1PLUS.EXE
CC1PLUS 0:002e633b
cs:eip=005b:002f633b ss:esp=0053:00a4f63c ebp=00a4f648
 ds=0053 es=0053 fs=150b gs=0000 efl=00012202
eax=0742384e ebx=008d4fe0 ecx=00587c96 edx=00587c96 edi=00587c96 esi=0000005f
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <http://gcc.gnu.org/bugs.html> for instructions.
make: *** [basedll_appbase.o] Error 1
Steps To ReproduceRun configure, update Makefile, CXX=g++ instead of gcc then run make.
Had just installed 4.5.2 and the fix (cc1 and cc1plus). Copied cc1.exe --> cc1 and cc1plus.exe --> cc1plus. Unable to exec cc1 or cc1plus until the copy was done.
TagsNo tags attached.

Activities

psmedley

2011-04-25 09:39

administrator   ~0001908

You probably need to disable PCH support as it's currently broken in GCC 4.x for OS/2

psmedley

2011-04-25 12:24

administrator   ~0001910

Works for me when compiled with precompiled headers disabled, ie:

[U:\DEV\wxos2-2.8.12\build\os2]ash ../../configure --prefix=/wxos2 --disable-precomp-headers

psmedley

2011-12-31 08:30

administrator   ~0002107

Works for me

Issue History

Date Modified Username Field Change
2011-04-25 01:50 kenbb New Issue
2011-04-25 09:39 psmedley Note Added: 0001908
2011-04-25 12:24 psmedley Note Added: 0001910
2011-12-31 08:30 psmedley Note Added: 0002107
2011-12-31 08:30 psmedley Status new => resolved
2011-12-31 08:30 psmedley Resolution open => no change required
2011-12-31 08:30 psmedley Assigned To => psmedley
2020-08-24 03:14 psmedley Status resolved => closed