On 12/16/2011 1:23 AM, ushanair wrote:

Hi,

While building xalan-c 1.10 on Hp(pa-risc,32 bit) platform, Im getting the
error as:

g++ -milp32 -g  -D_REENTRANT  -milp32   -fno-elide-constructors -milp32
-milp32     -Wl,+s -DXALAN_INMEM_MSG_LOADER   \

-L/netapp-home/urani/lmadmin/pymake/lmadmin/3rdparty/xerces-c/2.8.0/lib
-lxerces-c ../../../../obj/MsgFileOutputStream.o
../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o
../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o
../../../../obj/SAX2Handler.o
-L/netapp-home/urani/lmadmin/pymake/lmadmin/3rdparty/xerces-c/2.8.0/lib
-lxerces-c  -o ../../../../bin/MsgCreator
gmake[3]: Leaving directory
`/netapp-home/urani/lmadmin/pymake/lmadmin/3rdparty/xalan-c/1.10.0/src/xalanc/Utils/MsgCreator'
../../../bin/MsgCreator
/netapp-home/urani/lmadmin/pymake/lmadmin/3rdparty/xalan-c/1.10.0/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf
-TYPE inmem -LOCALE en_US
gmake[2]: *** [../../../nls/include/LocalMsgData.hpp] Illegal Instruction
(core dumped)

g++ version: 3.4.4
platform: PA-RISC: 32bit.

Please help!!
This is likely a code generation bug with the GCC compiler. I've never been able to get a working build with GCC on either HP PA-RISC or Itanium. You might try disabling optimizations using -O0 or switch to the HP compilers.

Dave

Reply via email to