You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by ushanair <km...@gmail.com> on 2011/12/16 10:23:31 UTC

Xalan 1.10 - Illegal Instruction Error

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!!

thanks in advance,

Regards,
Usha
-- 
View this message in context: http://old.nabble.com/Xalan-1.10---Illegal-Instruction--Error-tp32986467p32986467.html
Sent from the Xalan - C - Users mailing list archive at Nabble.com.


Re: Xalan 1.10 - Illegal Instruction Error

Posted by David Bertoni <db...@apache.org>.
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