Community
Participate
Working Groups
The zOS manual build of the piAgent and RAC fails on the initial c89 compile (although the master build is still working). The initial compile ends with no output and just the make message: "make[1]: *** [framework/RACommon/RAComm.o] Killed". When running c89 directly (ie: same environment but outside of make), the compile exits with a return code of 137 (ENOTTY if that's an errno). This hit a couple of developers in the past two weeks but just hit the build team this afternoon (it had been working for them this morning). It can be reproduced in a CVS snapshot that had previously built successfully suggesting that the problem is environmental. The owner of the underlying build environment (upon which the TPTP zOS build depends) is looking into it now. The actual failing compile in the make is as follows: Compile framework/RACommon/RAComm.c c89 -W c,SO,SSCOMM,NOSEARCH,CSECT -W c,NOLOCALE,LANGLVL\(EXTENDED\) -W c,RENT,LONGNAME -W c,DLL,EXPORTALL -W c,TARGET\(OSV2R10\),XPL INK -O - D_OPEN_SYS -DENW -D_XOPEN_SOURCE_EXTENDED=1 -DSQLUNIX=1 -DMVS=1 - D_OPEN_THREADS -D_ALL_SOURCE -I./framework/HCLauncher - I. /framework/RABindings -I./framework/RACommon -I./framework/RADataTransfer - I./framework/RAServer -I./framework/RAServerConfig -I./fr amework/RAServerTypes -I./framework/RASharedMemory -I./framework/RASocket - I./../cbe/cImpl -I../../depends/java/include -I../../depe nds/java/include/os390 -I../../depends/xercesc/include -c framework/RACommon/RAComm.c -o framework/RACommon/RAComm.o make[1]: *** [framework/RACommon/RAComm.o] Killed make: *** [all] Error 2
The cause of and fix for the problem has been identified. Because of system changes made to /sys.profile on our zOS build machine a couple of weeks ago, it's now necessary to explicitly specify the name of the compiler driver in the TPTP build setup script. Specifically, the bin/configure-environment.sf script needs to be changed to add the following to the "# Compiler" section: export _C89_CNAME="CBCDRVR" export _CC_CNAME="CBCDRVR" export _CXX_CNAME="CBCDRVR" The rationale for the change is as follows: The system changes to /sys.profile a couple of weeks ago had explicitly specified the compiler driver name to be CCNDRVR (suitable for the zOS 1.6 compiler) but this was incompatbile with the earlier OS390 V2R10 compiler which has a compiler driver named CBCDRVR and which fails if run under CCNDRVR. Therefore, the TPTP setup script (which explicitly steplibs to the V2R10 compiler for historical/compatability reasons) must be changed to explicitly define/override the compiler driver name back to CBCDRVR.
The fix was made to configure-environment.sf 09/29/2005 11:25am (under module org.eclipse.hyades.releng.builder).
Verified using TPTP-4.1.0-200510031701 build.