Bug 680 - TAO build for VxWorks under NT workstation 4.0: cc1plus.exe crashes during compilation of object.cpp, modified description please use this one!
Summary: TAO build for VxWorks under NT workstation 4.0: cc1plus.exe crashes during co...
Status: RESOLVED
Alias: None
Product: TAO
Classification: Unclassified
Component: ORB (show other bugs)
Version: 1.1
Hardware: x86 Windows NT
: P3 critical
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2000-09-28 14:30 CDT by Jaffar
Modified: 2000-09-28 14:38 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaffar 2000-09-28 14:30:56 CDT
TAO VERSION: 1.1
ACE VERSION: 5.1

HOST MACHINE and OPERATING SYSTEM: Host Machine Intel Pentium 266 MHz. NT 4.0 
SP 5
TARGET MACHINE and OPERATING SYSTEM, if different from HOST: Target CPU PPC860, 
OS VxWorks
COMPILER NAME AND VERSION (AND PATCHLEVEL): Using Cygwin Make (3.75) and built 
through Cygwin Bash shell. The Tornado II make is not used

AREA/CLASS/EXAMPLE AFFECTED:
TAO could not be built.

DOES THE PROBLEM AFFECT:
   COMPILATION?
   Yes, it does affect compilation problem,
   Here is the content of the Config.h
	#if defined (_MSC_VER) || (__BORLANDC__)
		#include "ace/config-win32.h"
		#undef ACE_HAS_EXCEPTIONS
	#else
		#include "ace/config-vxworks5.x.h"
		#define ACE_HAS_IP_MULTICAST 
	#endif

	The platform_macros.GNU has
		WIND_BASE = /tornado
		WIND_HOST_TYPE = x86-win32
		include 
$(ACE_ROOT)/include/makeinclude/platform_vxworks5.x_g++.GNU
	I did not include CPU=I80486 because my environment variable declared 
in 
	NT already has CPU=PPC860 value in it.

	
        LINKING?
            Not Applicable
        EXECUTION?
		No
        OTHER (please specify)?

    SYNOPSIS:
		During TAO build for VxWorks and PPC860, cc1plus.exe crashes.

    DESCRIPTION:

During TAO build under NT using Cygwin Bash shell, the cc1plus.exe crashes. 
This is specific to when I use just the make command for complete TAO build but 
if I use $make minimum_corba=1 then I could build libTAO.a I could build 
complete libACE.a as well.

But during TAO building cc1plus.exe crashes while compiling Object.cpp The 
error is with compile options is as follows,
--------------------------
ccppc -fno-implicit-templates -B/tornado/host/x86-win32/lib/gcc-lib/powerpc-wrs-
vxworks/cygnus-2.7.2-960126/ -DCPU=PPC860 -mcpu=860 -DACE_VXWORKS=0x540 -Wno-uni
nitialized -D_REENTRANT -ansi -fno-builtin -fno-defer-pop -fvolatile -nostdinc -
nostdlib  -W -Wall -O -g -fno-rtti -DACE_LACKS_RTTI   -fno-exceptions -fcheck-ne
w  -I/tornado/target/h -I/Corba/ACE_wrappers -DTAO_HAS_AMI=0 -DTAO_HAS_AMI_POLLE
R=0 -DTAO_HAS_AMI_CALLBACK=0 -DTAO_HAS_RT_CORBA=1 -DTAO_HAS_CORBA_MESSAGING=1
 -I/Corba/ACE_wrappers/TAO  -c  -o .obj/Object.o Object.cpp
ccppc: Internal compiler error: program cc1plus got fatal signal 125
make: *** [.obj/Object.o] Error 1
--------------------------

My environment variables are as follows,
CPU=PPC860
LD_LIBRARY_PATH=
SHELL=/bin/sh.exe

ACE_ROOT= /Corba/ACE_wrappers 
WIND_BASE=/tornado
SHELL=/bin/sh.exe
TERM=pcbios
TAO_ROOT=/Corba/ACE_wrapper/Tao
CPP_LOCATION=/Program Files/Microsoft Visual Studio/VC98/Bin/CL.exe
GCC_EXEC_PREFIX=/tornado/host/x86-win32/lib/gcc-lib/
WIND_HOST_TYPE=x86-win32
PERL_PATH=/perl/bin/perl.exe

And my PATH has following information

C:\Perl\bin\;
C:\tornado\host\x86-win32\bin;
C:\tornado\host\x86-win32\powerpc-wrs-vxworks\bin;
C:\tornado\host\x86-win32\lib\gcc-lib\powerpc-wrs-vxworks\cygnus-2.7.2-960126;
C:\Corba\Ace_wrappers\bin;
C:\Cygwin\bin;
C:\Cygwin\usr\bin;
C:\bin

my bin directory has following executables and dll
Ace.dll, gperf.exe, Cygwin1.dll, perl.exe,      	
rm.exe, sh.exe, true		

REPEAT BY:

SAMPLE FIX/WORKAROUND:
I tried $make minimum_corba=1 and that builds full libTAO.a but I cannot build 
the full TAO.
Comment 1 levine 2000-09-28 14:38:16 CDT
TAO 1.1 doesn't build on VxWorks, please try the latest beta (1.1.9),
or wait for the next beta (early next week?).