1. 程式人生 > >eXtremeDB compiling error based on vxworks ppcgnu

eXtremeDB compiling error based on vxworks ppcgnu

I still got the compiling errors as follows: 
1, with ppc603gnu compiler and simnt compiler: 
ccppc -DHAS_STDINT=0 -D_VXWORKS=55 -DMCO_CONFIG_OVERRIDE_WCHAR -DMCO_CFG_CHECKLEVEL_1 -DMC 
O_CFG_CHECKLEVEL_2 -DMCO_CFG_CHECKLEVEL_3 -DMCO_CFG_CHECKLEVEL_PIN -DMCO_CONFIG_OVERRIDE_C 
HECKLEVEL -DMCO_DEBUG_DISK_CACHE -DMCO_CFG_USE_DIRECT_POINTERS -I.. -I..\..\..\include -I. 

.\..\..\target\include -g -mcpu=603 -mstrict-align -ansi -fno-builtin -I. -IC:\vx55t22\tar
get\h\ -DCPU=PPC603 -DTOOL_FAMILY=gnu -DTOOL=gnu -O2 -c ..\utils.cpp 
..\..\..\target\include\runtime.h: In method `class McoSql::Value * McoSql::ScalarArray<sh 
ort unsigned int>::createValue(short unsigned int)': 

..\..\..\target\include\runtime.h:250: instantiated from `McoSql::ScalarArray<short unsi 
gned int>::getCopyAt(unsigned int)' 
..\..\..\target\include\runtime.h:29: instantiated from here 
..\..\..\target\include\runtime.h:128: Internal compiler error. 
..\..\..\target\include\runtime.h:128: Internal compiler error: 

..\..\..\target\include\runtime.h:128: Please submit a full bug report. 

make: *** [utils.o] Error 0x1 

The error is solved by contacting windriver engineer and updating the ppcgnu and simntgnu. 

Besides,


Indeed compiling with -g -O0 the compiler crash.

But compiling with optimisation and debug -g -O2 the build working without any problem. Please let me know if you've any problem compiling with optimisation?