Hello David, This is just for your information. Thanks for your mail.
I've successfully compiled Xalan with -AA switch in HP-UX. The problem is due to debug option enabled. i.e when i turn debug option (-g) ON, it disables the optiomization, so it causes the error at that 2 .cpp files. Either we need to pass -O to that .cpp files or diable debug option. So i tried by disabling debug option during configure itself. Now it works fine. Thanks and Regards, -kanchana > > > > > Hi, > > Our version of aCC is: > > aCC: HP ANSI C++ B3910B A.03.37 > > I just built the latest CVS code without any problems using the AA option, > but I'm not using the debug flag. This might be a compiler bug, or just a > limitation on the symbol length of the compiler when debug is enabled. You > might try building those two files without debug to see what happens. > > I'm not sure why you need debug symbols for the entire library, but that > can result in a _very_ large library. I usually build a select group of > modules with symbols, if I'm going to debug something. > > Dave > > > > > "[EMAIL PROTECTED]" > <pkkanchana To: <[email protected]> > cc: > 10/09/2003 09:30 Subject: Reg Xalan compilation error with -AA switch in hpux > PM > > > > > Hello all, > > Xerces is built with -AA switch with aCC as > ./runConfigure -p hp-11 -c cc -x aCC -r pthread -d -b 32 -l -AA -z -AA > (Because -AA is not default for PA-aCC) > > FYI, aCC - 3.37.01 on HP-UX 11.11 > > Stastus -> build & test - success > > While trying Xalan, with > # ./runConfigure -p hp-11 -c cc -x aCC -r pthread -d -b 32 -l -AA -z -AA > Note: i passed -l & -z as -AA (as xerces build with -AA switch, need to > link ) > #gmake > : > : > while compiling "XPathEnvSupportDefault.cpp" .....and "KeyTable.cpp" > Error occurs as > > Error 849: Exact position unknown; near > > ["/disk1/release2/xalanc/1.6/Source/xml-xalan/c/src/xalanc/XPath/XPathEnvSup > > portDefault.cpp", line 115]. # External > symbol too long, truncated from 4012 to 4000 bytes, > > __ne__4__rwXTQ2_3std4pairXTCQ2_10xalanc_1_614XalanDOMStringTQ2_3std3mapXTQ2_ > > 10xalanc_1_614XalanDOMStringTPCQ2_10xalanc_1 > _68Funct... > > .. > > How to do? any idea? > > Thanks and Regards, > -kanchana > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003 > > > --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.522 / Virus Database: 320 - Release Date: 9/29/2003
